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"} ``` {.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(/*…*/);
} }

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"} ``` {.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(/*…*/);
} }

View File

@ -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}
``` ```

View File

@ -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}
``` ```