65 lines
1.7 KiB
Plaintext
65 lines
1.7 KiB
Plaintext
%% HEADER AND FOOTER
|
|
|
|
\newcommand*\circled[1]{
|
|
\tikz[baseline=(char.base)]{
|
|
\node[shape=circle,draw,inner sep=2pt] (char) {#1};
|
|
}
|
|
}
|
|
|
|
\ohead{}
|
|
|
|
% define the page numbering style
|
|
\pagenumbering{arabic}
|
|
% clear the defauls page header and footer, so the standard page numbering
|
|
% \clearpairofpagestyles
|
|
|
|
% set my own numbering form for the footer
|
|
\cfoot*{\thepage\ /\ \pageref{LastPage}}
|
|
|
|
\pagestyle{scrheadings}
|
|
\setkomafont{pagehead}{\normalfont\bfseries}
|
|
\setkomafont{pagefoot}{\normalfont}
|
|
|
|
\RedeclareSectionCommand[
|
|
beforeskip=1.0\baselineskip,
|
|
afterskip=0.5\baselineskip,
|
|
font=\sffamily\bfseries\Large
|
|
]{section}
|
|
\renewcommand \thesection{\Roman{section}}
|
|
\renewcommand*{\sectionformat}{\thesection.\enskip}
|
|
|
|
\RedeclareSectionCommand[
|
|
beforeskip=1.0\baselineskip,
|
|
afterskip=0.5\baselineskip,
|
|
font=\sffamily\bfseries\large,
|
|
indent=2em
|
|
]{subsection}
|
|
\renewcommand \thesubsection{\arabic{subsection}}
|
|
\renewcommand*{\subsectionformat}{\thesubsection)\enskip}
|
|
|
|
\RedeclareSectionCommand[
|
|
beforeskip=1.0\baselineskip,
|
|
afterskip=0.5\baselineskip,
|
|
font=\sffamily\bfseries\large,
|
|
indent=4em
|
|
]{subsubsection}
|
|
\renewcommand \thesubsubsection{\alph{subsubsection}}
|
|
\renewcommand*{\subsubsectionformat}{\circled{\thesubsubsection}\enskip}
|
|
|
|
\newlist{questions}{enumerate}{2}
|
|
\setlist[questions]{labelindent=0em, leftmargin=*, labelsep=0.5em}
|
|
\setlist[questions, 1]{label=\textbf{\arabic*.}}
|
|
\setlist[questions, 2]{label=\textbf{\alph*)}}
|
|
\newlist{questionsl}{enumerate*}{1}
|
|
\setlist*[questionsl]{label=\textbf{\alph*)}}
|
|
\setlist[enumerate, 1]{label=\textbf{\arabic*.}, leftmargin=*, labelsep=.5em}
|
|
\setlist[enumerate, 2]{label=\textbf{\alph*)}}
|
|
\setlist[description]{font=\sffamily\bfseries}
|
|
|
|
%% GRAPHICS PATH
|
|
\graphicspath{{images/}}
|
|
|
|
%% ENVIRONMENTS
|
|
\input{environments.tex}
|
|
|