Newer
Older
templates / latex / lectures / numbered-slides.tex
  1. % Driver file for adding page numbers to slides prior to creating handout
  2. \documentclass{article}
  3. \usepackage{pdfpages}
  4. \usepackage{fancyhdr}
  5. \usepackage[a4paper,landscape, pdftex,vmargin=25mm,hmargin=12mm]{geometry}
  6.  
  7. \cfoot{}
  8. \rfoot{\LARGE\sffamily\thepage}
  9. \renewcommand{\headrule}{}
  10.  
  11. \begin{document}
  12. \includepdf[pages=1]{slides.pdf}
  13. \includepdf[pages=2-,pagecommand={\thispagestyle{fancy}}]{slides.pdf}
  14. \end{document}
  15.  
  16.