summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/addlines/addlines-example.ltx
blob: 78b833c6eabccbdc77167f83586fcd020c0a6a57 (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
%%
%% This is file `addlines-example.ltx',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% addlines.dtx  (with options: `example')
%% 
%%   _______________________________________
%%   Copyright (C) 2007-2008  Will Robertson
%% 
%%   License information appended.
%% 
\documentclass[twoside]{article}
\usepackage[a5paper,width=30em,lines=30]{geometry}
\usepackage{lipsum}
\usepackage{addlines}
\begin{document}
\lipsum[1-5]

\emph{Here is the command used correctly on an even page.}
\addlines

\lipsum[6-15]

\emph{Here is the command used erroneously on an odd page.}
\addlines

\lipsum[16-20]
\end{document}
%% 
%% Copyright (C) 2007-2008 by Will Robertson <wspr81@gmail.com>
%% 
%% Distributable under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
%% this license is at: http://www.latex-project.org/lppl.txt
%% 
%% This work is "maintained" (as per LPPL maintenance status)
%% by Will Robertson.
%% 
%% This work consists of the files addlines.dtx and
%%                                 addlines.ins,
%%           and the derived files addlines.pdf,
%%                                 addlines.sty, and
%%                                 addlines-example.ltx.
%% 
%%
%% End of file `addlines-example.ltx'.