Debian Codegraph @

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

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