Debian Codegraph @

texmf-dist/doc/latex/semioneside/example.tex

raw
1 %%
2 %% This is file `example.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% semioneside.dtx (with options: `example')
8 %%
9 %% This is a generated file.
10 %%
11 %% Copyright (C) 2005 by Stephan Hennig <[email protected]>
12 %%
13 %% This file may be distributed and/or modified under the conditions of
14 %% the LaTeX Project Public License, either version 1.2 of this license
15 %% or (at your option) any later version. The latest version of this
16 %% license is in:
17 %%
18 %% http://www.latex-project.org/lppl.txt
19 %%
20 %% and version 1.2 or later is part of all distributions of LaTeX version
21 %% 1999/12/01 or later.
22 %%
23 \documentclass{article}
24 \usepackage{semioneside}
25 \usepackage[english]{babel}
26 \usepackage{blindtext}
27 \begin{document}
28 \section{Example}
29 \Blindtext[3]
30 \renewcommand{\leftpagecontent}{
31 \begin{figure}
32 \centering
33 \rule{4cm}{2cm}
34 \caption{A picture.}
35 \label{fig:picA}
36 \end{figure}
37 }
38 \Blindtext[3]
39 A reference to figure~\ref{fig:picB} on p.~\pageref{fig:picB}.
40 \renewcommand{\leftpagecontent}{
41 \begin{figure}
42 \centering
43 \rule{3cm}{2cm}
44 \caption{A second picture.}
45 \label{fig:picB}
46 \end{figure}
47 \begin{figure}
48 \centering
49 \rule{4cm}{5cm}
50 \caption{A third picture.}
51 \label{fig:picC}
52 \end{figure}
53 }
54 \Blindtext[6]
55 A reference to figure~\ref{fig:picA} on p.~\pageref{fig:picA}
56 \semionesideoff
57 \end{document}
58 \endinput
59 %%
60 %% End of file `example.tex'.