Add note on short caption
This commit is contained in:
parent
c742918f18
commit
f985499bb4
@ -81,7 +81,7 @@ Um Redundanz zu vermeiden, ist es manchmal praktisch, den Quelltext direkt aus d
|
|||||||
```
|
```
|
||||||
|
|
||||||
``` {.lang-java .hljs data-sourcefile="Test.java"}
|
``` {.lang-java .hljs data-sourcefile="Test.java"}
|
||||||
public class HelloWorld {
|
public class Test {
|
||||||
public static void main(/*…*/) {
|
public static void main(/*…*/) {
|
||||||
System.out.println(/*…*/);
|
System.out.println(/*…*/);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -81,7 +81,7 @@ We can avoid redundancy by including source code directly from its source file.
|
|||||||
```
|
```
|
||||||
|
|
||||||
``` {.lang-java .hljs data-sourcefile="Test.java"}
|
``` {.lang-java .hljs data-sourcefile="Test.java"}
|
||||||
public class HelloWorld {
|
public class Test {
|
||||||
public static void main(/*…*/) {
|
public static void main(/*…*/) {
|
||||||
System.out.println(/*…*/);
|
System.out.println(/*…*/);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,8 +15,8 @@ Um Grafiken darzustellen, muss das Paket `graphicx` eingebunden werden.
|
|||||||
``` {.lang-tex .hljs}
|
``` {.lang-tex .hljs}
|
||||||
\begin{figure}
|
\begin{figure}
|
||||||
\includegraphics{<dateipfad>}
|
\includegraphics{<dateipfad>}
|
||||||
\caption[<kurztitel>]
|
\caption[<kurztitel (abbildungsver-
|
||||||
{<bildunterschrift>}
|
zeichnis)>]{<bildunterschrift>}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -15,8 +15,8 @@ To display graphics, we need the `graphicx` package.
|
|||||||
``` {.lang-tex .hljs}
|
``` {.lang-tex .hljs}
|
||||||
\begin{figure}
|
\begin{figure}
|
||||||
\includegraphics{<file path>}
|
\includegraphics{<file path>}
|
||||||
\caption[<short caption>]
|
\caption[<short caption (table of
|
||||||
{<full caption>}
|
figures)>]{<full caption>}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user