Debian Codegraph @

texmf-dist/doc/latex/crossreference/xrefexample.tex

raw
1 %%
2 %% This is file `xrefexample.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% crossreference.dtx (with options: `example')
8 %%
9 %% Crossreferencing for technical documents.
10 %%
11 %% Copyright 2001 Vincent Filby ([email protected]), all rights reserved.
12 %%
13 %% This program may be distributed and/or modified under the
14 %% conditions of the LaTeX Project Public License, either version 1.2
15 %% of this license or (at your option) any later version.
16 %% The latest version of this license is in
17 %% http://www.latex-project.org/lppl.txt
18 %% and version 1.2 or later is part of all distributions of LaTeX
19 %% version 1999/12/01 or later.
20 %%
21 %% This program consists of the files; crossreference.dtx, crossreference.ins
22 %% and README.
23 %%
24 \def\fileversion{1.0}
25 \def\filedate{2001/05/19}
26 \def\docdate{2001/05/19}
27 \documentclass{article}
28
29 \usepackage{crossreference}
30
31 \begin{document}
32
33 \section{Animals}
34 \addxref{Animals}
35 Animals can eat other animals\xref{Animals} or plants\xref{Plants}.
36
37 \section{Plants}
38 \addxref{Plants}
39 Plants are mostly green and are eaten by Animals\xref{Animals}.
40
41 \section{Books and Writings}
42 \addxref{Books and Writings}
43 Books and writings are general not read by animals\xref{Animals} or plants\xref{Plants}.
44
45 \section{Humans}
46 Humans can read books and writings\xref{Books and Writings}.
47 \newpage
48 \section{Cross-References}
49 \crossreferences
50
51 \end{document}
52 \endinput
53 %%
54 %% End of file `xrefexample.tex'.