summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/semioneside/example.tex
blob: 3d0d491dffab3bc097fe4157c095d8249db4c847 (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
%%
%% This is file `example.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% semioneside.dtx  (with options: `example')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 2005 by Stephan Hennig <stephanhennig@arcor.de>
%% 
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.2 of this license
%% or (at your option) any later version.  The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.2 or later is part of all distributions of LaTeX version
%% 1999/12/01 or later.
%% 
\documentclass{article}
\usepackage{semioneside}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\section{Example}
\Blindtext[3]
\renewcommand{\leftpagecontent}{
 \begin{figure}
   \centering
   \rule{4cm}{2cm}
   \caption{A picture.}
   \label{fig:picA}
 \end{figure}
}
\Blindtext[3]
A reference to figure~\ref{fig:picB} on p.~\pageref{fig:picB}.
\renewcommand{\leftpagecontent}{
 \begin{figure}
   \centering
   \rule{3cm}{2cm}
   \caption{A second picture.}
   \label{fig:picB}
 \end{figure}
 \begin{figure}
   \centering
   \rule{4cm}{5cm}
   \caption{A third picture.}
   \label{fig:picC}
 \end{figure}
}
\Blindtext[6]
A reference to figure~\ref{fig:picA} on p.~\pageref{fig:picA}
\semionesideoff
\end{document}
\endinput
%%
%% End of file `example.tex'.