Advertisement
Guest User

Thesis master document

a guest
Jun 10th, 2017
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 4.04 KB | None | 0 0
  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %                                                                 %
  3. %                            ROOT FILE                            %
  4. %                                                                 %
  5. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6. %
  7. %  Run LaTeX or pdfLaTeX on this file to produce your thesis.
  8. %  To produce the abstract title page followed by the abstract,
  9. %  see the file abstitle-phd.tex or abstitle-mas.tex.
  10. %
  11. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  12.  
  13. \documentclass[oneside]{book}
  14. \usepackage[left=1.5in,right=1in,top=1in,bottom=1in]{geometry}
  15. \usepackage{color}
  16. \usepackage{xcolor}
  17. \usepackage{nicefrac}
  18. \usepackage{bm}
  19. \usepackage{mathtools}
  20. \usepackage{amssymb}
  21. \usepackage{cancel}
  22. \usepackage{amsfonts}
  23. \usepackage{amsthm}
  24. \usepackage{graphicx}
  25. \usepackage{color}
  26. \usepackage{tocloft}
  27. \usepackage{setspace}
  28. \usepackage[perpage]{footmisc}
  29. \usepackage{xcolor}
  30. \usepackage{fontspec}
  31. \usepackage{adjustbox}
  32. \usepackage[mmddyyyy]{datetime}
  33. \usepackage[hidelinks]{hyperref}
  34. \usepackage{unicode-math}
  35. \usepackage{titlesec}
  36. \interfootnotelinepenalty=9999
  37. \pretolerance=1500
  38. \relpenalty=9500
  39. \binoppenalty=9500
  40. \emergencystretch=0pt
  41. \righthyphenmin=4
  42. \lefthyphenmin=4
  43. \titleformat{\chapter}
  44. {\filcenter\normalfont\Large\bfseries}
  45. {\MakeUppercase{\chaptertitlename}~\thechapter:} {0.5em} {}
  46. \titlespacing{\chapter}{0pt}{0pt}{10pt}
  47. \defaultfontfeatures{Ligatures=TeX}
  48. \setmathfont[Path=\string~/texmf/,Extension=.otf]{xits-math}
  49. \setmainfont{Latin Modern Roman}
  50. \graphicspath{ {plots/} }
  51. \usepackage{fancyhdr}% http://ctan.org/pkg/fancyhdr
  52. \definecolor{mytext}{HTML}{BBBBBB}
  53. \definecolor{mytext}{HTML}{BBBBBB}
  54. \usepackage[hang]{caption}      % to indent subsequent lines of captions
  55. \renewcommand{\captionfont}{\bfseries} % bold caption (needed with caption
  56.                                        % package to restore boldface.)
  57. %\includeonly{chap1}  % use \includeonly to process only
  58.                          % the file(s) listed inside the braces        
  59. \pagestyle{fancy}
  60. \fancyhead{}
  61. \fancyfoot{}
  62. \fancyhead[L]{\S\thesubsection}
  63. \fancyhead[R]{\today}
  64. \fancyfoot[C]{\thepage}
  65. \graphicspath{ {millerpurseyplots/} }
  66. %\renewcommand{\headrulewidth}{0pt}
  67. \renewcommand{\footrulewidth}{0.4pt}
  68. \renewcommand{\contentsname}{TABLE OF CONTENTS \today} %this is so every page has the date on it for drafts
  69. \setlength\parindent{0pt}
  70. \mathtoolsset{showonlyrefs,showmanualtags}
  71. \renewcommand{\thefootnote}{\fnsymbol{footnote}}
  72. \usepackage[toc,xindy,indexonlyfirst]{glossaries}
  73. \newglossarystyle{mylong3col}{%
  74.   \setglossarystyle{long3colheader}%
  75.   \renewcommand\entryname{Symbol}
  76.  \renewcommand{\pagelistname}{Page \mbox{Introduced}}
  77.  \renewenvironment{theglossary}%
  78.     {\setlength\LTleft{0pt}
  79.     \setlength\LTright{0pt}
  80.     \begin{longtable}[l]{@{}lp{0.675\textwidth}p{0.15\textwidth}}}%
  81.     {\end{longtable}}%
  82. }
  83. \setglossarystyle{mylong3col}
  84. \setlength{\glsdescwidth}{0.675\textwidth}
  85. \newcommand{\myj}{\mathscr{j}}
  86. \newcommand{\xs}{\gls*{boldx0}}
  87. \newcommand{\x}{\gls*{boldx}}
  88. \newcommand{\dfn}{\gls*{deltafn}}
  89. \newcommand{\kron}{\gls*{kronecker}}
  90. \newcommand{\dens}{\gls*{dens}}
  91. \newcommand{\gi}{\gls*{gi}_i}
  92. \input{glossary}
  93. \makeatletter
  94. \newcommand \Dotfill {\leavevmode \cleaders \hb@xt@ 0.8em{\hss .\hss }\hfill \kern \z@}
  95. \makeatother
  96. \renewcommand*\glspostdescription{\Dotfill}
  97. \makeglossaries
  98. \newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}}
  99. \numberwithin{equation}{section}
  100. \setlength\cftsubsecnumwidth{4em}
  101. \setlength\parskip{\baselineskip}
  102. \newcommand{\negphantom}[1]{\settowidth{\dimen0}{#1}\hspace*{-\dimen0}}
  103. \begin{document}
  104. \newtheorem{prop}{Proposition}
  105. \newtheorem{theorem}{Theorem}
  106. \newtheorem{lemma}{Lemma}
  107. \tableofcontents
  108. \begin{spacing}{1.5}
  109. \include{chap1} % chapter 1
  110. \include{chap2} % chapter 2
  111. \end{spacing}
  112. \include{bib} % bibliography
  113. \begin{spacing}{1.5}
  114. \include{app}
  115. \end{spacing}
  116. \printglossary[title={LIST OF SYMBOLS}]
  117. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement