Guest User

Untitled

a guest
Oct 21st, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. documentclass[]{scrbook}
  2.  
  3. KOMAoptions{twoside=false}
  4.  
  5. usepackage{tocbibind}
  6.  
  7. addtokomafont{partentrypagenumber}{nullfont}
  8. addtokomafont{chapterentrypagenumber}{mdseries}
  9.  
  10. usepackage{tocstyle}
  11. usetocstyle{allwithdot}
  12. settocstylefeature[-1]{leaders}{hfill}
  13. settocstylefeature[-1]{pagenumberhook}{nullfont}
  14.  
  15. usetocstyle{KOMAlike}
  16. usetocstyle{allwithdot}
  17. settocstylefeature[-1]{leaders}{hfill}
  18. settocstylefeature[-1]{pagenumberhook}{nullfont}
  19. renewcommand*{addparttocentry}[2]{%
  20. addtocentrydefault{part}{partnamenobreakspace #1}{#2}%
  21. }%
  22.  
  23. begin{document}
  24.  
  25. frontmatter
  26.  
  27. part*{Front Matter}
  28. addcontentsline{toc}{part}{Front Matter}
  29.  
  30. tableofcontents
  31. listoftables
  32. listoffigures
  33.  
  34. mainmatter
  35.  
  36. part*{Report}
  37. addcontentsline{toc}{part}{Report}
  38.  
  39. chapter{Chapter 1}
  40. section{Section 1}
  41. section{Section 2}
  42. section{Section 3}
  43.  
  44. appendix
  45.  
  46. part*{Appendices}
  47. addcontentsline{toc}{part}{Appendices}
  48.  
  49. chapter{Appendix 1}
  50. section{Appendix Section 1}
  51. section{Appendix Section 2}
  52. section{Appendix Section 3}
  53.  
  54. end{document}
Add Comment
Please, Sign In to add comment