Untitled

From Coral Sheep, 8 Months ago, written in Plain Text, viewed 1 times. This paste will croak in 1 Second.
URL https://paste.paivola.fi/view/c6a61938 Embed
Download Paste or View Raw
  1. \documentclass{report}
  2. \usepackage{lastpage}
  3. \usepackage{fancyhdr}
  4. \usepackage{xcolor,sectsty}
  5. \usepackage{lmodern}
  6. \usepackage[T1]{fontenc}
  7.  
  8. \usepackage{pdfpages}
  9. \usepackage[bottom=0.2in,includefoot]{geometry}
  10.  
  11. \usepackage{tocloft}
  12. \renewcommand{\cftchapfont}{\color{red}\large\bfseries}
  13.  
  14. \cfoot{\thepage\ / \pageref{LastPage}}
  15. \pagestyle{fancy}
  16. \fancypagestyle{plain}{%
  17.         \fancyhf{}%
  18.         \fancyfoot[C]{\thepage\ / \pageref{LastPage}}%
  19. }
  20. %\scshape
  21. \definecolor{cvblue}{rgb}{0.22,0.45,0.70}
  22. \chapterfont{\color{cvblue}}  % sets colour of chapters
  23. \sectionfont{\color{cvblue}}  % sets
  24. %\fancyhf{}
  25. %\fancyhead[C]{Some centered header}
  26. %\fancyfoot[C]{\thepage}
  27. \renewcommand{\headrulewidth}{0pt}
  28. \fancyhead{}
  29. \begin{document}
  30.        
  31.         \renewcommand{\contentsname}{\Large \color{cvblue}Appendix for xxxx's job application}
  32.        
  33.         \tableofcontents
  34.         \addtocontents{toc}{\string\contentsline{section}{Licenciate's certifciate}{2}}
  35.         \addtocontents{toc}{\string\contentsline{section}{Master's certificate}{4-8}}
  36.         \addtocontents{toc}{\string\contentsline{section}{aa}{9}}
  37.        
  38. %       \fancyhead[C]{Licenciate's certifciate}
  39.        
  40.         \includepdf[pages=-,frame,pagecommand={}]{test.pdf}
  41. %       \fancyhead[C]{Master's certificate}
  42.         \includepdf[pages=-,frame,pagecommand={}]{test.pdf}
  43.         \includepdf[pages=-,frame,pagecommand={}]{test.pdf}
  44.         \includepdf[pages=-,frame,pagecommand={}]{test.pdf}
  45.         % fitpaper & scale aren't always necessary - depends on the paper being submitted.
  46. \end{document}

Reply to "Untitled"

Here you can reply to the paste above