-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathheader.tex
More file actions
60 lines (45 loc) · 1.24 KB
/
header.tex
File metadata and controls
60 lines (45 loc) · 1.24 KB
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
55
56
57
58
59
60
\usepackage{pdfpages}
\usepackage{changepage}
\usepackage{fancyhdr}
\usepackage{tcolorbox}
\tcbuselibrary{breakable}
\tcbuselibrary{skins}
\renewenvironment{Shaded} {
\begin{tcolorbox}[boxrule=0pt,colframe=lightgray!75!black,enhanced,breakable]
\scriptsize
} {
\end{tcolorbox}
}
\renewenvironment{quote} {
\begin{tcolorbox}[boxrule=0pt,leftrule=2mm,sharp corners,colback=white,colframe=lightgray,enhanced,breakable,fontupper=\itshape]
} {
\end{tcolorbox}
}
\pagestyle{fancy}
\fancypagestyle{plain}{%
\fancyhead{}
% \renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.2pt}
}
\fancyhead{}
\fancyfoot{}
\fancyfoot[R] {\thepage}
% \fancyhead[RO]{\nouppercase{\slshape \rightmark}}
% \fancyhead[LE]{\nouppercase{\slshape \leftmark}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.2pt}
% \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\usepackage{fvextra}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{breaklines,commandchars=\\\{\}}
% \usepackage[sfdefault]{ClearSans}
\usepackage[T1]{fontenc}
\usepackage{FiraMono}
\let\oldtexttt\texttt
\renewcommand{\texttt}[1]{
\oldtexttt{\footnotesize#1}
}
\widowpenalty10000
\clubpenalty10000
% \makeatletter
% \renewcommand{\@chapapp}{Lesson}
% \makeatother