daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Feb 25th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[ngerman,twoside=false,listof=totoc,listof=leveldown]{scrbook}
  2. usepackage{imakeidx}
  3. usepackage[style=archaeologie]{biblatex}
  4. addbibresource{archaeologie-examples.bib}
  5. usepackage{babel}
  6. newcommandtocgobble[1]{}% <- added
  7. newcommandtocpageseparator{footnotesize,mbox{---},}
  8. newcommandtocpagenumberbox[1]{mbox{#1}}
  9. KOMAoptions{toc=indentunnumbered}%indent only for section* !?
  10.  
  11. RedeclareSectionCommands[
  12.   tocraggedpagenumber,
  13.   toclinefill=tocpageseparator,
  14.   tocindent=0em,
  15.   tocnumwidth=4em,
  16.   tocpagenumberbox=tocpagenumberbox
  17. ]{chapter,section,subsection,subsubsection,paragraph}
  18.  
  19. RedeclareSectionCommand[
  20.   tocentryformat=largescshape,
  21.   tocindent=0em,
  22.   tocnumwidth=4em,
  23.   tocpagenumberbox=tocgobble
  24. ]{part}
  25.  
  26. RedeclareSectionCommand[%
  27.   tocentryformat=textbf%
  28. ]{chapter}
  29.  
  30. makeindex[
  31.   intoc,
  32.   name=loc,
  33.   title={Locations},
  34.   columns=3,
  35.   ]
  36. indexsetup{%
  37.   level=section*,
  38.   toclevel=section,
  39.   noclearpage,
  40.   firstpagestyle=scrheadings,
  41.   headers={indexname}{indexname},
  42.     }
  43. begin{document}
  44.   nocite{*}
  45.   frontmatter
  46.   tableofcontents
  47.   mainmatter
  48.   part{part}
  49.   chapter{chapter chapter}
  50.   section{section section section}  section{section section section}  section{section section section}
  51.   part{part}
  52.   chapter{chapter chapter}
  53.   section{section section section}  section{section section section}  section{section section section}
  54.   setcounter{page}{100}
  55.   part{part}
  56.   chapter{chapter chapter}
  57.   section{section section section}  section{section section section}  section{section section section}
  58.   backmatter
  59.  
  60.   part{part}
  61. index[loc]{A location}
  62.   chapter*{Abbildungs-, Tabellen-, Tafelverzeichnis}
  63.   addcontentsline{toc}{chapter}{Abbildungs-, Tabellen-, Tafelverzeichnis}
  64.   listoffigures
  65.   chapter*{bibname}
  66.   addcontentsline{toc}{chapter}{bibname}
  67.   printbiblist[%
  68.       heading=subbibintoc,%
  69.     title={Zeitschriftenabk├╝rzungen}]{shortjournal}
  70.   printbiblist[%
  71.     heading=subbibintoc,%
  72.     title={Reihenabk├╝rzungen}]{shortseries}
  73.   printbibliography[heading=subbibintoc]
  74. chapter*{Indizes}
  75. addcontentsline{toc}{chapter}{Indizes}
  76. printindex[loc]
  77. end{document}
  78.    
  79. documentclass[ngerman,twoside=false,listof=totoc,listof=leveldown]{scrbook}
  80. KOMAoptions{toc=indentunnumbered}%indent only for section* !? % No
  81. begin{document}
  82.   tableofcontents
  83. chapter{Wombat}
  84. section{Wombat}
  85. addchap{Capybara}
  86. addsec{Carl}
  87. chapter*{Lion}
  88. addcontentsline{toc}{chapter}{Lion}% Not the KOMA way
  89. section*{Laura}
  90. addcontentsline{toc}{section}{Laura}% Not the KOMA way
  91. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top