summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/classicthesis/Examples/classicthesis-book.tex
blob: 53eae761ec5018041e4ab635c9b2a9311ee6c118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% book example for classicthesis.sty
\documentclass[10pt,a4paper]{scrbook} % KOMA-Script book
\usepackage{lipsum}
\usepackage[linedheaders,parts]{../classicthesis}
%\hypersetup{linktocpage=true,bookmarksnumbered=true,pageanchor=true,hypertexnames=false,naturalnames=true,plainpages=false}

\begin{document}
    \tableofcontents

    % use \cleardoublepage here to avoid problems with pdfbookmark
    \cleardoublepage\myPart{Test Part}
    \myChapter{Test Chapter}
    \lipsum[1]
    
    \section{A Section}
    \lipsum[1]
    
    \myChapter{Test Chapter}
    \lipsum[1]
    
    \section{A Section}
    \lipsum[1]

    \appendix
    \cleardoublepage\myPart{Appendix}
    \myChapter{Appendix Chapter}
    \lipsum[1]
    
    \section{A Section}
    \lipsum[1]

\end{document}