Debian Codegraph @

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

raw
1 \documentclass{scrartcl}
2 %% $Id: multi-default1s1c.tex 318 2021-11-20 07:30:54Z herbert $
3
4
5 \input{preamble.ltx}
6
7 \begin{document}
8 \title{Example for fullpage floats}
9 \author{Herbert Voß}
10 \maketitle
11
12 \tableofcontents
13
14 \blinddocument
15
16 \section{File \texttt{\jobname}}
17
18 \begin{lstlisting}
19 The multi images~\vref{img:demo0} has a caption~\vpageref{img:demo0-cap}.
20 \end{lstlisting}
21
22 The fullpage multifloat~\vref{img:demo0} has a caption~\vpageref{img:demo0-cap}.
23
24
25 \begin{lstlisting}
26 \captionsetup{singlelinecheck=false}
27 \hvFloat[fullpage,capPos=l,multiFloat]%
28 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 1
29 [Short caption A]%
30 {A Caption A of a ``fullpage'' object, which follows on the left or
31 right column. This can be an even or odd page. And some more text which has no
32 real meaning because it fills only the space for a long caption.}%
33 {img:demo0}%
34 +{table}{\begin{tabular}{lrcp{3cm}}\hline % no 2
35 Linksbündig & Rechtsbündig & Zentriert & Parbox\\\hline
36 L & R & C & P\\
37 left & right & center & Text with possible linebreaks\\
38 \multicolumn{4}{c}{Multicolumn over all columns}\\\hline
39 \end{tabular}}%
40 [Short Caption B]%
41 {A Caption B of a ``fullpage'' object, which follows on the left or
42 right column. This can be an even or odd page.}{}%
43 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 3
44 {A Caption C of a ``fullpage'' object, which follows on the left or
45 right column.}%
46 {img:demo1}
47 +{figure}{\includegraphics[width=\linewidth]{CTAN}}%% no 4
48 {A Caption C of a ``fullpage'' object, which follows on the left or
49 right column.}%
50 {img:demo2}
51 \end{lstlisting}
52
53 \Float[Multi]
54 \captionsetup{singlelinecheck=false}
55 \hvFloat[fullpage,capPos=l,multiFloat]%
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 \blinddocument
83
84
85 \begin{lstlisting}
86 \captionsetup{singlelinecheck=false}
87 \hvFloat[fullpage,capPos=l,multiFloat]%
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=l,multiFloat]%
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}