Add note on short caption

This commit is contained in:
Knoch 2021-11-17 15:13:25 +01:00
parent c742918f18
commit f985499bb4
4 changed files with 6 additions and 6 deletions

View File

@ -81,7 +81,7 @@ Um Redundanz zu vermeiden, ist es manchmal praktisch, den Quelltext direkt aus d
```
``` {.lang-java .hljs data-sourcefile="Test.java"}
public class HelloWorld {
public class Test {
public static void main(/*…*/) {
System.out.println(/*…*/);
}

View File

@ -81,7 +81,7 @@ We can avoid redundancy by including source code directly from its source file.
```
``` {.lang-java .hljs data-sourcefile="Test.java"}
public class HelloWorld {
public class Test {
public static void main(/*…*/) {
System.out.println(/*…*/);
}

View File

@ -15,8 +15,8 @@ Um Grafiken darzustellen, muss das Paket `graphicx` eingebunden werden.
``` {.lang-tex .hljs}
\begin{figure}
\includegraphics{<dateipfad>}
\caption[<kurztitel>]
{<bildunterschrift>}
\caption[<kurztitel (abbildungsver-
zeichnis)>]{<bildunterschrift>}
\end{figure}
```

View File

@ -15,8 +15,8 @@ To display graphics, we need the `graphicx` package.
``` {.lang-tex .hljs}
\begin{figure}
\includegraphics{<file path>}
\caption[<short caption>]
{<full caption>}
\caption[<short caption (table of
figures)>]{<full caption>}
\end{figure}
```