| 1 | % requires tex packages: texlive-base texlive-latex-base tex-common texlive-humanities texlive-latex-extra texlive-fonts-recommended
|
|---|
| 2 |
|
|---|
| 3 | % inline code �...� (copyright symbol) emacs: C-q M-)
|
|---|
| 4 | % red highlighting �...� (registered trademark symbol) emacs: C-q M-.
|
|---|
| 5 | % blue highlighting �...� (sharp s symbol) emacs: C-q M-_
|
|---|
| 6 | % green highlighting �...� (cent symbol) emacs: C-q M-"
|
|---|
| 7 | % LaTex escape �...� (section symbol) emacs: C-q M-'
|
|---|
| 8 | % keyword escape �...� (pilcrow symbol) emacs: C-q M-^
|
|---|
| 9 | % math escape $...$ (dollar symbol)
|
|---|
| 10 |
|
|---|
| 11 | \documentclass[letterpaper,12pt,titlepage,oneside,final]{book}
|
|---|
| 12 |
|
|---|
| 13 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|---|
| 14 |
|
|---|
| 15 | % Latex packages used in the document.
|
|---|
| 16 | \usepackage[T1]{fontenc} % allow Latin1 (extended ASCII) characters
|
|---|
| 17 | \usepackage{textcomp}
|
|---|
| 18 | \usepackage[latin1]{inputenc}
|
|---|
| 19 | \usepackage{fullpage,times,comment}
|
|---|
| 20 | \usepackage{epic,eepic}
|
|---|
| 21 | \usepackage{upquote} % switch curled `'" to straight
|
|---|
| 22 | \usepackage{dirtytalk}
|
|---|
| 23 | \usepackage{calc}
|
|---|
| 24 | \usepackage{xspace}
|
|---|
| 25 | \usepackage[labelformat=simple]{subfig}
|
|---|
| 26 | \renewcommand{\thesubfigure}{(\alph{subfigure})}
|
|---|
| 27 | \usepackage{graphicx}
|
|---|
| 28 | \usepackage{tabularx}
|
|---|
| 29 | \usepackage{multicol}
|
|---|
| 30 | \usepackage[acronym]{glossaries}
|
|---|
| 31 | \usepackage{varioref}
|
|---|
| 32 | \usepackage{listings} % format program code
|
|---|
| 33 | \usepackage[flushmargin]{footmisc} % support label/reference in footnote
|
|---|
| 34 | \usepackage{latexsym} % \Box glyph
|
|---|
| 35 | \usepackage{mathptmx} % better math font with "times"
|
|---|
| 36 | \usepackage[usenames]{color}
|
|---|
| 37 | \usepackage[pagewise]{lineno}
|
|---|
| 38 | \renewcommand{\linenumberfont}{\scriptsize\sffamily}
|
|---|
| 39 | \usepackage{fancyhdr}
|
|---|
| 40 | \usepackage{float}
|
|---|
| 41 | \usepackage{siunitx}
|
|---|
| 42 | \sisetup{ binary-units=true }
|
|---|
| 43 | \input{style} % bespoke macros used in the document
|
|---|
| 44 | \usepackage{url}
|
|---|
| 45 | \usepackage[dvips,plainpages=false,pdfpagelabels,pdfpagemode=UseNone,colorlinks=true,pagebackref=true,linkcolor=blue,citecolor=blue,urlcolor=blue,pagebackref=true,breaklinks=true]{hyperref}
|
|---|
| 46 | \usepackage{breakurl}
|
|---|
| 47 | \urlstyle{rm}
|
|---|
| 48 |
|
|---|
| 49 | \usepackage{tikz}
|
|---|
| 50 | \def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;}
|
|---|
| 51 |
|
|---|
| 52 | \setlength{\topmargin}{-0.45in} % move running title into header
|
|---|
| 53 | \setlength{\headsep}{0.25in}
|
|---|
| 54 |
|
|---|
| 55 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|---|
| 56 |
|
|---|
| 57 | % Names used in the document.
|
|---|
| 58 |
|
|---|
| 59 | \newcommand{\Version}{1.0.0}
|
|---|
| 60 | \newcommand{\CS}{C\raisebox{-0.9ex}{\large$^\sharp$}\xspace}
|
|---|
| 61 |
|
|---|
| 62 | \newcommand{\Textbf}[2][red]{{\color{#1}{\textbf{#2}}}}
|
|---|
| 63 | \newcommand{\Emph}[2][red]{{\color{#1}\textbf{\emph{#2}}}}
|
|---|
| 64 | \newcommand{\R}[1]{\Textbf{#1}}
|
|---|
| 65 | \newcommand{\B}[1]{{\Textbf[blue]{#1}}}
|
|---|
| 66 | \newcommand{\G}[1]{{\Textbf[OliveGreen]{#1}}}
|
|---|
| 67 | \newcommand{\uC}{$\mu$\CC}
|
|---|
| 68 | \newcommand{\cit}{\textsuperscript{[Citation Needed]}\xspace}
|
|---|
| 69 | \newcommand{\TODO}{{\Textbf{TODO}}}
|
|---|
| 70 |
|
|---|
| 71 | \input{glossary}
|
|---|
| 72 |
|
|---|
| 73 | \newsavebox{\LstBox}
|
|---|
| 74 |
|
|---|
| 75 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|---|
| 76 |
|
|---|
| 77 | \setcounter{secnumdepth}{2} % number subsubsections
|
|---|
| 78 | \setcounter{tocdepth}{2} % subsubsections in table of contents
|
|---|
| 79 | % \linenumbers % comment out to turn off line numbering
|
|---|
| 80 | \makeindex
|
|---|
| 81 | \pagestyle{fancy}
|
|---|
| 82 | \fancyhf{}
|
|---|
| 83 | \cfoot{\thepage}
|
|---|
| 84 | \rfoot{v\input{version}}
|
|---|
| 85 |
|
|---|
| 86 |
|
|---|
| 87 |
|
|---|
| 88 | %======================================================================
|
|---|
| 89 | % L O G I C A L D O C U M E N T -- the content of your thesis
|
|---|
| 90 | %======================================================================
|
|---|
| 91 | \begin{document}
|
|---|
| 92 | \newtheorem{theorem}{Theorem}
|
|---|
| 93 |
|
|---|
| 94 | % For a large document, it is a good idea to divide your thesis
|
|---|
| 95 | % into several files, each one containing one chapter.
|
|---|
| 96 | % To illustrate this idea, the "front pages" (i.e., title page,
|
|---|
| 97 | % declaration, borrowers' page, abstract, acknowledgements,
|
|---|
| 98 | % dedication, table of contents, list of tables, list of figures,
|
|---|
| 99 | % nomenclature) are contained within the file "thesis-frontpgs.tex" which is
|
|---|
| 100 | % included into the document by the following statement.
|
|---|
| 101 | %----------------------------------------------------------------------
|
|---|
| 102 | % FRONT MATERIAL
|
|---|
| 103 | %----------------------------------------------------------------------
|
|---|
| 104 | % \input{frontpgs}
|
|---|
| 105 |
|
|---|
| 106 | %----------------------------------------------------------------------
|
|---|
| 107 | % MAIN BODY
|
|---|
| 108 | %----------------------------------------------------------------------
|
|---|
| 109 |
|
|---|
| 110 | % \input{intro}
|
|---|
| 111 |
|
|---|
| 112 | \input{CFA_intro}
|
|---|
| 113 |
|
|---|
| 114 | \input{actors}
|
|---|
| 115 |
|
|---|
| 116 | \clearpage
|
|---|
| 117 |
|
|---|
| 118 | % B I B L I O G R A P H Y
|
|---|
| 119 | % -----------------------------
|
|---|
| 120 | \addcontentsline{toc}{chapter}{Bibliography}
|
|---|
| 121 | \bibliographystyle{plain}
|
|---|
| 122 | \bibliography{pl,local}
|
|---|
| 123 | \cleardoublepage
|
|---|
| 124 | \phantomsection % allows hyperref to link to the correct page
|
|---|
| 125 |
|
|---|
| 126 | % G L O S S A R Y
|
|---|
| 127 | % -----------------------------
|
|---|
| 128 | \addcontentsline{toc}{chapter}{Glossary}
|
|---|
| 129 | \printglossary
|
|---|
| 130 | \cleardoublepage
|
|---|
| 131 | \phantomsection % allows hyperref to link to the correct page
|
|---|
| 132 |
|
|---|
| 133 |
|
|---|
| 134 | \end{document}
|
|---|