forked from sean-chester/H2020-MSCA-IF-2016
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IF-2016-Part_B.tex
155 lines (133 loc) · 4.54 KB
/
IF-2016-Part_B.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
148
149
150
151
152
153
\documentclass[a4paper,11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{eurosym}
\usepackage{lastpage}
\usepackage{xspace}
\usepackage[margin=15mm,includehead,includefoot]{geometry}
\usepackage{fancyhdr}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{array}
\usepackage[usenames,dvipsnames,table]{xcolor}
\usepackage{csquotes}
\usepackage{pgfgantt}
\usepackage[nohyperlinks,nolist]{acronym}
\usepackage[compact]{titlesec}
% HotFix from http://tex.stackexchange.com/a/300259/84485
% Version1 of titlesec is not compatible with the latest texlive.
% Either the titlesec package must be updated, or the following HotFix used:
\usepackage{etoolbox}
\makeatletter
\patchcmd{\ttlh@hang}{\parindent\z@}{\parindent\z@\leavevmode}{}{}
\patchcmd{\ttlh@hang}{\noindent}{}{}{}
\makeatother
\usepackage{enumitem}
\usepackage[style=verbose-ibid,backend=biber]{biblatex}
\usepackage{hyperref}
\usepackage{amsfonts,amsmath,amssymb}
\usepackage{soul} % for smarter (word-wrapping) underlining.
\usepackage{lineno}
\usepackage{enumitem} % for broken enumerate in ethics section.
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\newcommand{\TODO}[1]{{\textcolor{red}{[\textbf{TODO:} #1]}}}
% \titlespacing\section{0pt}{6pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
% \titlespacing\subsection{0pt}{6pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
% \titlespacing\subsubsection{0pt}{6pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\titleformat*{\section}{\large\bfseries}
\titleformat*{\subsection}{\normalsize\bfseries}
\titleformat*{\subsubsection}{\normalsize\bfseries}
\let\oldfootnotesize\footnotesize
\renewcommand{\footnotesize}{\fontsize{8bp}{1em}\selectfont}
\renewcommand{\cite}{\autocite} % citations in footnotes
\addbibresource{bibliography.bib}
\headheight=14pt
% Explicitly set footnote font size to match call (i.e., 8pt).
% Taken from http://tex.stackexchange.com/a/249422/84485
\makeatletter
\renewcommand\footnotesize{%
\@setfontsize\footnotesize\@ixpt{8}%
\abovedisplayskip 8\p@ \@plus2\p@ \@minus4\p@
\abovedisplayshortskip \z@ \@plus\p@
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
\def\@listi{\leftmargin\leftmargini
\topsep 4\p@ \@plus2\p@ \@minus2\p@
\parsep 2\p@ \@plus\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip
}
\makeatother
\hypersetup{
pdftitle={H2020-MSCA-IF-2016}, % title
pdfauthor={},
colorlinks=true,
citecolor=black,
linkcolor=black,
urlcolor=blue
}
\newcommand{\markStartPageLimit}{%
\begin{flushright}
\textcolor{red}{{\large {\bf START PAGE COUNT \--- MAX 10 PAGES~~~~~}}\\
\rule{\textwidth}{0.5mm}
}\vspace{-.5cm}
\end{flushright}
}
\newcommand{\markEndPageLimit}{%
\vfill
\begin{flushright}
\textcolor{red}{{\large {\bf STOP PAGE COUNT \--- MAX 10 PAGES~~~~~}}\\
\rule{\textwidth}{0.5mm}
}
\end{flushright}
}
% To correctly align fancy headers.
% Courtesy of: http://tex.stackexchange.com/a/88136/84485
\makeatletter
\newcommand{\resetHeadWidth}{\fancy@setoffs}
\makeatother
\pagestyle{fancy}
\fancyhead{}
\fancyhead[C]{\color{gray}{\ac{PropAcronym}\xspace\xspace - Standard EF / CAR / RI / GF\\
(Delete as appropriate and include as header on each page)}}
\fancyfoot{}
\fancyfoot[C]{\color{gray}{Part B - Page \thepage~of \pageref*{sec:endpage}}}
\resetHeadWidth
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\contentsname}{\centerline{TABLE OF CONTENTS}}
% The code below converts all section headings to upper case in the table of contents.
% Courtesy of: http://tex.stackexchange.com/a/156917/84485
\makeatletter
\let\oldcontentsline\contentsline
\def\contentsline#1#2{%
\expandafter\ifx\csname l@#1\endcsname\l@section
\expandafter\@firstoftwo
\else
\expandafter\@secondoftwo
\fi
{%
\oldcontentsline{#1}{\MakeUppercase{#2}}%
}{%
\oldcontentsline{#1}{#2}%
}%
}
\makeatother
%List of acronyms used in the proposal
%read the acronym package manual for details: http://ctan.mackichan.com/macros/latex/contrib/acronym/acronym.pdf
%\acs{PropAcronym} gives acronym [in square brackets]
%\acl{PropAcronym} gives long form of acronym, probably not used {in second set of braces}
%\acf{PropAcronym} gives both
\begin{acronym}
\acro{IF}{Individual Fellowships}
\acro{PropAcronym}[PROPOSAL ACRONYM]{This is my proposal's acronym}
\end{acronym}
\begin{document}
%mark proposal acronym as used, such that the short-hand form is always used by default.
\acused{PropAcronym}
%\begin{linenumbers}
\include{doc1}
\include{doc2}
%\end{linenumbers}
\end{document}