From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/nopageno/nopageno.pdf | Bin 0 -> 174970 bytes macros/latex/contrib/nopageno/nopageno.sty | 27 +++++++++++++++++++ macros/latex/contrib/nopageno/nopageno.tex | 42 +++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 macros/latex/contrib/nopageno/nopageno.pdf create mode 100644 macros/latex/contrib/nopageno/nopageno.sty create mode 100644 macros/latex/contrib/nopageno/nopageno.tex (limited to 'macros/latex/contrib/nopageno') diff --git a/macros/latex/contrib/nopageno/nopageno.pdf b/macros/latex/contrib/nopageno/nopageno.pdf new file mode 100644 index 0000000000..ec2c67cc4d Binary files /dev/null and b/macros/latex/contrib/nopageno/nopageno.pdf 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} -- cgit v1.2.3