Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. documentclass[12]{thesis}
  2.  
  3. RequirePackage{tocloft}
  4. RequirePackage{titlesec}
  5. usepackage[titletoc]{appendix}
  6.  
  7. newcommand{spacemultiplier}{1.5}
  8. renewcommand{baselinestretch}{spacemultiplier}normalsize
  9.  
  10. renewcommand{frontmatter}{
  11. %TABLE OF CONTENTS
  12. addcontentsline{toc}{chapter}{Contents}
  13. {renewcommand{baselinestretch}{1}normalsize
  14. tableofcontents
  15. }
  16. newpage
  17. titleformat{chapter}[display]{renewcommand{baselinestretch}{1.5}LARGEscfillast}{Chapter
  18. thechapter}{0pt}{}[renewcommand{baselinestretch}{spacemultiplier}normalsize]
  19. titlespacing{chapter}{0pt}{1.4cm}{20pt}
  20. setcounter{chapter}{0}
  21. }
  22.  
  23. % Appendix setup
  24. newcommand{universityappendix}{
  25. appendix
  26. titleformat{chapter}[display]{renewcommand{baselinestretch}{1.5}normalsize
  27. LARGEscfillast}{Appendix}{0pt}{}
  28. titlespacing{chapter}{0pt}{-30pt}{20pt}
  29. renewcommand{baselinestretch}{1.5}normalsize
  30. }
  31.  
  32.  
  33. begin{document}
  34.  
  35. frontmatter
  36.  
  37. chapter{blah blah}
  38. This is a chapter
  39.  
  40. universityappendix
  41. begin{appendices}
  42. chapter{blah blah}
  43. this is appendix
  44. end{appendices}
  45. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement