| 1 |
\documentclass[pagesize=auto, fontsize=14pt, parskip=half, DIV=10]{scrartcl} |
| 2 |
|
| 3 |
\usepackage{fixltx2e} |
| 4 |
\usepackage{etex} |
| 5 |
\usepackage{lmodern} |
| 6 |
\usepackage[T1]{fontenc} |
| 7 |
\usepackage{textcomp} |
| 8 |
\usepackage{microtype} |
| 9 |
\usepackage{hyperref} |
| 10 |
|
| 11 |
\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} |
| 12 |
\newcommand*{\pkg}[1]{\textsf{#1}} |
| 13 |
|
| 14 |
\addtokomafont{title}{\rmfamily} |
| 15 |
|
| 16 |
\title{The \pkg{duplicat} package} |
| 17 |
\author{Mike Piff\thanks{\mail{[email protected]}}} |
| 18 |
\date{} |
| 19 |
|
| 20 |
|
| 21 |
\begin{document} |
| 22 |
|
| 23 |
\maketitle |
| 24 |
|
| 25 |
\noindent |
| 26 |
This package marks each page of the \textsc{dvi} file with its sequence number. |
| 27 |
Useful if there are duplicate page numbers in the output, eg,\\ |
| 28 |
\textit{1, 2, 3, 1, 2, 3, 4, 5, 6, \dots}\\ |
| 29 |
become\\ |
| 30 |
\textit{1.1, 2.2, 3.3, 1.4, 2.5, 3.6, 4.7, 5.8, 6.9, \dots} |
| 31 |
|
| 32 |
These numbers do not appear in the page number itself, but can be used |
| 33 |
in the driver command to select a page range, eg, in em\TeX, use\\ |
| 34 |
\verb|dvihplj filename /b1.4 /e 4.7| |
| 35 |
|
| 36 |
If you are using \texttt{dvips}, this package is unnecessary, since it uses the |
| 37 |
convention that the avove pages have names\\ |
| 38 |
\textit{1, 2, 3, 1.1, 2.1, 3.1, 4, 5, 6, \dots}\\ |
| 39 |
where .0 is optional (first occurrence of that page number).\\ |
| 40 |
\verb|dvips -p1.1 -l4 filename| |
| 41 |
|
| 42 |
\end{document} |