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{graphicx} |
---|
26 | \usepackage{tabularx} |
---|
27 | \usepackage{multicol} |
---|
28 | \usepackage[acronym]{glossaries} |
---|
29 | \usepackage{varioref} |
---|
30 | \usepackage{listings} % format program code |
---|
31 | \usepackage[flushmargin]{footmisc} % support label/reference in footnote |
---|
32 | \usepackage{latexsym} % \Box glyph |
---|
33 | \usepackage{mathptmx} % better math font with "times" |
---|
34 | \usepackage[usenames]{color} |
---|
35 | \usepackage[pagewise]{lineno} |
---|
36 | \usepackage{fancyhdr} |
---|
37 | \usepackage{float} |
---|
38 | \renewcommand{\linenumberfont}{\scriptsize\sffamily} |
---|
39 | \usepackage{siunitx} |
---|
40 | \sisetup{ binary-units=true } |
---|
41 | \input{style} % bespoke macros used in the document |
---|
42 | \usepackage[dvips,plainpages=false,pdfpagelabels,pdfpagemode=UseNone,colorlinks=true,pagebackref=true,linkcolor=blue,citecolor=blue,urlcolor=blue,pagebackref=true,breaklinks=true]{hyperref} |
---|
43 | \usepackage{breakurl} |
---|
44 | |
---|
45 | \usepackage{tikz} |
---|
46 | \def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;} |
---|
47 | |
---|
48 | \renewcommand{\UrlFont}{\small\sf} |
---|
49 | |
---|
50 | \setlength{\topmargin}{-0.45in} % move running title into header |
---|
51 | \setlength{\headsep}{0.25in} |
---|
52 | |
---|
53 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
54 | |
---|
55 | % Names used in the document. |
---|
56 | |
---|
57 | \newcommand{\Version}{1.0.0} |
---|
58 | \newcommand{\CS}{C\raisebox{-0.9ex}{\large$^\sharp$}\xspace} |
---|
59 | |
---|
60 | \newcommand{\Textbf}[2][red]{{\color{#1}{\textbf{#2}}}} |
---|
61 | \newcommand{\Emph}[2][red]{{\color{#1}\textbf{\emph{#2}}}} |
---|
62 | \newcommand{\R}[1]{\Textbf{#1}} |
---|
63 | \newcommand{\B}[1]{{\Textbf[blue]{#1}}} |
---|
64 | \newcommand{\G}[1]{{\Textbf[OliveGreen]{#1}}} |
---|
65 | \newcommand{\uC}{$\mu$\CC} |
---|
66 | \newcommand{\cit}{\textsuperscript{[Citation Needed]}\xspace} |
---|
67 | \newcommand{\TODO}{{\Textbf{TODO}}} |
---|
68 | |
---|
69 | \input{glossary} |
---|
70 | |
---|
71 | \newsavebox{\LstBox} |
---|
72 | |
---|
73 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
74 | |
---|
75 | \setcounter{secnumdepth}{2} % number subsubsections |
---|
76 | \setcounter{tocdepth}{2} % subsubsections in table of contents |
---|
77 | % \linenumbers % comment out to turn off line numbering |
---|
78 | \makeindex |
---|
79 | \pagestyle{fancy} |
---|
80 | \fancyhf{} |
---|
81 | \cfoot{\thepage} |
---|
82 | \rfoot{v\input{version}} |
---|
83 | |
---|
84 | |
---|
85 | |
---|
86 | %====================================================================== |
---|
87 | % L O G I C A L D O C U M E N T -- the content of your thesis |
---|
88 | %====================================================================== |
---|
89 | \begin{document} |
---|
90 | |
---|
91 | % For a large document, it is a good idea to divide your thesis |
---|
92 | % into several files, each one containing one chapter. |
---|
93 | % To illustrate this idea, the "front pages" (i.e., title page, |
---|
94 | % declaration, borrowers' page, abstract, acknowledgements, |
---|
95 | % dedication, table of contents, list of tables, list of figures, |
---|
96 | % nomenclature) are contained within the file "thesis-frontpgs.tex" which is |
---|
97 | % included into the document by the following statement. |
---|
98 | %---------------------------------------------------------------------- |
---|
99 | % FRONT MATERIAL |
---|
100 | %---------------------------------------------------------------------- |
---|
101 | \input{frontpgs} |
---|
102 | |
---|
103 | %---------------------------------------------------------------------- |
---|
104 | % MAIN BODY |
---|
105 | %---------------------------------------------------------------------- |
---|
106 | |
---|
107 | \input{intro} |
---|
108 | |
---|
109 | \input{cforall} |
---|
110 | |
---|
111 | \input{basics} |
---|
112 | |
---|
113 | \input{concurrency} |
---|
114 | |
---|
115 | \input{parallelism} |
---|
116 | |
---|
117 | \input{internals} |
---|
118 | |
---|
119 | \input{together} |
---|
120 | |
---|
121 | \input{results} |
---|
122 | |
---|
123 | \input{future} |
---|
124 | |
---|
125 | \clearpage |
---|
126 | \printglossary[type=\acronymtype] |
---|
127 | \printglossary |
---|
128 | |
---|
129 | \clearpage |
---|
130 | \bibliographystyle{plain} |
---|
131 | \bibliography{cw92,distSharedMem,lfp92,mlw92,parallel,parallelIO,partheory,pl,pldi92,ps,realtime,techreportsPAB,visual,local} |
---|
132 | |
---|
133 | |
---|
134 | \end{document} |
---|