This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tufte-book-local.tex
54 lines (47 loc) · 1.98 KB
/
tufte-book-local.tex
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
\titlecontents{chapter}
[2em] % distance from left margin
{\vspace{\baselineskip}\rmfamily\scshape} % above (global formatting of entry)
{\hspace*{0em}{\contentslabel{2em}}} % before w/label (label = ``2.6'')
{\hspace*{0em}} % before w/o label
{\titlerule*{}\rmfamily\upshape\contentspage} % filler + page (leaders and page num)
[] % after
\titlecontents{section}
[4.5em] % distance from left margin
{\rmfamily} % above (global formatting of entry)
{\hspace*{0em}{\contentslabel{2.5em}}} % before w/label (label = ``2.6'')
{\hspace*{0em}} % before w/o label
{\hspace*{0.5em}\titlerule*[0.7em]{.}\rmfamily\upshape\hspace*{0.5em}\contentspage} % filler + page (leaders and page num)
[] % after
\titlecontents{subsection}
[7.5em] % distance from left margin
{\rmfamily} % above (global formatting of entry)
{\hspace*{0em}{\contentslabel{3em}}} % before w/label (label = ``2.6'')
{\hspace*{0em}} % before w/o label
{\hspace*{0.5em}\titlerule*[0.7em]{.}\rmfamily\upshape\hspace*{0.5em}\contentspage} % filler + page (leaders and page num)
[] % after
% Chapter format
\titleformat{\chapter}%
[display]% shape
{\begin{fullwidth}}% format applied to label+text
{\fontsize{50}{55}\selectfont\thechapter\bigskip}% label
{0em}% horizontal separation between label and title body
{\huge\scshape}% before the title body
[\end{fullwidth}]% after the title body
\titleformat{\section}%
[hang]% shape
{\normalfont\LARGE\scshape}% format applied to label+text
{\thesection}% label
{1em}% horizontal separation between label and title body
{}% before the title body
[]% after the title body
\titleformat{\subsection}%
[hang]% shape
{\normalfont\Large\scshape}% format applied to label+text
{\thesubsection}% label
{1em}% horizontal separation between label and title body
{}% before the title body
[]% after the title body
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\renewcommand*\l@figure{\@dottedtocline{1}{0em}{2.5em}}
\renewcommand*\l@table{\@dottedtocline{1}{0em}{2.5em}}