|
1 | 1 | % |
2 | | -% Thesis class from LaTeX4EI |
| 2 | +% Thesis class from LaTeX4EI |
3 | 3 | % |
4 | 4 | % Authors: Emanuel Regnath, Martin Zellner |
5 | 5 | % Contact: info@latex4ei.de |
6 | | -% Version: 1.0 |
| 6 | +% Version: 1.1 |
7 | 7 | % License: TBD |
8 | | -% |
9 | | -% © 2011-2015, LaTeX4EI |
| 8 | +% |
| 9 | +% © 2011-2018, LaTeX4EI |
10 | 10 |
|
11 | 11 |
|
12 | 12 | % ToDo: |
|
33 | 33 | % define baseclass |
34 | 34 | \def\baseclass{scrreprt} |
35 | 35 |
|
36 | | - % Options |
| 36 | + % Options |
37 | 37 | \newif\ifmarginnumbers\marginnumbersfalse |
38 | 38 | \DeclareOption{marginnumbers}{\marginnumberstrue} |
39 | 39 |
|
|
51 | 51 | % set default options for base class |
52 | 52 | \PassOptionsToClass{a4paper, 11pt}{\baseclass} |
53 | 53 |
|
54 | | - % pass unknown options to base class |
| 54 | + % pass unknown options to base class |
55 | 55 | \DeclareOption*{% |
56 | 56 | \PassOptionsToClass{\CurrentOption}{\baseclass}% |
57 | 57 | } |
|
94 | 94 | % fix for footnotes in tables |
95 | 95 | \RequirePackage{footnote} |
96 | 96 | \makesavenoteenv{tabular} |
97 | | - \makesavenoteenv{table} |
| 97 | + \makesavenoteenv{table} |
98 | 98 | %\shorthandoff{"} % don't convert "A to Ä! |
99 | | - |
100 | | - |
| 99 | + |
| 100 | + |
101 | 101 | % font |
102 | 102 | %\RequirePackage[osf]{mathpazo} % old style numbering |
103 | 103 | %\renewcommand{\rmdefault}{ppl} % cmr, ptm, ppl, pnc, pbk |
|
124 | 124 | \colorlet{col_subsubsection}{tum_blue_dark2} |
125 | 125 | \colorlet{col_table}{tum_blue_dark} |
126 | 126 | \colorlet{col_figure}{tum_blue_dark} |
127 | | - |
| 127 | + |
128 | 128 | \colorlet{col_link}{tum_blue} |
129 | 129 |
|
130 | 130 | \colorlet{col_lst}{tum_blue_dark} |
|
144 | 144 | \RequirePackage{lettrine} |
145 | 145 |
|
146 | 146 |
|
147 | | - % calculate linespacing based on font size |
| 147 | + % calculate linespacing based on font size |
148 | 148 | % char per line: 85 |
149 | 149 | \RequirePackage{setspace} |
150 | 150 | % \setlength{\baselineskip}{3pt} |
|
166 | 166 |
|
167 | 167 |
|
168 | 168 | %\usepackage{natbib} |
169 | | - %\bibliographystyle{natdin} |
| 169 | + %\bibliographystyle{natdin} |
170 | 170 |
|
171 | 171 |
|
172 | 172 | % ====================================================================== |
|
313 | 313 | \setlength{\extrarowheight}{0em}% |
314 | 314 | \renewcommand*{\glossaryheader}{}% have nothing after \begin{theglossary} |
315 | 315 | \renewcommand*{\glsgroupheading}[1]{}% |
316 | | - \renewcommand*{\glsgroupskip}{}% have nothing between glossary groups |
| 316 | + \renewcommand*{\glsgroupskip}{}% have nothing between glossary groups |
317 | 317 | \begin{longtable}{@{}ll@{}}}{\end{longtable}}% |
318 | 318 | \renewcommand*{\glossaryentryfield}[5]{% |
319 | 319 | \textbf{\glstarget{##1}{##2}}% the entry name |
320 | | - ##4% the symbol |
| 320 | + ##4% the symbol |
321 | 321 | & ##3% the description |
322 | 322 | \space\space ##5\\}% the number list |
323 | 323 | } |
|
334 | 334 | \newcommand\frontmatter{% |
335 | 335 | \setcounter{page}{1} % set page counter to 1 |
336 | 336 | \pagenumbering{Roman} % roman figures |
337 | | - \loadgeometry{frontmatter} % |
| 337 | + \loadgeometry{frontmatter} % |
338 | 338 | \pagestyle{empty} % no numbering in the frontmatter |
339 | 339 | \makeatletter |
340 | 340 | \let\ps@oldplain\ps@plain % backup |
341 | | - \let\ps@plain\ps@empty % set plain pagestyle to empty |
| 341 | + \let\ps@plain\ps@empty % set plain pagestyle to empty |
342 | 342 | \makeatother |
343 | 343 | } |
344 | 344 |
|
|
427 | 427 | \else %% Für Einseitig |
428 | 428 | \fancyhead[OL]{\textcolor{black!70}{\leftmark --- \itshape\nouppercase{\rightmark}}} % gerade Seiten, rechts |
429 | 429 | \fancyhead[OR]{\textcolor{black!70}{\thepage}} % gerade Seiten, links |
430 | | - \fi |
| 430 | + \fi |
431 | 431 | \renewcommand{\headrulewidth}{0pt} % Underline headers |
432 | 432 | \renewcommand{\footrulewidth}{0pt} % no footer rule |
433 | 433 | %\fancypagestyle{plain}{} % No chapter+section on chapter start pages |
|
566 | 566 | \makeatletter |
567 | 567 | \@removefromreset{figure}{chapter} % continous figure numbering |
568 | 568 | \renewcommand\p@subfigure{\thefigure} |
569 | | - \renewcommand{\thefigure}{\@arabic\c@figure} |
| 569 | + \renewcommand{\thefigure}{\@arabic\c@figure} |
570 | 570 | \renewcommand{\thesubfigure}{\alph{subfigure})} |
571 | 571 | \makeatother |
572 | 572 |
|
|
649 | 649 | numberstyle=\tiny\sffamily\color{col_lst_number}, |
650 | 650 | numbersep=1em, |
651 | 651 | keepspaces=true, |
652 | | - breaklines=true, |
| 652 | + breaklines=true, |
653 | 653 | breakatwhitespace=true, |
654 | 654 | postbreak=\postbreak, |
655 | 655 | keywordstyle=\bfseries\color{tum_blue_dark}, |
|
0 commit comments