-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreamble.tex
98 lines (73 loc) · 2.45 KB
/
preamble.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
%%%%%
% Page Geometry
%%%%%
\usepackage{geometry}
\geometry{margin=1in,headheight=1in}
%%%%%
% Headers and Footers
%%%%%
\usepackage{fancyhdr}
\usepackage{transparent}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LO]{\transparent{0.4}\includegraphics[height=0.4in]{Figs/CODAR.png}}
\fancyhead[RO]{\transparent{0.4}\includegraphics[height=0.4in]{Figs/ecp.eps}}
\fancyfoot[CE,CO]{\thepage}
\fancyfoot[LE,LO]{\TITLE{}}
\fancyfoot[RE,RO]{Exascale Computing Project (ECP)}
%%%%%
% Title Formating of Sections
%%%%%
\usepackage[explicit]{titlesec}
\titleformat{\section}
{\normalfont\Large\bfseries}{\thesection}{1em}{#1}[{\titlerule[0.8pt]}]
\usepackage{titlesec}
\titlespacing{\section}{0pt}{*2}{*1.35}
\titlespacing{\subsection}{0pt}{*1.35}{*0.15}
%\titleformat{\subsection}[runin]{\bfseries}{\thesubsection}{1em}{}[.]
%\titleformat{ command }[ shape ]{ format }{ label }{ sep }{ before-code}
%\titleformat{\subsubsection}[runin]{\slshape}{\thesubsubsection}{1em}{}[.]
\titleformat{\subsubsection}[runin]{\bfseries}{\thesubsubsection}{1em}{#1}[.]
\titlespacing{\subsubsection}{0pt}{*0.105}{*1.00}
%\titleformat{\paragraph}[runin]{\bfseries}{\theparagraph}{1em}{}[.]
\titleformat{\paragraph}[runin]{\slshape}{\theparagraph}{1em}{#1}[.]
\titlespacing{\paragraph}{0pt}{*0.105}{*1.00}
\titleformat{\subparagraph}[runin]{}{\thesubparagraph}{1em}{\underline{#1}}[.]
%\titleformat{\subparagraph}[runin]{\bfseries}{\thesubparagraph}{1em}{}[.]
\titlespacing{\subparagraph}{0pt}{*0.105}{*1.00}
%%%%%
% Other packages
%%%%%
\usepackage{enumitem} % For tighter lists
\usepackage{cutwin,pstricks}
\usepackage{tcolorbox}
% Helvetica
% \renewcommand{\rmdefault}{phv}
% \renewcommand{\sfdefault}{phv}
\usepackage[font={footnotesize,bf}]{caption}
\usepackage{comment}
\usepackage{epsfig,wrapfig,url}
\usepackage[hidelinks]{hyperref}
\usepackage{pdfpages}
%\usepackage{amsfonts,amsmath,amscd,amsthm}
%\usepackage[mathscr]{euscript}
% Next line gives us superscript citations
%\usepackage[superscript,biblabel]{cite}
\usepackage{caption,subcaption}
\textfloatsep = 0.1in
\usepackage{array}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\usepackage{amsmath,amssymb}
\newif\iffinal
\finaltrue
\iffinal
\newcommand\todo[1]{}
\newcommand\ian[1]{}
\else
\newcommand\todo[1]{{\color{red}#1}}
\newcommand\ian[1]{{\color{blue}[Ian: #1]}}
\fi
\setcounter{tocdepth}{2}
\setcounter{secnumdepth}{4}
\usepackage{listings} % for code listings
\newcommand\code[1]{{\tt #1}}