-
Notifications
You must be signed in to change notification settings - Fork 27
/
proposal.tex
112 lines (78 loc) · 3.97 KB
/
proposal.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
\documentclass[11pt,titlepage]{report}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Main file for the proposal document
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% Setup packages, style, etc. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{preamble} %% Use the same preamble as for the project summary
%%%%% Read acronym definitions if available %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\IfFileExists{acronyms.tex}{%
\input{acronyms}}{%
\typeout{Info: acronyms.tex not found}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% Check for needed configuration info %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\IfFileExists{CONFIG-proposal.tex}{%
\input{CONFIG-proposal}}{\typeout{!! CONFIG-proposal.tex not found}}
\IfFileExists{CONFIG-roles.tex}{%
\input{CONFIG-roles}}{\typeout{!! CONFIG-roles.tex not found}}
\IfFileExists{CONFIG-institutions.csv}{%
\input{utilities/make-institution-acronyms.tex}
}{\typeout{!! CONFIG-institutions.csv not found}}
\IfFileExists{CONFIG-investigators.csv}{%
\input{utilities/make-pi-acronyms.tex}
}{\typeout{!! CONFIG-investigators.csv not found}}
\pagenumbering{roman}
%%%%% Frontmatter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{frontmatter/FRONTMATTER}
%%%%% Table of Contents %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\hypertarget{toc}{} %% Use this instead of phantomsection to get link
%% to beginning of TOC instead of
%% end. (Supposedly) requires clearpage before.
\tableofcontents
%%%%% Change page number style %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Force new page, otherwise style change might affect previous page
\newpage
\pagenumbering{arabic}
\pagestyle{fancy}
%%%%% Reset acronym expansion %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\IfFileExists{acronyms.tex}{\glsresetall[acronym]}{}
%%%%% Narrative %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{narrative/NARRATIVE}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% START APPENDICES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\appendix
\renewcommand{\thechapter}{\arabic{chapter}}
\phantomsection
\addappheadtotoc
% Update chapter headings to indicate that they're appendices
\titleformat{\chapter}[hang]
{\normalfont\Huge\bfseries}{\chaptertitlename~\thechapter.}{10pt}{\Huge}
%%%%% Reset acronym expansion %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Uncomment if you want to reset acronym expansion for the appendices
% To reset expansion for *every* appendix, you'll need to copy this.
% \IfFileExists{acronyms.tex}{\glsresetall[acronym]}{}
%%%%% 1. Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\bibname}{References Cited}
\bibliographystyle{bib/cv}
% Multiple bib files are possible. Format is comma separated list,
% relative to this directory, without .bib suffix. So bib/a,bib/b,...
\bibliography{bib/proposal}
%%%%% 2. Facilities %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{facilities/FACILITIES}
%%%%% 3. Equipment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{equipment/EQUIPMENT}
%%%%% 4. Data Management Plan %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{data-plan/DATA-PLAN}
%%%%% 5. PIER Plan %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{pier-plan/PIER-PLAN}
%%%%% 6. Other Attachments %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % It is rare that other attachments are needed.
% \IfFileExists{other-attachments.tex}{\input{other-attachments}}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%