forked from jhkennedy/DOE_latex_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDOEproposal.cls
executable file
·25 lines (22 loc) · 907 Bytes
/
DOEproposal.cls
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
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{DOEproposal}[2016/05/01 DOE proposal style]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass[11pt,letterpaper]{article}
\RequirePackage[in]{fullpage}
\RequirePackage{mathptmx}
\RequirePackage[compact]{titlesec}
\titlespacing{\section}{0pt}{*2}{*0.5}
\titlespacing{\subsection}{0pt}{*0.75}{*0.5}
\titlespacing{\subsubsection}{0pt}{*0.75}{*0.5}
\RequirePackage[sort]{natbib}
\RequirePackage{longtable}
\RequirePackage{color}
\renewcommand*{\title}[1]{\gdef\Title{#1}}
\renewcommand*{\date}[1]{\gdef\Date{#1}}
\newcommand*{\investigator}[1]{\gdef\Investigator{#1}}
\newcommand*{\institute}[1]{\gdef\Institute{#1}}
\newcommand*{\phone}[1]{\gdef\Phone{#1}}
\newcommand*{\email}[1]{\gdef\Email{#1}}
%Command to remove space from itemized lists
\newcommand{\zapspace}{\topsep=1pt\partopsep=1pt\itemsep=1pt\parskip=2pt}