Change reference capitalization and prefix recommendation
This commit is contained in:
parent
386c56903c
commit
23aa0c8ddc
@ -50,10 +50,10 @@ Mit dem Befehl `\ref`:
|
||||
\begin{figure}[H]
|
||||
\includegraphics % …
|
||||
\caption{Unser Maskottchen Fooboar}
|
||||
\label{img:fooboar}
|
||||
\label{fig:fooboar}
|
||||
\end{figure}
|
||||
|
||||
Wie man in Abbildung \ref{img:fooboar} …
|
||||
Wie man in Abbildung \ref{fig:fooboar} …
|
||||
```
|
||||
|
||||
@preview
|
||||
@ -72,11 +72,11 @@ Mit dem Paket `cleveref` (mit *einem* ›r‹!):
|
||||
\begin{figure}[H]
|
||||
\includegraphics % …
|
||||
\caption{Unser Maskottchen Fooboar}
|
||||
\label{img:fooboar}
|
||||
\label{fig:fooboar}
|
||||
\end{figure}
|
||||
|
||||
Fooboar ist ein sehr engagierter
|
||||
Jungeber (siehe \Cref{img:fooboar}).
|
||||
Jungeber (siehe \Cref{fig:fooboar}).
|
||||
```
|
||||
|
||||
Der Befehl `\cref` fügt selbstständig die passende Abkürzung ein.
|
||||
|
||||
@ -53,11 +53,11 @@ Using the `\ref` command:
|
||||
\begin{figure}[H]
|
||||
\includegraphics % …
|
||||
\caption{Our mascot Fooboar}
|
||||
\label{img:fooboar}
|
||||
\label{fig:fooboar}
|
||||
\end{figure}
|
||||
|
||||
As you can see in figure
|
||||
\ref{img:fooboar}, …
|
||||
As you can see in Figure
|
||||
\ref{fig:fooboar}, …
|
||||
```
|
||||
|
||||
@preview
|
||||
@ -105,11 +105,11 @@ Using the `cleveref` package (with *one* ‘r’!):
|
||||
\begin{figure}[H]
|
||||
\includegraphics % …
|
||||
\caption{Our mascot Fooboar}
|
||||
\label{img:fooboar}
|
||||
\label{fig:fooboar}
|
||||
\end{figure}
|
||||
|
||||
Fooboar is a young and highly engaged
|
||||
boar (see \Cref{img:fooboar}).
|
||||
boar (see \Cref{fig:fooboar}).
|
||||
```
|
||||
|
||||
The `\cref` command automatically inserts suitable prefixes.
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 128 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 128 KiB |
@ -15,6 +15,6 @@
|
||||
\label{img:fooboar}
|
||||
\end{figure}
|
||||
|
||||
As you can see in figure \ref{img:fooboar}, fooboar is a young and very engaged boar.
|
||||
As you can see in Figure \ref{img:fooboar}, fooboar is a young and very engaged boar.
|
||||
|
||||
\end{document}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user