summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hvfloat/doc/examples/default1s2c.tex
blob: 79f9f8b101b2ec164a3b76b897253fc593308fac (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
\documentclass[twocolumn]{scrartcl}
%% $Id: default1s2c.tex 318 2021-11-20 07:30:54Z herbert $

\input{preamble.ltx}
\setlength\columnseprule{0.4pt}

\begin{document}
\title{Example for a star version of  hvfloat}
\author{Herbert Voß}
\maketitle

\tableofcontents

\Blindtext

\section{File \texttt{\jobname}}

\begin{lstlisting}
\hvFloat*[capPos=right]{figure}%
  {\includegraphics{frose}}%
  [A  float with the default caption setting]%
  {A default caption of a ``default'' object with the default setting, which
   is a ``left''  caption which means that it always appears before the object.
   This can be an even or odd page. And some more text which has no
   real meaning because it fills only the space for a long caption.}%
  {fig:0}
\end{lstlisting}

\Float[default star]
\hvFloat*[capPos=right]{figure}%
  {\includegraphics{frose}}%
  [A  float with the default caption setting]%
  {A default caption of a ``default'' object with the default setting, which
   is a ``left''  caption which means that it always appears before the object.
   This can be an even or odd page. And some more text which has no
   real meaning because it fills only the space for a long caption.}%
  {fig:0}

\blinddocument

\blindtext

\begin{lstlisting}
\hvFloat[capPos=right]{figure}%
  {\includegraphics{frose}}%
  [A  float with the default caption setting]%
  {A default caption of a ``default'' object with the default setting, which
   is a ``left''  caption which means that it always appears before the object.}%
  {fig:1}
\end{lstlisting}

\Float[default]
\hvFloat[capPos=right]{figure}%
  {\includegraphics{frose}}%
  [A  float with the default caption setting]%
  {A default caption of a ``default'' object with the default setting, which
   is a ``left''  caption which means that it always appears before the object.}{fig1}

\blinddocument

\Blindtext

\blindtext


\end{document}