Debian Codegraph @

texmf-dist/doc/latex/hvfloat/odd2s1c.tex

raw
1 \documentclass[twoside]{scrartcl}
2 %% $Id: odd2s1c.tex 318 2021-11-20 07:30:54Z herbert $
3
4 \input{preamble.ltx}
5
6 \begin{document}
7 \title{Example for fullpage floats}
8 \author{Herbert Voß}
9 \maketitle
10
11 \tableofcontents
12
13 \blinddocument
14
15 \section{File \texttt{\jobname}}
16
17 \begin{lstlisting}
18 The fullpage image~\vref{fig:fullpage0} has a caption~\vpageref{fig:fullpage0-cap}.
19 \end{lstlisting}
20
21 The fullpage image~\vref{fig:fullpage0} has a caption~\vpageref{fig:fullpage0-cap}.
22
23 \begin{lstlisting}
24 \hvFloat[fullpage,capPos=oddPage]%
25 {figure}%
26 {\includegraphics[fullpage]{usa0}}%
27 [A fullpage float with the default caption setting]%
28 {A default caption of a ``fullpage'' object with the default setting, which
29 is a ``left'' caption which means that it always appears before the object.
30 This can be an even or odd page. And some more text which has no
31 real meaning because it fills only the space for a long caption.}%
32 {fig:fullpage0}
33 \end{lstlisting}
34
35 \Float[capPos=oddPage]
36 \hvFloat[fullpage,capPos=oddPage]%
37 {figure}%
38 {\includegraphics[fullpage]{usa0}}%
39 [A fullpage float with the default caption setting]%
40 {A default caption of a ``fullpage'' object with the default setting, which
41 is a ``left'' caption which means that it always appears before the object.
42 This can be an even or odd page. And some more text which has no
43 real meaning because it fills only the space for a long caption.}%
44 {fig:fullpage0}
45
46 \blinddocument
47
48 \section{Next Example}
49
50 \begin{lstlisting}
51 \hvFloat[fullpage,capPos=oddPage]%
52 {figure}%
53 {\includegraphics[fullpage]{usa0}}%
54 [A fullpage float with the default caption setting]%
55 {A default caption of a ``fullpage'' object with the default setting, which
56 is a ``left'' caption which means that it always appears before the object.
57 This can be an even or odd page. And some more text which has no
58 real meaning because it fills only the space for a long caption.}%
59 {fig:fullpage1}
60 \end{lstlisting}
61
62
63 \Float[capPos=oddPage]
64 \hvFloat[fullpage,capPos=oddPage]%
65 {figure}%
66 {\includegraphics[fullpage]{usa0}}%
67 [A fullpage float with the default caption setting]%
68 {A default caption of a ``fullpage'' object with the default setting, which
69 is a ``left'' caption which means that it always appears before the object.
70 This can be an even or odd page. And some more text which has no
71 real meaning because it fills only the space for a long caption.}%
72 {fig:fullpage1}
73
74 \blinddocument
75
76
77 \Blindtext
78
79
80 \end{document}