I'm a newbie in LaTeX and I need help. I'm combining many PDF files in a single document using pdfpages package. I need help on how to put header and page number in every PDF pages. I was able to put page numbers. My problem is with the header. The header is all the same in all the pages
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{pdfpages}\usepackage{fancyhdr}\topmargin 70pt\oddsidemargin 70pt\evensidemargin 70pt\fancyhf{}\fancyhead[L]{Your Tect Here}\pagestyle{fancy}%\renewcommannd{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}\begin{document}\includepdfset{pages=-,pagecommand=\thispagestyle{plain}}\includepdf[pages={-}]{template1}\includepdf[pages={-}]{template2}\includepdf[pages={-}]{template3}\includepdf[pages={-}]{template4}\end{document}