summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hvfloat/doc/examples/capPos.ltx
blob: 9fcd593abbe454ba7564a012be918e5e85c96c9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
\documentclass[twoside,DIV=11]{scrartcl}
%% $Id: capPos.ltx 72 2021-05-02 11:40:10Z herbert $

\input{preamble.ltx}
\usepackage{multicol}
\usepackage[all=!htb]{hvfloat-fps}

\setlength\columnseprule{0.4pt}
\def\capShortText{A short caption}
\def\capLongText{Here comes a caption to show the  justification of the text relative to the object. It refers to 
the optional argument \texttt{capPos}.}

\let\OrigBlindtext\blindtext
\def\blindtext{\TeX\ is a typesetting language. Instead of visually formatting your text, you enter y
our manuscript text intertwined with \TeX\ commands in a plain text file. You then run \TeX\ to 
produce formatted output, such as a PDF file. %Thus, in contrast to standard word processors, 
%your document is a separate file that does not pretend to be a representation of the final 
%typeset output, and so can be easily edited and manipulated.
}



\begin{document}
\part{Examples for \texttt{capPos} and onecolumn mode}\clearpage
\let\NewColumn\clearpage
\input{capPos}

\twocolumn[\part{Examples for \texttt{capPos} and twocolumn mode}]
\def\blindtext{\OrigBlindtext}
\let\NewColumn\columnbreak
\input{capPos}


\end{document}