mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Some documentation for reference-to-paragraph
This commit is contained in:
parent
1c5fd2ea4e
commit
01ab4c151e
@ -9646,12 +9646,14 @@ Verbatim
|
||||
\end_layout
|
||||
|
||||
\begin_layout Verbatim
|
||||
|
||||
This is Verbatim.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Verbatim
|
||||
\noindent
|
||||
\align block
|
||||
|
||||
The following 2 lines are empty:
|
||||
\end_layout
|
||||
|
||||
@ -9664,6 +9666,7 @@ The following 2 lines are empty:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Verbatim
|
||||
|
||||
Almost everything is allowed in Verbatim:"%&$§#~'`
|
||||
\backslash
|
||||
}][{|
|
||||
@ -9687,6 +9690,7 @@ Verbatim
|
||||
\end_layout
|
||||
|
||||
\begin_layout Verbatim*
|
||||
|
||||
This is Verbatim*.
|
||||
\end_layout
|
||||
|
||||
@ -31082,11 +31086,30 @@ name "sec:Cross-References"
|
||||
\begin_layout Standard
|
||||
One of \SpecialChar LyX
|
||||
's strengths is cross-references.
|
||||
You can reference every section,
|
||||
You can reference every
|
||||
\change_inserted -712698321 1723183496
|
||||
thing in the document that has a counter
|
||||
\change_unchanged
|
||||
|
||||
\change_inserted -712698321 1723183501
|
||||
(e.
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
g.,
|
||||
|
||||
\change_unchanged
|
||||
section,
|
||||
float,
|
||||
footnote,
|
||||
formula,
|
||||
and list in the document.
|
||||
and list
|
||||
\change_inserted -712698321 1723183507
|
||||
)
|
||||
\change_deleted -712698321 1723183511
|
||||
in the document
|
||||
\change_unchanged
|
||||
.
|
||||
To reference a document part,
|
||||
you have to insert a label into it.
|
||||
The label is used as an anchor and a name for the reference.
|
||||
@ -31222,16 +31245,79 @@ enu:Second-item
|
||||
|
||||
.
|
||||
At the position of the cross-reference box the item number will appear in the output.
|
||||
\change_inserted -712698321 1723183607
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
As an alternative to
|
||||
|
||||
\change_inserted -712698321 1723185545
|
||||
For section headings,
|
||||
footnotes,
|
||||
table and figure floats,
|
||||
this procedure can be simplified by using the outliner (see section
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset CommandInset ref
|
||||
LatexCommand ref
|
||||
reference "subsec:The-Outliner"
|
||||
|
||||
\end_inset
|
||||
|
||||
).
|
||||
To insert a reference,
|
||||
simply right-click on the item you want to refer to,
|
||||
select
|
||||
\family sans
|
||||
Insert Cross-Reference to this Item
|
||||
\family default
|
||||
and the desired cross-reference format (see below for those) in the context menu.
|
||||
\SpecialChar LyX
|
||||
will check if the item already has a label and if not,
|
||||
creates one before inserting the reference.
|
||||
So all of the above boils down to two clicks!
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\change_deleted -712698321 1723184542
|
||||
A
|
||||
\change_inserted -712698321 1723184543
|
||||
Other
|
||||
\change_deleted -712698321 1723184013
|
||||
s an
|
||||
\change_unchanged
|
||||
alternative
|
||||
\change_inserted -712698321 1723184545
|
||||
s
|
||||
\change_unchanged
|
||||
to
|
||||
\family sans
|
||||
Insert\SpecialChar menuseparator
|
||||
Cross-Reference
|
||||
\change_inserted -712698321 1723184603
|
||||
|
||||
\family default
|
||||
which work for all item types (but require a label to exist already) are the following:
|
||||
\change_deleted -712698321 1723184051
|
||||
,
|
||||
you can right-click on a label and in the popup menu select
|
||||
you can
|
||||
\change_inserted -712698321 1723184553
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
|
||||
\change_deleted -712698321 1723184557
|
||||
|
||||
\change_inserted -712698321 1723184638
|
||||
R
|
||||
\change_deleted -712698321 1723184638
|
||||
r
|
||||
\change_unchanged
|
||||
ight-click on a label and in the popup menu select
|
||||
\family sans
|
||||
Copy as Reference
|
||||
\family default
|
||||
@ -31248,10 +31334,45 @@ arg "paste"
|
||||
\end_inset
|
||||
|
||||
).
|
||||
\change_inserted -712698321 1723184640
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
|
||||
\change_inserted -712698321 1723184714
|
||||
In the outliner,
|
||||
section
|
||||
\family sans
|
||||
Labels and Cross-References
|
||||
\family default
|
||||
,
|
||||
right-click on the label you want to refer to and select
|
||||
\family sans
|
||||
Insert Reference at Cursor Position
|
||||
\family default
|
||||
from the context menu.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Here is our cross-reference:
|
||||
|
||||
\change_inserted -712698321 1723184132
|
||||
Whatever approach you take,
|
||||
|
||||
\change_deleted -712698321 1723184093
|
||||
H
|
||||
\change_inserted -712698321 1723184094
|
||||
h
|
||||
\change_unchanged
|
||||
ere is
|
||||
\change_inserted -712698321 1723184100
|
||||
how
|
||||
\change_unchanged
|
||||
our cross-reference
|
||||
\change_inserted -712698321 1723185807
|
||||
ultimately comes out
|
||||
\change_unchanged
|
||||
:
|
||||
Item
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
@ -9302,10 +9302,12 @@ Unformatiert
|
||||
\end_layout
|
||||
|
||||
\begin_layout Verbatim
|
||||
|
||||
Dies ist Unformatiert.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Verbatim
|
||||
|
||||
Die folgenden 2 Zeilen sind leer:
|
||||
\end_layout
|
||||
|
||||
@ -9318,6 +9320,7 @@ Die folgenden 2 Zeilen sind leer:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Verbatim
|
||||
|
||||
Fast alles ist in Unformatiert erlaubt:"%&$§#~'`
|
||||
\backslash
|
||||
}][{|
|
||||
@ -9343,6 +9346,7 @@ Unformatiert
|
||||
\end_layout
|
||||
|
||||
\begin_layout Verbatim*
|
||||
|
||||
Dies ist Unformatiert*.
|
||||
\end_layout
|
||||
|
||||
@ -30264,10 +30268,12 @@ name "sec:Querverweise"
|
||||
\begin_layout Standard
|
||||
Eine von \SpecialChar LyX
|
||||
’ Stärken sind Querverweise.
|
||||
Sie können auf jeden Abschnitt,
|
||||
jedes Gleitobjekt,
|
||||
jede Fußnote,
|
||||
Formel und Liste im Dokument referenzieren.
|
||||
Sie können auf jeden alles im Dokument verweisen,
|
||||
was einen Zähler hat (Kapitel\SpecialChar breakableslash
|
||||
Abschnitte,
|
||||
Gleitobjekte,
|
||||
Fußnote,
|
||||
Formel und Listen).
|
||||
Für eine Referenz müssen Sie zuerst eine Marke in den zu referenzieren Teil einfügen.
|
||||
Die Marke dient als Anker und Name für die Referenz.
|
||||
Angenommen Sie wollen den zweiten Eintrag der folgenden Liste referenzieren:
|
||||
@ -30394,16 +30400,52 @@ Format
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Alternativ zu
|
||||
Für Kapitel\SpecialChar breakableslash
|
||||
Abschnitte,
|
||||
Fußnoten,
|
||||
Tabellen- und Abbildungsgleitobjekte geht das Ganze auch noch einfacher,
|
||||
wenn Sie die Gliederungsansicht (siehe Abschnitt
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset CommandInset ref
|
||||
LatexCommand ref
|
||||
reference "subsec:Gliederung"
|
||||
|
||||
\end_inset
|
||||
|
||||
) verwenden.
|
||||
Um einen Querverweis einzufügen,
|
||||
klicken Sie dort einfach mit der rechten Maustaste auf den Eintrag,
|
||||
auf den Sie verweisen wollen,
|
||||
wählen dann Querverweis auf diesen Eintrag einfügen und den gewünschten Querverweisstil (s.
|
||||
dazu unten) aus dem Kontextmenü.
|
||||
\SpecialChar LyX
|
||||
prüft,
|
||||
ob eine entsprechende Marke vorhanden ist,
|
||||
falls nicht,
|
||||
legt es diese an,
|
||||
bevor es den Querverweis einfügt.
|
||||
Das ganze Prozedere reduziert sich damit auf zwei Klicks!
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Andere Alternativen zu
|
||||
\family sans
|
||||
Einfügen\SpecialChar menuseparator
|
||||
Querverweis
|
||||
\family default
|
||||
können Sie mit rechts auf die Marke klicken und im erscheinenden Kontextmenü
|
||||
,
|
||||
die für alle Eintragstypen funktionieren (so lange ein Label vorhanden ist) sind diese:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
Klicken Sie mit rechts auf die Marke und verwenden Sie dann im erscheinenden Kontextmenü
|
||||
\family sans
|
||||
Als Querverweis kopieren
|
||||
\family default
|
||||
verwenden.
|
||||
.
|
||||
Der Querverweis zu dieser Marke ist nun in der Zwischenablage und kann an der aktuellen Cursorposition mit dem Menü
|
||||
\family sans
|
||||
Bearbeiten\SpecialChar menuseparator
|
||||
@ -30416,8 +30458,24 @@ Ctrl+V
|
||||
) eingefügt werden.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
In der Gliederungsansicht,
|
||||
Abschnitt
|
||||
\family sans
|
||||
Marken und Querverweise
|
||||
\family default
|
||||
,
|
||||
klicken Sie mit rechts auf die Marke,
|
||||
auf die Sie verweisen möchten und wählen dann im Kontextmenü
|
||||
\family sans
|
||||
Verweis an der Cursor-Position einfügen
|
||||
\family default
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Hier ist unser Querverweis:
|
||||
Welche dieser Möglichkeiten Sie auch immer wählen,
|
||||
so sieht unser Querverweis schließlich aus:
|
||||
Eintrag
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
@ -30431,13 +30489,6 @@ nolink "false"
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Newpage newpage
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
Loading…
Reference in New Issue
Block a user