summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/nopageno
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/nopageno
Initial commit
Diffstat (limited to 'macros/latex/contrib/nopageno')
-rw-r--r--macros/latex/contrib/nopageno/nopageno.pdfbin0 -> 174970 bytes
-rw-r--r--macros/latex/contrib/nopageno/nopageno.sty27
-rw-r--r--macros/latex/contrib/nopageno/nopageno.tex42
3 files changed, 69 insertions, 0 deletions
diff --git a/macros/latex/contrib/nopageno/nopageno.pdf b/macros/latex/contrib/nopageno/nopageno.pdf
new file mode 100644
index 0000000000..ec2c67cc4d
--- /dev/null
+++ b/macros/latex/contrib/nopageno/nopageno.pdf
Binary files differ
diff --git a/macros/latex/contrib/nopageno/nopageno.sty b/macros/latex/contrib/nopageno/nopageno.sty
new file mode 100644
index 0000000000..2aa273e76e
--- /dev/null
+++ b/macros/latex/contrib/nopageno/nopageno.sty
@@ -0,0 +1,27 @@
+%%
+%% nopageno package: No page numbers in LaTeX documents.
+%%
+%% Copyright 1998 David Carlisle
+%%
+%% This file may be distributed under the terms of the LPPL.
+%% See 00readme.txt for details.
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{nopageno}[1989/01/01 no page numbers (DPC)]
+% Actually the above date is probably wrong, I can not remember
+% How long I have had this lying around...
+
+% LaTeX's standard styles use two page styles, one on normal
+% pages and one on `opening' pages with \maketitle or \chapter etc.
+% Unfortunately there is only easy access to changing one of these
+% two so if you want something other than `plain' on the opening
+% pages you must use \thispagestyle{...} on _each_ such page.
+
+% The fancyheadings package does provide a more flexible interface,
+% but if you just want an empty page style on all pages then
+% \usepackage{nopageno}
+% will do the job.
+
+% Another 4 token package...
+\let\ps@plain\ps@empty
+\ps@empty
diff --git a/macros/latex/contrib/nopageno/nopageno.tex b/macros/latex/contrib/nopageno/nopageno.tex
new file mode 100644
index 0000000000..cf40653764
--- /dev/null
+++ b/macros/latex/contrib/nopageno/nopageno.tex
@@ -0,0 +1,42 @@
+\documentclass[pagesize=auto, parskip=full, fontsize=14pt, DIV=9]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{etex}
+\usepackage{xspace}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage{microtype}
+\usepackage{hyperref}
+
+\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
+\newcommand*{\pkg}[1]{\textsf{#1}}
+\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
+\makeatletter
+\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
+\makeatother
+
+\addtokomafont{title}{\rmfamily}
+\deffootnote{1em}{1em}{\textsuperscript{\thefootnotemark}}
+
+\title{The \pkg{nopageno} package}
+\author{David Carlisle}
+\date{1989/01/01\thanks{Actually the above date is probably wrong, I can not remember how long I have had this lying around\ldots}}
+
+
+\begin{document}
+
+\maketitle
+
+\LaTeX's standard styles use two page styles, one on normal
+pages and one on `opening' pages with \cmd{\maketitle} or \cmd{\chapter} etc\@.
+Unfortunately there is only easy access to changing one of these
+two so if you want something other than `\texttt{plain}' on the opening
+pages you must use \verb+\thispagestyle{...}+ on \emph{each} such page.
+
+The \pkg{fancyheadings} package does provide a more flexible interface,
+but if you just want an empty page style on all pages then\\[0.6ex]
+\verb+ \usepackage{nopageno}+\\[0.6ex]
+will do the job.
+
+\end{document}