Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- usepackage{titlesec}
- usepackage{listings}
- usepackage{setspace}
- usepackage{changepage}
- usepackage{indentfirst}
- usepackage{titlesec}
- usepackage{listings}
- usepackage{setspace}
- usepackage{changepage}
- usepackage{indentfirst}
- defdegreeprogram#1{gdef@degreeprogram{#1}}
- defdegree#1{gdef@degree{#1}}
- %% Conform headers to school styling for headers -- turabian
- titleformat{chapter}[display]
- {normalfontfontsize{12pt}{16pt}mdseriessinglespacecentering}
- {MakeUppercase{chaptertitlename thechapter}}{12pt}{MakeUppercase}
- %First level; centered, boldface or italic type, headline-style capitalization
- titleformat{section}[block]
- {normalfontfontsize{12pt}{16pt}selectfontbfseriessinglespacecentering}
- {thesection}{1em}{}
- %Second level; centered, regular type, headline-style capitalization
- titleformat{subsection}[block]
- {normalfontfontsize{12pt}{16pt}selectfontmdseriessinglespacecentering}
- {thesubsection}{1em}{}
- %Third level: flush left, boldface or italic type, headline-style capitalization
- titleformat{subsubsection}[block]
- {normalfontfontsize{12pt}{16pt}selectfontbfseriesbfsinglespace}
- {thesubsection}{1em}{}
- %Fourth level: flush left, roman type, sentence-style capitalization
- titleformat{subsubsection}[block]
- {normalfontfontsize{12pt}{16pt}selectfontmdseriesbfsinglespace}
- {thesubsection}{1em}{}
- %Fifth level: run in at beginning of paragraph (no blank line after, boldface or
- % italic type, sentence-style capitalization, terminal period
- titleformat{subsubsection}[block]
- {normalfontfontsize{12pt}{16pt}selectfontmdseriesbfsinglespace}
- {thesubsection}{1em}{}
- % fixup TOC indentation and add . . . separator on Chapter lines
- renewcommand*l@chapter{@dottedtocline{0}{1em}{1.5em}}
- renewcommand*l@section{@dottedtocline{1}{4em}{2em}}
- renewcommand*l@subsection{@dottedtocline{2}{7em}{3em}}
- renewcommand*l@subsubsection{@dottedtocline{3}{10em}{4em}}
- % Fixup chapter lines in TOC for all caps
- def@chapter[#1]#2{ifnum c@secnumdepth >m@ne
- if@mainmatter
- refstepcounter{chapter}%
- typeout{@chapappspacethechapter.}%
- addcontentsline{toc}{chapter}%
- {protectnumberline{thechapter .}MakeUppercase{#1}}%
- else
- addcontentsline{toc}{chapter}{MakeUppercase{#1}}%
- fi
- else
- addcontentsline{toc}{chapter}{MakeUppercase{#1}}%
- fi
- chaptermark{#1}%
- addtocontents{lof}{protectaddvspace{10p@}}%
- addtocontents{lot}{protectaddvspace{10p@}}%
- if@twocolumn
- @topnewpage[@makechapterhead{#2}]%
- else
- @makechapterhead{#2}%
- @afterheading
- fi}
- @starttoc{lof}
- renewcommand{listoffigures}{%
- pagebreakcenteringMakeUppercase{listfigurename}par%
- addcontentsline{toc}{chapter}{MakeUppercase{listfigurename}}%
- mdseries{Figurehfill{Page}}par%
- @starttoc{lof}%
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement