-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreamble.tex
69 lines (69 loc) · 1.78 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
\usepackage{ifxetex,ifluatex}
\newif\ifxetexorluatex
\ifxetex
\xetexorluatextrue
\else
\ifluatex
\xetexorluatextrue
\else
\xetexorluatexfalse
\fi
\fi
\ifxetexorluatex
\usepackage{fontspec}
\else
\usepackage[T1]{fontenc}
\fi
\usepackage[normalem]{ulem}
\usepackage[utf8]{inputenc}
\usepackage{textcomp,lipsum,comment,tabularx,array,indentfirst}
\usepackage{caption,setspace}
\captionsetup{font={stretch=1.3}}
\usepackage[section]{tocbibind}
\usepackage[version=3]{mhchem}
\includecomment{comment}
\usepackage[per-mode = symbol]{siunitx}
\DeclareSIUnit\curie{Ci}
\DeclareSIUnit\molar{M}
\usepackage{textcomp}
\DeclareSIUnit[number-unit-product = \,]{\promille}{\textperthousand}
\setlength{\bibsep}{2pt}
\raggedright
\raggedbottom
\setlength{\parindent}{.3in}
\usepackage{chngcntr}
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
\renewcommand{\nomname}{Abbreviations}
\def\nompreamble{\addcontentsline{toc}{section}{\nomname}\markboth{\nomname}{\nomname}}
\let\nomenclOrig\nomenclature
\renewcommand*{\nomenclature}[3][]{#2\nomenclOrig[#1]{#2}{#3}}
\renewcommand{\@makechapterhead}[1]{
{\parindent \z@ \centering \normalfont
\ifnum
\c@secnumdepth >\m@ne \bfseries \thechapter .
\fi
\bfseries \MakeUppercase{ #1 }\par
\nobreak
\vskip 20\p@
}
}
\renewcommand\section{\@startsection {section}{1}{\z@}
{-3.5ex \@plus -1ex \@minus -.2ex}
{2.3ex \@plus.2ex}
{\centering \normalfont \bfseries}}
\usepackage{fancyhdr}
\fancypagestyle{preamblepages}
{
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C] {\thepage}
}
\fancypagestyle{contentpages}
{
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyhead[R] {\thepage}
}
\pagestyle{preamblepages}
\geometry{left=1.5in,right=1in,top=1.5in,bottom=1in,headheight=0pt,headsep=0pt,footskip=0pt,includeall}