-
Notifications
You must be signed in to change notification settings - Fork 45
/
Header.tex
68 lines (56 loc) · 2.16 KB
/
Header.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
\ifthenelse{\boolean{finalcompile}}{
\usepackage[disable]{todonotes}
\usepackage[final]{showlabels}
}{
\usepackage{todonotes}
%\setlength{\marginparwidth}{2cm}
\paperwidth=\dimexpr \paperwidth + 6cm\relax
\oddsidemargin=\dimexpr\oddsidemargin + 3cm\relax
\evensidemargin=\dimexpr\evensidemargin + 3cm\relax
\marginparwidth=\dimexpr \marginparwidth + 3cm\relax
\usepackage{showlabels}
}
\usepackage{lipsum}
\usepackage[pdftex, colorlinks=true, linkcolor=MidnightBlue, citecolor=MidnightBlue, urlcolor=MidnightBlue, pdfauthor={Dr.\ Martin Hoelzer}, pdfpagelayout=SinglePage, bookmarks, bookmarksopen]{hyperref}
\usepackage{gensymb}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{textcomp}
\usepackage{mathtools}
\usepackage{relsize}
\usepackage[numbered]{bookmark}
%\usepackage{titlesec}
%\usepackage{placeins}
\usepackage[font=small,labelfont={bf,it},textfont=it]{caption}
\captionsetup{format=plain}
\usepackage[noabbrev]{cleveref}
% change labels, e.g.:
\crefname{figure}{Figure}{Figures}
% see also: https://www.namsu.de/Extra/pakete/Cleveref.html
\graphicspath{{figures/}}
\addbibresource{literature.bib}
% use \addbibresource again to add multiple bib files
\AtBeginBibliography{\small}
% command \todo now deprecated by using todonotes
%\newcommand{\todo}[1]{\xspace{\textcolor{red}{\bfseries[TODO: #1]}}\xspace}
\newcommand{\cp}[1]{\xspace{\textcolor{blue}{\bfseries[COPIED: #1]}}\xspace}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Declare your Bibliography
\DeclareBibliographyCategory{reviewed}
\DeclareBibliographyCategory{nonreviewed}
\DeclareBibliographyCategory{patents_pending}
\DeclareBibliographyCategory{patents}
%
% necessary changes to make the selected references bold
% references that need to be bold, their corresponding citation keys should be added to \addtocategory{important}{%...}
\DeclareBibliographyCategory{important}
\colorlet{impentry}{black}% let 'impentry' = Maroon
\AtEveryBibitem{%
\ifcategory{important}%
{\bfseries\color{impentry}}%
{}%
}
\addtocategory{important}{%
Hoelzer:16,Hoelzer:17,Smith2023b,Smith2023c,Smith2023d,MIller1900, % don't miss the comma after the last entry
}
\input{highlight_box.tex}