| 1 |
\documentclass[pagesize=auto, DIV=10, fontsize=14pt, parskip=full]{scrartcl} |
| 2 |
|
| 3 |
\usepackage{fixltx2e} |
| 4 |
\usepackage{etex} |
| 5 |
\usepackage{xspace} |
| 6 |
\usepackage{lmodern} |
| 7 |
\usepackage[T1]{fontenc} |
| 8 |
\usepackage{textcomp} |
| 9 |
\usepackage{microtype} |
| 10 |
\usepackage{hyperref} |
| 11 |
|
| 12 |
\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} |
| 13 |
\newcommand*{\pkg}[1]{\textsf{#1}} |
| 14 |
\newcommand*{\cs}[1]{\texttt{\textbackslash#1}} |
| 15 |
\makeatletter |
| 16 |
\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}} |
| 17 |
\makeatother |
| 18 |
|
| 19 |
\addtokomafont{title}{\rmfamily} |
| 20 |
|
| 21 |
\title{The \pkg{onepagem} package\thanks{This manual corresponds to \pkg{onepagem.sty}~v1.01a, dated~28 Mar 1996.}} |
| 22 |
\author{Mike Piff\thanks{\mail{[email protected]}}} |
| 23 |
\date{28 Mar 1996} |
| 24 |
|
| 25 |
|
| 26 |
\begin{document} |
| 27 |
|
| 28 |
\maketitle |
| 29 |
|
| 30 |
If the document has only one page, omit page number. (onepagempty) |
| 31 |
The page number must be produced by means of \cmd{\thepage}. |
| 32 |
Needs two passes through \LaTeX\ to work, as it writes to the {\tt .aux} file. |
| 33 |
|
| 34 |
The first version was a joke put on CTAN to illustrate how useful |
| 35 |
\cmd{\AtEndDocument} is. This one works\dots |
| 36 |
|
| 37 |
\end{document} |