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"}
|
||||
public class HelloWorld {
|
||||
public class Test {
|
||||
public static void main(/*…*/) {
|
||||
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"}
|
||||
public class HelloWorld {
|
||||
public class Test {
|
||||
public static void main(/*…*/) {
|
||||
System.out.println(/*…*/);
|
||||
}
|
||||
|
||||
@ -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}
|
||||
```
|
||||
|
||||
|
||||
@ -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}
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user