ISU Template with Traditional Format (ver 5.01.2022) (6)
Author
Iowa State University Graduate College
Last Updated
2년 전
License
Creative Commons CC BY 4.0
Abstract
Iowa State University LaTeX template for thesis and dissertation, traditional format
% Template file for a standard thesis
\documentclass[11pt]{isuthesis}
%\usepackage{chapterbib}
\usepackage[pdftex]{graphicx}
%\usepackage[T1]{fontenc} % This changes fonts to type 1 fonts the default in this package is type 3
% Standard, old-style thesis
\usepackage{isutraditional}
%\usepackage{indentfirst}
\chaptertitle
% Old-style, thesis numbering down to subsubsection
\alternate
\usepackage{rotating}
% Bibliography without numbers or labels
\usepackage{natbib}
% Use the following line if you want square brackets and numbering system. Make sure you use "acm" or similar styles with numbering and not apa
%\usepackage[square, numbers]{natbib}
%\bibliographystyle{acm}
\bibliographystyle{apa}
%Optional Package to add PDF bookmarks and hypertext links
\usepackage[pdftex,hypertexnames=false,linktocpage=true, breaklinks=true]{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,anchorcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,bookmarksnumbered=true,pdfview=FitB}
\usepackage{bookmark}
% The following piece of code removes extra space on the top of each chapter
% that is default of latex report class documents
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@makechapterhead}{50\p@}{0pt}{}{}
\patchcmd{\@makeschapterhead}{50\p@}{0pt}{}{}
%%%%%%%%%%%%% using the etoolbox package to patch the sectional units commands to ADD VERTICAL SPACE TO THE TOC
%\pretocmd{\chapter}{\addtocontents{toc}{\protect\addvspace{15\p@}}}{}{}
%\pretocmd{\section}{\addtocontents{toc}{\protect\addvspace{5\p@}}}{}{}
\setlength{\@fptop}{0pt} %command added to ensure images always float on top of the page
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% In order to change space between the Table of contents items go to isuthesis.cls
% line \renewcommand{\l@chapter}[2]{\addpenalty{-\@highpenalty}....
% change \vkip values
%%%%%%%%%%%%%%%%%%%%%%%%%%
%% This is to minimize orphan lines. Might not be possible to entirely remove them
% Method 1 of doing this
%\widowpenalty10000
%\clubpenalty10000
% Method 2 of doing this
\usepackage[all]{nowidow}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{float}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Set the margins in the whole documenst
\geometry{letterpaper, left=1in, top=1in, right=1in, bottom=1in, includehead=true}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amssymb}
\usepackage[intoc, english]{nomencl}
\usepackage[inline]{enumitem}
\begin{document}
\DeclareGraphicsExtensions{.jpg,.pdf,.mps,.png}
%\begin{singlespace}
\def\@makechapterheada{\vspace*{-2cm}\titlepage} % in order to reduce the space between margin and heading in titlepage
\include{Preface/titlepage}
% Left-justified setting for all sections including
% dedication, nomenclature, acknowledgement, abstract and all chapters
% Re-position the two lines below will change all the section
% being compiled after those two lines
\raggedright
\parindent 0.25 in % set all paragraphs in the document to have indent
% Optional thesis dedication
\include{Preface/dedication}
% Table of Contents, List of Tables and List of Figures
\pdfbookmark[1]{TABLE OF CONTENTS}{table}
\tableofcontents
%% The line below adds the word "Page" over the page numbers in TOC, LOT, LOF
\addtocontents{toc}{~\hfill\textbf{Page}\par}
\addtocontents{lot}{~\hfill\textbf{Page}\par}
\addtocontents{lof}{~\hfill\textbf{Page}\par}
%%
\addtocontents{toc}{\def\protect\@chapapp{}} \cleardoublepage \phantomsection
\pagebreak
\addcontentsline{toc}{chapter}{LIST OF TABLES}
\listoftables
\cleardoublepage \phantomsection \addcontentsline{toc}{chapter}{LIST OF FIGURES}
\listoffigures
%Optional Nomenclature
\cleardoublepage \phantomsection
\include{Preface/nomenclature}
% Comment out the next line if NOT using chaptertitle
\addtocontents{toc}{\def\protect\@chapapp{CHAPTER\ }}
%Optional Acknowledgements
\cleardoublepage \phantomsection
\include{Preface/acknowl}
%Optional thesis abstract
\cleardoublepage \phantomsection
\include{Preface/abstract}
%\cleardoublepage \phantomsection
\newpage
\pagenumbering{arabic}
\include{Body/chapter1}
\include{Body/chapter2}
\include{Body/chapter3}
\include{Body/chapter4}
\include{Body/chapter5}
%\include{Reference/biblio}
\include{Reference/bibtex}
\include{Appendix/appendix1}
% Instruction for single appendix check instruction in Appendix/appendix1.tex on top of the file
\include{Appendix/appendix2}
\end{document}
% IMPORTANT NOTES
% TABLE OF CONTENTS :
% TOPIC 1: If you need a page break follow the steps below
% step1
% check before which chapter in the table of contents you want a page break
% step 2
% go the folder "body". There open the chapter tex file that you noted needed page break in the table of contents..
% step 3
% insert \addtocontents{toc}{\protect\newpage} before the first line i.e. before the line \chapter{RESULTS}.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \def\@makechapterhead#1{%
% IN ORDER TO MAKE spacing changes in the title page got to the section in the isuthesis.cls file
% that starts with \long\def\maketitle{\begin{titlepage} and you can use options like
% singlespace (less spacing)
%singlespacing (comparitively more spacing almost like 2 spacing)
% onehalfspacing
%doublespacing (this is more spacing than the singlespacing above )
% more definitions on spacing can be found by going through the class file
% use \isucaption{} for all captions of figures and tables, where the captions are not too long.
% Use \isucaption[]{} with the square brackets for short caption of figure or table that goes into the list of tables and list of figures, and the curly brackets can have long captions which go with the figure/ table.
%%%%%% Using sub figures
% %%% In preamble include : \usepackage{subfig}
% \begin{figure}[htbp]
% \centering
% \subfloat[first caption.\label{fig:2a}]{\includegraphics[width=0.2\textwidth]{Images/dc5.jpg}}\hfill
% \subfloat[second caption.\label{fig:2b}] {\includegraphics[width=0.2\textwidth]{Images/dc5.jpg}}\hfill
% \isucaption{Sub-figure test}
% \label{fig:subfigure-test}
% \end{figure}
% Subfloat reference: Fig \ref{fig:2a}
% Figure reference: Fig \ref{fig:subfigure-test}