forked from eopResBaz/ResBaz2022_LaTeX_dockerize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreferences.tex
147 lines (104 loc) · 4.01 KB
/
references.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
%\documentclass[a4paper,twoside,english]{article}
% open any -- no blank line between chapters (default is open on RHS page)
% twocolumn -- two columns of text
% twoside -- intended for 2 sided printing
%\documentclass[openany,onecolumn,oneside,english]{article}
\documentclass[openany,onecolumn,oneside,english]{memoir}
\usepackage{template/eirianstyle}
\usepackage{subfiles}
\usepackage{multicol} % having issues with figures
% only impacts ToC because of eirianstyle.sty
% cannot do this in article
%\chapterstyle{bianchi}
%\chapterstyle{verville}
% alternative, see
% https://tex.stackexchange.com/questions/107064/bibliographies-when-using-subfiles
\usepackage{ifthen}
\newboolean{printBibInSubfiles}
\setboolean{printBibInSubfiles}{true}
\def\bib{\ifthenelse{\boolean{printBibInSubfiles}}
%{\bibliography{documentRef}} %natbib
{\printbibliography{}} %biblatex
}
% bibtex
\bibliography{documentRef}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Minutes Declarations %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% rename "chapter" to "minutes"
% may have to compile twice
% https://tex.stackexchange.com/questions/13387/how-to-get-part-name-in-latex
\renewcommand*{\chaptername}{Reference}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Glossary definitions %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% this calls \makenoidxglossaries %%%
%%% so be sure to create glossary at end of document %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{pages/glossary}
\usepackage{lipsum}
%\color{uoaBody}
\color{uoaDarkGrey}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Begin %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Document %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\setboolean{printBibInSubfiles}{false}
\title{References}
\author{Boaty McBoatface}
\maketitle
\pagenumbering{roman}
% don't reference ToC in ToC
\begin{KeepFromToc}
\tableofcontents
\end{KeepFromToc}
\newpage
%\listoffigures
\newpage
\pagenumbering{arabic}
\chapter{\citetitle{AndCri2011}}
\subfile{pages/reference_notes/AndCri2011.tex}
\chapter{\citetitle{SpeBal2014}}
\subfile{pages/reference_notes/SpeBal2014.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\appendix
%\Renumber{A}
%\appendixpage
%\label{appendixpage}
%\onecolumn
%\subfile{pages/0A_appendices.tex}
% this was duplicating adding appendix to ToC
% if issues occur, rebuild PDF.
%\addappheadtotoc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Glossary %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% add in the glossary
%\twocolumn
\Renumber{G}
\printnoidxglossary[nonumberlist, sort=word]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Renumber{B}
\renewcommand*{\bibfont}{\footnotesize}
% natbib
%\bibliography{documentRef}
%\bibliographystyle{IEEEtranN}
% bibtex
% if bibliography is not printing, clear the cache:
% https://tex.stackexchange.com/questions/212540/biber-problem-in-osx-why-references-not-compiled
% rm -rf `biber --cache`
\printbibliography{}
\end{document}