| 1 |
\documentclass[twoside]{scrartcl} |
| 2 |
%% $Id: outer2s1c.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 fullpage image~\vref{fig:full0} has a caption~\vpageref{fig:full0-cap}. |
| 19 |
\end{lstlisting} |
| 20 |
|
| 21 |
The fullpage image~\vref{fig:full0} has a caption~\vpageref{fig:full0-cap}. |
| 22 |
|
| 23 |
\begin{lstlisting} |
| 24 |
\hvFloat[fullpage, capPos=outer]% |
| 25 |
{figure}% |
| 26 |
{\includegraphics[fullpage]{frose}}% |
| 27 |
[A float which needs the complete page width and height.]% |
| 28 |
{A Caption on the outer side of a twosided document. |
| 29 |
This can be an even or odd page. And some more text which has no |
| 30 |
real meaning because it fills only the space for a long caption.}% |
| 31 |
{fig:full0} |
| 32 |
\end{lstlisting} |
| 33 |
|
| 34 |
\Float[capPos=outer] |
| 35 |
\hvFloat[fullpage, capPos=outer]% |
| 36 |
{figure}% |
| 37 |
{\includegraphics[fullpage]{frose}}% |
| 38 |
[A float which needs the complete page width and height.]% |
| 39 |
{A Caption on the outer side of a twosided document. |
| 40 |
This can be an even or odd page. And some more text which has no |
| 41 |
real meaning because it fills only the space for a long caption.}% |
| 42 |
{fig:full0} |
| 43 |
|
| 44 |
\blinddocument |
| 45 |
|
| 46 |
\section{Next Example} |
| 47 |
|
| 48 |
\begin{lstlisting} |
| 49 |
\hvFloat[fullpage, capPos=outer]% |
| 50 |
{figure}% |
| 51 |
{\includegraphics[fullpage]{frose}}% |
| 52 |
[A float which needs the complete page width and height.]% |
| 53 |
{A Caption on the outer side of a twosided document. |
| 54 |
This can be an even or odd page. And some more text which has no |
| 55 |
real meaning because it fills only the space for a long caption.}% |
| 56 |
{fig:fullpage1} |
| 57 |
\end{lstlisting} |
| 58 |
|
| 59 |
|
| 60 |
\Float[capPos=outer] |
| 61 |
\hvFloat[fullpage, capPos=outer]% |
| 62 |
{figure}% |
| 63 |
{\includegraphics[fullpage]{frose}}% |
| 64 |
[A float which needs the complete page width and height.]% |
| 65 |
{A Caption on the outer side of a twosided document. |
| 66 |
This can be an even or odd page. And some more text which has no |
| 67 |
real meaning because it fills only the space for a long caption.}% |
| 68 |
{fig:fullpage1} |
| 69 |
|
| 70 |
\blinddocument |
| 71 |
|
| 72 |
|
| 73 |
\Blindtext |
| 74 |
|
| 75 |
|
| 76 |
\end{document} |