Want to contribute? Fork me on Codeberg.org!
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.

24 lines
669 B

1 year ago
\documentclass[letterpaper, 12pt]{article}
\usepackage{pdfpages}
\usepackage{changepage}
\usepackage{fancyhdr}
\setlength\topmargin{-0.675in}
\setlength\textheight{7.0in}
\setlength\textwidth{7.0in}
\setlength\oddsidemargin{-0.25in}
\setlength\evensidemargin{-0.25in}
\strictpagecheck
\thispagestyle{empty}
\fancypagestyle{mystyle}{
% hide any background elements in source PDF with \colorbox{white} %
\fancyhead[C]{\colorbox{white}\vartitle}
\fancyhead[R]{\colorbox{white}{Page \thepage}}
\fancyfoot[C]{} % Remove default page number footer %
}
\begin{document}
\includepdf[pages=-,pagecommand={\thispagestyle{mystyle}}]\varinput
\end{document}