|
41 | 41 | }
|
42 | 42 |
|
43 | 43 | \newcommand{\enablecolors}{
|
44 |
| - \lstset{basicstyle=\scriptsize\ttfamily\color{mygreen}} |
| 44 | + \lstset{basicstyle=\footnotesize\ttfamily\color{mygreen}} |
45 | 45 | \lstset{commentstyle=\color{darkgray}\normalfont\itshape}
|
46 | 46 | \lstset{keywordstyle=\color{myblue}}
|
47 | 47 | \lstset{identifierstyle=\color{black}}
|
|
57 | 57 |
|
58 | 58 | \renewcommand{\maketitle}[2]{
|
59 | 59 | \begin{center}
|
60 |
| - {\LARGE \@title}\\ |
61 |
| - {\Large \@subtitle{} version #2}\\[0.1cm] |
62 |
| - {\LARGE \textsc{#1}} |
| 60 | + {\Huge \@title}\\ |
| 61 | + {\huge \@subtitle{} version #2}\\[0.1cm] |
| 62 | + {\Huge \textsc{#1}} |
63 | 63 | \end{center}
|
64 | 64 | }
|
65 | 65 |
|
|
122 | 122 |
|
123 | 123 | \parindent \z@ \raggedright \normalfont
|
124 | 124 | \interlinepenalty\@M
|
125 |
| - {\underline{\Large \bfseries #1} } |
| 125 | + {\underline{\huge \bfseries #1} } |
126 | 126 | \ifnum \c@secnumdepth >\m@ne
|
127 |
| - {\Large\bfseries (\thechapter) \par\nobreak } |
| 127 | + {\huge\bfseries (\thechapter) \par\nobreak } |
128 | 128 | \fi
|
129 | 129 | \startcontents[chapters]
|
130 | 130 | }
|
131 | 131 |
|
132 | 132 | \renewcommand\section{\@startsection {section}{1}{\z@}%
|
133 | 133 | {-0.5ex \@plus -1ex \@minus -.2ex}%
|
134 | 134 | {.4ex}%
|
135 |
| - {\normalfont\large\bfseries}} |
| 135 | + {\normalfont\LARGE\bfseries}} |
136 | 136 |
|
137 | 137 | \renewcommand\subsection{\@startsection{subsection}{2}{\z@}
|
138 | 138 | {1ex\@plus -1ex \@minus -.3ex}
|
139 | 139 | {.2ex}
|
140 |
| - {\normalfont\bfseries}} |
| 140 | + {\normalfont\large\bfseries}} |
141 | 141 |
|
142 | 142 | \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}
|
143 | 143 | {1ex\@plus -1ex \@minus -.3ex}
|
144 | 144 | {1ex \@plus .2ex}
|
145 |
| - {\normalfont\normalsize\bfseries}} |
| 145 | + {\normalfont\large\bfseries}} |
146 | 146 |
|
147 | 147 | % Styles for local toc
|
148 |
| -\titlecontents{localsection}[1.5em]{\footnotesize}{} |
149 |
| - {\footnotesize}{\titlerule*[0.8em]{.}\contentspage} |
150 |
| -\titlecontents{localsubsection}[3.8em]{\footnotesize}{} |
151 |
| - {\footnotesize}{\titlerule*[0.8em]{.}\contentspage} |
| 148 | +\titlecontents{localsection}[1.5em]{\small}{} |
| 149 | + {\small}{\titlerule*[0.8em]{.}\contentspage} |
| 150 | +\titlecontents{localsubsection}[3.8em]{\small}{} |
| 151 | + {\small}{\titlerule*[0.8em]{.}\contentspage} |
152 | 152 |
|
153 | 153 | % Styles for main toc
|
154 | 154 | \renewcommand{\chaptermark}[1]{\markboth{\emph{ #1}}{}}
|
155 |
| -\renewcommand{\cftbeforetoctitleskip}{-50pt} |
| 155 | +\renewcommand{\cftbeforetoctitleskip}{-45pt} |
156 | 156 | \renewcommand{\cftaftertoctitleskip}{10pt}
|
157 |
| -\renewcommand{\cftbeforechapskip}{10pt} |
| 157 | +\renewcommand{\cftbeforechapskip}{11pt} |
| 158 | +\renewcommand\cftchapfont{\large\bfseries} |
158 | 159 | \renewcommand{\cftdotsep}{4.5}
|
159 | 160 |
|
160 | 161 | % Proper carets and tildes
|
|
179 | 180 | \lstset{tabsize=2}
|
180 | 181 | \lstset{showstringspaces=false}
|
181 | 182 | \lstset{breaklines=true}
|
182 |
| -\lstset{basicstyle=\scriptsize\ttfamily} |
| 183 | +\lstset{basicstyle=\footnotesize\ttfamily} |
183 | 184 | \lstset{commentstyle=\normalfont\itshape}
|
184 | 185 | \lstset{literate={^}{\caret}{1} {~}{\tilde}{1}}
|
185 | 186 | \lstset{emptylines=*1}
|
|
201 | 202 | \strut % Magic
|
202 | 203 | \vspace{3cm}\\
|
203 | 204 | \includegraphics[width=3cm]{\@unilogo}\\
|
204 |
| - {\Huge \@unilong\\} |
| 205 | + {\fontsize{25}{30}\selectfont \@unilong\\} |
205 | 206 | {\fontsize{60}{60}\selectfont \@teamname\\}
|
206 | 207 | \vspace{0.5cm}
|
207 |
| - {\Large \@teammembers\\} |
| 208 | + {\huge \@teammembers\\} |
208 | 209 | \vfill
|
209 |
| - {\huge \@contestname}\\ |
| 210 | + {\fontsize{21}{25}\selectfont \@contestname}\\ |
210 | 211 | \vspace{0.5cm}
|
211 |
| - {\Large \@contestdate}\\ |
| 212 | + {\huge \@contestdate}\\ |
212 | 213 | \vspace{1cm}
|
213 | 214 | \end{center}
|
214 | 215 | \clearpage
|
|
247 | 248 | \setboolean{hasleftcaption}{false}
|
248 | 249 | \myneedspace{3\baselineskip}
|
249 | 250 | \penalty-100
|
250 |
| - #2 |
| 251 | + {\large #2} |
251 | 252 | \immediate\write18{rm -f \@builddir/kactl.tmp} % Don't include old kactl.tmp on failure.
|
252 | 253 | \immediate\write18{python2 content/tex/preprocessor.py -i "\@kactldir/#2" -o \@builddir/kactl.tmp #1}
|
253 | 254 | \immediate\input{\@builddir/kactl.tmp}
|
|
324 | 325 |
|
325 | 326 |
|
326 | 327 | \newcommand{\codeheader}[2]{
|
327 |
| - {\par\noindent\scriptsize{\textbf{#1:} #2\par}} |
| 328 | + {\par\noindent\footnotesize{\textbf{#1:} #2\par}} |
328 | 329 | }
|
329 | 330 |
|
330 | 331 | \long\def\@makecaption#1#2{
|
|
0 commit comments