A simple .tex file for creating a paginated pdf to add page numbers to another pdf
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
976 B

\documentclass[9pt,twoside]{article}
\usepackage{geometry}
\geometry{
% The next two lines create a half-size document for a booklet
paperheight=8.5in,
paperwidth=5.5in,
% If you are using regular size paper, you can delete them, and
% add "letter" or "A4" to the documentclass declaration
top=0.15in, % Adjust the height of your page number from the top of the page
inner=0.5in, % Adjust the inner margin
outer=0.5in, % Adjust the outer margin
nohead,
nofoot
}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE]{\thepage} % This appears on the Left side of Even-numbered pages
\fancyhead[RO]{\thepage} % This appears on the Right side of Odd-numbered pages
\renewcommand{\headrulewidth}{0.2pt}
\renewcommand{\footrulewidth}{0pt}
\pagenumbering{roman} % Change this to whatever type of lettering you prefer
\usepackage{multido}
\begin{document}
% Change the '18' to however many pages you need.
\multido{}{18}{\vphantom{x}\newpage}
\end{document}