summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hvfloat/fullpage1s2c.tex
blob: c7a9a0ec13d6c5f4fd69c59c794e12d137a1eb82 (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
\documentclass[twocolumn]{scrartcl}
%% $Id: fullpage1s2c.tex 676 2023-01-28 19:47:00Z herbert $

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

\begin{document}
\title{Example for fullpage floats}
\author{Herbert Voß}
\maketitle

\tableofcontents

\section{The fullpage optional arguments}
\Blindtext

\subsection{\texttt{fullpage}}
\blindtext
\verb|\includegraphics[fullpage]{tiger}|

\includegraphics[fullpage]{tiger}

\Blindtext[2]

\subsection{\texttt{FullPage}}
\blindtext

\verb|\includegraphics[FullPage]{tiger}|
\begin{figure*}[p]
\includegraphics*[FullPage]{tiger}
\end{figure*}

\Blindtext

\Blindtext

\subsection{\texttt{FULLPAGE}}
\blindtext

\verb|\includegraphics[FULLPAGE]{tiger}|

\begin{figure*}[p]
    \vspace*{\the\dimexpr-1in-\voffset+\topskip-\headheight-0.5\baselineskip}%
    \if@twoside
      \leavevmode\checkoddpage
      \ifoddpage
        \hspace*{\the\dimexpr-\oddsidemargin-\parindent-1in}%
      \else
        \hspace*{\the\dimexpr-\evensidemargin-\parindent-1in}%
      \fi
    \else
      \hspace*{\the\dimexpr-\oddsidemargin-\parindent-1in}%
    \fi
    \put(0,0){\usebox\hvObjectBox}%    
    \AtBeginShipoutNext{\thispagestyle{empty}}%
\includegraphics*[FULLPAGE]{tiger}
\end{figure*}

\Blindtext

\blindtext


\end{document}