- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/thesis.tex
rc88f0cf r2655031 1 1 % Main tex file for thesis document. 2 2 \documentclass[digital]{uw-ethesis} 3 \usepackage{comment} 4 \usepackage{fullpage} 5 \setlength{\textheight}{8.75in} 6 \renewcommand\labelitemi{\footnotesize$\bullet$} % shrink bullet for level 1 itemize 7 \usepackage{lmodern} % bold typewriter font 8 9 \usepackage{listings} % format program code 10 % Default underscore is too low and wide. Cannot use lstlisting "literate" as replacing underscore 11 % removes it as a variable-name character so keywords in variables are highlighted. MUST APPEAR 12 % AFTER HYPERREF. 13 %\DeclareTextCommandDefault{\textunderscore}{\leavevmode\makebox[1.2ex][c]{\rule{1ex}{0.1ex}}} 14 \renewcommand{\textunderscore}{\leavevmode\makebox[1.2ex][c]{\rule{1ex}{0.075ex}}} 15 % parindent is relative, i.e., toggled on/off in environments like itemize, so store the value for 16 % use rather than use \parident directly. 17 \newlength{\parindentlnth} 18 \setlength{\parindentlnth}{\parindent} 19 20 % CFA programming language, based on ANSI C (with some gcc additions) 21 \lstdefinelanguage{CFA}[ANSI]{C}{ 22 morekeywords={ 23 _Alignas, _Alignof, __alignof, __alignof__, asm, __asm, __asm__, __attribute, __attribute__, 24 auto, _Bool, catch, catchResume, choose, _Complex, __complex, __complex__, __const, __const__, 25 coroutine, disable, dtype, enable, exception, __extension__, fallthrough, fallthru, finally, 26 __float80, float80, __float128, float128, forall, ftype, generator, _Generic, _Imaginary, __imag, __imag__, 27 inline, __inline, __inline__, __int128, int128, __label__, monitor, mutex, _Noreturn, one_t, or, 28 otype, restrict, resume, __restrict, __restrict__, __signed, __signed__, _Static_assert, suspend, thread, 29 _Thread_local, throw, throwResume, timeout, trait, try, ttype, typeof, __typeof, __typeof__, 30 virtual, __volatile, __volatile__, waitfor, when, with, zero_t}, 31 moredirectives={defined,include_next}, 32 % replace/adjust listing characters that look bad in sanserif 33 literate={-}{\makebox[1ex][c]{\raisebox{0.5ex}{\rule{0.8ex}{0.1ex}}}}1 {^}{\raisebox{0.6ex}{$\scriptstyle\land\,$}}1 34 {~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 % {`}{\ttfamily\upshape\hspace*{-0.1ex}`}1 35 {<}{\textrm{\textless}}1 {>}{\textrm{\textgreater}}1 36 {<-}{$\leftarrow$}2 {=>}{$\Rightarrow$}2 {->}{\makebox[1ex][c]{\raisebox{0.5ex}{\rule{0.8ex}{0.075ex}}}\kern-0.2ex{\textrm{\textgreater}}}2, 37 } 38 39 \lstset{ 40 language=CFA, 41 columns=fullflexible, 42 basicstyle=\linespread{0.9}\tt, % reduce line spacing and use sanserif font 43 stringstyle=\tt, % use typewriter font 44 tabsize=5, % N space tabbing 45 xleftmargin=\parindentlnth, % indent code to paragraph indentation 46 %mathescape=true, % LaTeX math escape in CFA code $...$ 47 escapechar=\$, % LaTeX escape in CFA code 48 keepspaces=true, 49 showstringspaces=false, % do not show spaces with cup 50 showlines=true, % show blank lines at end of code 51 aboveskip=4pt, % spacing above/below code block 52 belowskip=3pt, 53 moredelim=**[is][\color{red}]{`}{`}, 54 }% lstset 55 56 \lstnewenvironment{cfa}[1][] 57 {\lstset{#1}} 58 {} 59 % inline code @...@ 3 60 4 61 % Commands used in documenting how to use the template. To remove. … … 13 70 % For including graphics, sets the pdftex graphics driver. 14 71 \usepackage[pdftex]{graphicx} 72 73 \usepackage{cfalab} 15 74 16 75 \usehyperrefpackage[pdftex,pagebackref=false]{ … … 43 102 type=nomenclature, 44 103 name=dingledorf, 45 description={A person of supposed average intelligence who makes incredibly brainless misjudgments} 104 description={A person of supposed average intelligence who makes incredibly 105 brainless misjudgments} 46 106 } 47 107 48 108 % List of Abbreviations (abbreviations are from the glossaries-extra package) 49 \newabbreviation{aaaaz}{AAAAZ}{American Association of Amature Astronomers and Zoologists} 109 \newabbreviation{aaaaz}{AAAAZ}{American Association of Amature Astronomers 110 and Zoologists} 50 111 51 112 % List of Symbols … … 56 117 sort={label}, 57 118 type=symbols, 58 description={Random vector: a location in n-dimensional Cartesian space, where each dimensional component is determined by a random process} 59 } 119 description={Random vector: a location in n-dimensional Cartesian space, where 120 each dimensional component is determined by a random process} 121 } 122 123 % Must be here of cause problems with glossaries-extra. 124 \lstMakeShortInline$% 60 125 61 126 % Generate the glossaries defined above. … … 72 137 % MAIN BODY 73 138 %---------------------------------------------------------------------- 139 \input{unwinding} 140 74 141 %====================================================================== 75 142 \chapter{Introduction}
Note: See TracChangeset
for help on using the changeset viewer.