Debian Codegraph @

texmf-dist/doc/latex/hvfloat/multi-after1s1c.tex

raw
1 \documentclass{scrartcl}
2 %% $Id: multi-after1s1c.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 multi images~\vref{img:demo0} has a caption~\vpageref{img:demo0-cap}.
19 \end{lstlisting}
20
21 The fullpage multifloat~\vref{img:demo0} has a caption~\vpageref{img:demo0-cap}.
22
23
24 \begin{lstlisting}
25 \captionsetup{singlelinecheck=false}
26 \hvFloat[fullpage,capPos=after,multiFloat,vFill]%
27 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 1
28 [Short caption A]%
29 {A Caption A of a ``fullpage'' object, which follows on the left or
30 right column. 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 {img:demo0}%
33 +{table}{\begin{tabular}{lrcp{3cm}}\hline % no 2
34 Linksbündig & Rechtsbündig & Zentriert & Parbox\\\hline
35 L & R & C & P\\
36 left & right & center & Text with possible linebreaks\\
37 \multicolumn{4}{c}{Multicolumn over all columns}\\\hline
38 \end{tabular}}%
39 [Short Caption B]%
40 {A Caption B of a ``fullpage'' object, which follows on the left or
41 right column. This can be an even or odd page.}{}%
42 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 3
43 {A Caption C of a ``fullpage'' object, which follows on the left or
44 right column.}%
45 {img:demo1}
46 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 4
47 {A Caption C of a ``fullpage'' object, which follows on the left or
48 right column.}%
49 {img:demo2}
50 \end{lstlisting}
51
52
53 \Float[Multi]
54 \captionsetup{singlelinecheck=false}
55 \hvFloat[fullpage,capPos=after,multiFloat,vFill]%
56 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 1
57 [Short caption A]%
58 {A Caption A of a ``fullpage'' object, which follows on the left or
59 right column. This can be an even or odd page. And some more text which has no
60 real meaning because it fills only the space for a long caption.}%
61 {img:demo0}%
62 +{table}{\begin{tabular}{lrcp{3cm}}\hline % no 2
63 Linksbündig & Rechtsbündig & Zentriert & Parbox\\\hline
64 L & R & C & P\\
65 left & right & center & Text with possible linebreaks\\
66 \multicolumn{4}{c}{Multicolumn over all columns}\\\hline
67 \end{tabular}}%
68 [Short Caption B]%
69 {A Caption B of a ``fullpage'' object, which follows on the left or
70 right column. This can be an even or odd page.}{}%
71 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 3
72 {A Caption C of a ``fullpage'' object, which follows on the left or
73 right column.}%
74 {img:demo1}
75 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 4
76 {A Caption D of a ``fullpage'' object, which follows on the left or
77 right column.}%
78 {img:demo2}
79
80
81
82 \Blindtext
83
84
85 \begin{lstlisting}
86 \captionsetup{singlelinecheck=false}
87 \hvFloat[fullpage,capPos=after,multiFloat,vFill]%
88 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 1
89 [Short caption A]%
90 {A Caption A of a ``fullpage'' object, which follows on the left or
91 right column. This can be an even or odd page. And some more text which has no
92 real meaning because it fills only the space for a long caption.}%
93 {img:demo3}%
94 +{table}{\begin{tabular}{lrcp{3cm}}\hline % no 2
95 Linksbündig & Rechtsbündig & Zentriert & Parbox\\\hline
96 L & R & C & P\\
97 left & right & center & Text with possible linebreaks\\
98 \multicolumn{4}{c}{Multicolumn over all columns}\\\hline
99 \end{tabular}}%
100 [Short Caption B]%
101 {A Caption B of a ``fullpage'' object, which follows on the left or
102 right column. This can be an even or odd page.}{}%
103 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 3
104 {A Caption C of a ``fullpage'' object, which follows on the left or
105 right column.}%
106 {img:demo4}
107 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 4
108 {A Caption C of a ``fullpage'' object, which follows on the left or
109 right column.}%
110 {img:demo5}
111 \end{lstlisting}
112
113 \Float[Multi]
114 \captionsetup{singlelinecheck=false}
115 \hvFloat[fullpage,capPos=after,multiFloat,vFill]%
116 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 1
117 [Short caption A]%
118 {A Caption A of a ``fullpage'' object, which follows on the left or
119 right column. This can be an even or odd page. And some more text which has no
120 real meaning because it fills only the space for a long caption.}%
121 {img:demo3}%
122 +{table}{\begin{tabular}{lrcp{3cm}}\hline % no 2
123 Linksbündig & Rechtsbündig & Zentriert & Parbox\\\hline
124 L & R & C & P\\
125 left & right & center & Text with possible linebreaks\\
126 \multicolumn{4}{c}{Multicolumn over all columns}\\\hline
127 \end{tabular}}%
128 [Short Caption B]%
129 {A Caption B of a ``fullpage'' object, which follows on the left or
130 right column. This can be an even or odd page.}{}%
131 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 3
132 {A Caption C of a ``fullpage'' object, which follows on the left or
133 right column.}%
134 {img:demo4}
135 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 4
136 {A Caption D of a ``fullpage'' object, which follows on the left or
137 right column.}%
138 {img:demo5}
139
140
141 \blinddocument
142
143 \Blindtext
144
145 \blindtext
146
147
148 \end{document}