-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmain.tex
More file actions
257 lines (226 loc) · 7.6 KB
/
main.tex
File metadata and controls
257 lines (226 loc) · 7.6 KB
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
\PassOptionsToPackage{table}{xcolor}
\documentclass[12pt, bookmarks=true, colorlinks=true, allcolors=blue, twoside, letter]{report}
\usepackage[top=25mm, bottom=25mm, bindingoffset=0mm, inner=25mm, outer=25mm]{geometry}
\usepackage{float}
\setlength\parindent{0pt}
\usepackage{blindtext}
\usepackage[colorlinks=true,linkcolor=blue]{hyperref}%
\usepackage{tcolorbox}
\setlength{\parskip}{12pt}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{tabularray}
\usepackage{ragged2e}
\usepackage{array}
\usepackage{pdflscape}
\usepackage{emptypage}
\usepackage{rotating}
\usepackage[labelfont=bf]{caption}
\captionsetup[table]{skip=10pt}
\captionsetup[figure]{skip=10pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{chngcntr}
% Reset section numbers per appendix chapter
\counterwithin{section}{chapter}
\counterwithin{figure}{chapter}
\counterwithin{table}{chapter}
\counterwithin{figure}{section}
\counterwithin{table}{section}
% Make sections/subsections show the appendix letter: E.1, E.1.1, ...
\renewcommand{\thesection}{\thechapter.\arabic{section}}
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{comment}
\usepackage{pdfpages}
\usepackage{multicol}
\usepackage[
backend=biber,
style=authoryear,
maxbibnames=20,
maxcitenames=2,
mincitenames=1,
giveninits=true,
uniquename=false,
uniquelist=false
]{biblatex}
\ExecuteBibliographyOptions{maxcitenames=3,mincitenames=1}
\addbibresource{references.bib}
\renewcommand{\thesection}{\arabic{section}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{xcolor}
%\usepackage{sectsty}
%\chapterfont{\color{green}} % sets colour of chapters
%\sectionfont{\color{green}} % sets colour of sections
%\subsectionfont{\color{green}} % sets colour of sections
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setcounter{secnumdepth}{5}
%%%%%%%%%%%
% For equations
\usepackage{array}
\newenvironment{conditions}
{\par\vspace{\abovedisplayskip}\noindent\begin{tabular}{>{$}l<{$} @{${}={}$} l}}
{\end{tabular}\par\vspace{\belowdisplayskip}}
%%%%%%%%%%%
%%%%%%%%%%%
% toc
\usepackage{titlesec}
\usepackage[toc,page]{appendix}
%%%%%%%%%%%
\usepackage{amsmath}
\usepackage{pdflscape}
\usepackage{tabularray}
\usepackage{markdown}
%%%%%%%%%%%%%% Hphenation fix
\usepackage[none]{hyphenat}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Table with notes
\usepackage{threeparttable} % new
\usepackage{siunitx} % new
\usepackage{xparse} % new
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%% Line ending fix
\emergencystretch 3em
%%%%%%%%%%%%%%% Page distribution fix
\raggedbottom
%%%%%%%%%%%%%%%% Font options
%\usepackage{cmbright}
%\usepackage[sfdefault,light]{FiraSans} %% option 'sfdefault' activates Fira Sans as the default text font
%\usepackage[T1]{fontenc}
%\renewcommand*\oldstylenums[1]{{\firaoldstyle #1}}
\renewcommand{\familydefault}{\sfdefault}
%\renewcommand{\familydefault}{\sfdefault} % Use CMSS explicitly
%\renewcommand{\familydefault}{\ttdefault}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% for equations cmss
\usepackage{sansmath} % for equations cmss
\sansmath
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% in the document preamble for subsection footnotes
\usepackage[stable]{footmisc}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%TOC Depth
\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}
%%% Last line numbers
\usepackage{lineno}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{sections/01_title}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%deactivate maketitle if Using IFPRI's cover page
%\maketitle
% Use IFPRI's cover page (page= is which page number to insert, in this case first and only page)
%\includepdf[pages={1}, scale=1.01]{ReportCover_IMPACT_2024.pdf}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{sections/02a_information}
\input{sections/02b_authors}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{sections/02c_copyright_and_citation}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\tableofcontents
\addtocontents{toc}{
\protect\thispagestyle{empty}}
\thispagestyle{empty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\listoffigures
\addtocontents{lof}{
\protect\thispagestyle{empty}}
\thispagestyle{empty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\listoftables
\addtocontents{lot}{
\protect\thispagestyle{empty}}
\thispagestyle{empty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{sections/03_abstract}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{sections/04_ackn}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{sections/05_abbr}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setcounter{section}{0}
\label{chapter1}
\input{sections/10_introduction}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\label{chapter2}
\input{sections/20_history}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\label{chapter3}
\input{sections/30_scenario_analysis}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\label{chapter4}
\input{sections/40_impact_mmm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\label{chapter5}
\input{sections/50_impact_model_system}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\label{chapter6}
\input{sections/60_summary}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{appendices}
\chapter{Geography}
\setcounter{table}{0}
\setcounter{figure}{0}
\renewcommand{\thetable}{A\arabic{table}}
\renewcommand{\thefigure}{A\arabic{figure}}
\renewcommand{\thesection}{A\arabic{section}}
\renewcommand{\thesubsection}{A\arabic{subsection}}
\renewcommand{\thesubsubsection}{A\arabic{subsubsection}}
\input{appendix/a}
\chapter{Activities and commodities}
\setcounter{table}{0}
\setcounter{figure}{0}
\renewcommand{\thetable}{B\arabic{table}}
\renewcommand{\thefigure}{B\arabic{figure}}
\renewcommand{\thesection}{B\arabic{section}}
\renewcommand{\thesubsection}{B\arabic{subsection}}
\renewcommand{\thesubsubsection}{B\arabic{subsubsection}}
\input{appendix/b}
\chapter{Data inputs and outputs}
\setcounter{table}{0}
\setcounter{figure}{0}
\renewcommand{\thetable}{C\arabic{table}}
\renewcommand{\thefigure}{C\arabic{figure}}
\renewcommand{\thesection}{C\arabic{section}}
\renewcommand{\thesubsection}{C\arabic{subsection}}
\renewcommand{\thesubsubsection}{C\arabic{subsubsection}}
\input{appendix/c}
\chapter{Crop models}
\setcounter{table}{0}
\setcounter{figure}{0}
\renewcommand{\thetable}{D\arabic{table}}
\renewcommand{\thefigure}{D\arabic{figure}}
\renewcommand{\thesection}{D\arabic{section}}
\renewcommand{\thesubsection}{D\arabic{subsection}}
\renewcommand{\thesubsubsection}{D\arabic{subsubsection}}
\input{appendix/d}
\chapter{Water models}
\setcounter{table}{0}
\setcounter{figure}{0}
\renewcommand{\thetable}{E\arabic{table}}
\renewcommand{\thefigure}{E\arabic{figure}}
\renewcommand{\thesection}{E\arabic{section}}
\renewcommand{\thesubsection}{E\arabic{subsection}}
\renewcommand{\thesubsubsection}{E\arabic{subsubsection}}
\input{appendix/e}
\chapter{Changelog}
\input{appendix/f}
\end{appendices}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\AtNextBibliography{\footnotesize}
\setlength\bibitemsep{1.5\itemsep}
\begin{multicols}{2}
\printbibliography
\end{multicols}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\input{sections/02c_copyright_and_citation}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}