% +--------------------------------------------------------------------+
% | LaTeX Template |
% | for K-State Electronic Theses, Dissertations, and Reports |
% | |
% | Comments and guidelines for using the template are shown |
% | within boxes like this one. |
% | |
% | Revised 6/30/06 |
% | 9/14/06: Removed typos |
% | 3/29/13: Commented out hypernat package |
% | 4/5/13: Changed to plain bib style
% | 5/17/13: added /cleardoublepage and /phantomsection to
% | /bibliography to correct TOC page problem
% | 5/17/13: Fixed TOC problem with Dedication, Preface, etc. |
% +--------------------------------------------------------------------+
% +--------------------------------------------------------------------+
% | Your paper should contain the following sections, except where |
% | indicated as optional, in the order shown. Also, all headings |
% | shown with an asterisk (*) must be centered and in uppercase |
% | letters: |
% | |
% | Abstract Title Page (doctoral dissertations only) |
% | ABSTRACT* (doctoral dissertations only) |
% | Title Page |
% | Copyright Page (Optional - only needed if copyrighting) |
% | ABSTRACT * |
% | TABLE OF CONTENTS * |
% | LIST OF FIGURES * |
% | LIST OF TABLES* |
% | ACKNOWLEDGMENTS* (Optional) |
% | DEDICATION * (Optional) |
% | PREFACE * (Optional) |
% | Individual Chapters |
% | References and/or bibliography |
% | Appendices (as needed) |
% +--------------------------------------------------------------------+
% +--------------------------------------------------------------------+
% | The LaTex keyword \documentclass selects a particular class to |
% | associate with the document. The current documentclass |
% | {class_diss} generates a Table of Contents that has leading dots |
% | only on chapter subheadings. If you prefer a Table of Contents |
% | that has leading dots for all entries, replace {class_diss} |
% | with {Mydiss} in the command below. |
% | |
% +--------------------------------------------------------------------+
\documentclass[final, 12pt,oneside]{class_diss}
% +--------------------------------------------------------------------+
% | The bibliography style is set to a generic superscript. Other |
% | styles are available in the styles directory. To use an |
% | author/year style, you'll need to make several adjustments: |
% | 1. In the \bibliographystyle command below, replace "unsrtnat" |
% | with the desired style from the \styles directory, e.g., |
% | \bibliographystyle{styles\apa} |
% | 2. In the \bibpunct command (several lines below), change the |
% | "s" to an "a" |
% | 3. Use "\citep" rather than "\cite" when making a citation in |
% | the text. |
% +--------------------------------------------------------------------+
\bibliographystyle{unsrtnat}
% +--------------------------------------------------------------------+
% | Now, we add in all external packages that we will use throughout |
% | the document. You can add other packages as needed.
% +--------------------------------------------------------------------+
%\usepackage{ caption2} % Customize captions a bit more
\usepackage{ amsmath} % American Mathematics Society standards
%\usepackage{ wrapfig} % Wraps text around a figure or table
\usepackage{ graphicx} % Extended graphics package.
%\usepackage{ fancyhdr} % Efficiently handles headers and footers
%\usepackage{ braket} % Bra-Ket notation package
%\usepackage{ mathrsfs} % Specialized Math fonts (Hamiltonian, etc.)
%\usepackage{boxedminipage} % Boxed text can be produced
%\usepackage{ setspace} % Controls line spacing via \begin{space}
\usepackage{amsxtra}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{latexsym}
\usepackage{setspace}
% +--------------------------------------------------------------------+
% | The color package allows one to select colors for hyperlinking |
% | (see below). |
% +--------------------------------------------------------------------+
\usepackage[usenames]{color}
% +--------------------------------------------------------------------+
% | Colors defined for use with this template. |
% +--------------------------------------------------------------------+
\definecolor{ Pink}{rgb}{1.0, 0.5, 0.5}
\definecolor{Maroon}{rgb}{0.8, 0.0, 0.0}
% +--------------------------------------------------------------------+
% | In the commands below, we use the 'natbib' package, and specify |
% | the 'sort&compress' option, which condenses |
% | citations from (1,2,3,5,9,10,11) to (1-3,5,9-11). The 'bibpunct' |
% | option selects various parameters for how the citation will be |
% | displayed. In this case, only the comma (separation between |
% | citations) and the 's' (superscript) arguments are chosen. The |
% | other curly braces deal with how to 'wrap' the citation (using |
% | parentheses, brackets, etc.) and are not needed for the chosen |
% | style. |
% +--------------------------------------------------------------------+
\usepackage{natbib}
\bibpunct{}{}{,}{s}{}{}
%\usepackage{hypernat}
% +--------------------------------------------------------------------+
% | Lastly, the hyperref package allows one to hyperlink cross- |
% | references and figures in a LaTeX document. |
% | 3/29/13 - Hypernat package commented out because it is no longer |
% | needed with later versions of hyperref and natbib. |
% +--------------------------------------------------------------------+
\usepackage[pdftex, plainpages=false, pdfpagelabels]{hyperref}
\hypersetup{
linktocpage=true,
colorlinks=true,
bookmarks=true,
citecolor=blue,
urlcolor=red,
linkcolor=Maroon,
citebordercolor={1 0 0},
urlbordercolor={1 0 0},
linkbordercolor={.7 .8 .8},
breaklinks=true,
pdfpagelabels=true,
}
% +--------------------------------------------------------------------+
% | Page margins are set on 1 inch on all sides. |
% +--------------------------------------------------------------------+
\topmargin = -0.56in
\textheight = 8.60in
\textwidth = 6.46in
\oddsidemargin = 0.02in
% +--------------------------------------------------------------------+
% | The document finally begins here. |
% +--------------------------------------------------------------------+
\doublespacing
\begin{document}
% +--------------------------------------------------------------------+
% | Masters Students -- You Need to Make Some Changes Here
% | The Abstract Title page and Abstract following the Abstract Title
% | page are required only for doctoral dissertations. For masters
% | theses or reports, comment out or delete the following 7 lines:
% | \input{abstracttitle.tex} through \end{abstract}. You will also
% | need to uncomment two lines under "Abstract" below.
% |
% +--------------------------------------------------------------------+
\input{abstracttitle.tex}
\begin{abstract}
\setcounter{page}{-1}
\pdfbookmark[0]{Abstract}{PDFAbstractPage}
\input{abstract.tex}
\vfill
\end{abstract}
% +--------------------------------------------------------------------+
% | Title Page -- Required for both Doctoral and Masters Students
% +--------------------------------------------------------------------+
\input{title.tex}
% +--------------------------------------------------------------------+
% | Copyright Page -- Required for both Doctoral and Masters Students
% +--------------------------------------------------------------------+
\input{copyright.tex}
% +--------------------------------------------------------------------+
% | Abstract -- Required for both Doctoral and Masters Students
% +--------------------------------------------------------------------+
\begin{abstract}
% +--------------------------------------------------------------------+
% | For masters theses or reports, uncomment the following commands:
% +--------------------------------------------------------------------+
%\setcounter{page}{-1}
%\pdfbookmark[0]{Abstract}{PDFAbstractPage}
\input{abstract.tex}
\vfill
\end{abstract}
% +--------------------------------------------------------------------+
% | We use the following code to suppress page numbers and other
% | style issues we do not want present on a given page. |
% +--------------------------------------------------------------------+
%\thispagestyle{empty} Looks like it's ok to remove this line
\newpage
\pagenumbering{roman}
% +--------------------------------------------------------------------+
% | On the line below, set the number to represent the page number of
% | the Table of Contents page. For example, if the Table of Contents
% | page is the 8th page of your document, enter 8 in the brackets. This
% | number may vary, depending on the length of your abstract.
% |
% | Numbers do not appear on the title and abstract pages, but they are
% | included in the page count. The Table of Contents page is the
% | first page on which page numbers are displayed.
% +--------------------------------------------------------------------+
\setcounter{page}{8}
% +--------------------------------------------------------------------+
% | Here, we will generate our Table of Contents (TOC) entries. |
% | This adds the section to the TOC and then generates the indicated |
% | section. |
% +--------------------------------------------------------------------+
\phantomsection
\addcontentsline{toc}{chapter}{Table of Contents}
\tableofcontents
\listoffigures
\listoftables
%\hfill Are these lines necessary?
%\hfill
% +--------------------------------------------------------------------+
% | Acknowledgements Page
% |
% | If you choose not to have an Acknowledgements page, comment out
% | or delete the following 3 lines.
% +--------------------------------------------------------------------+
\phantomsection
\addcontentsline{toc}{chapter}{Acknowledgements}
\input{acknowledge.tex}
% +--------------------------------------------------------------------+
% | Dedication Page
% |
% | If you choose not to have a Dedication page, comment out
% | or delete the following 3 lines.
% +--------------------------------------------------------------------+
\phantomsection
\addcontentsline{toc}{chapter}{Dedication}
\input{dedication.tex}
% +--------------------------------------------------------------------+
% | Preface Page
% +--------------------------------------------------------------------+
\addcontentsline{toc}{chapter}{Preface}
\input{preface.tex}
\phantomsection
% +--------------------------------------------------------------------+
% | We use arabic (1, 2, 3...) page numbering starting from page 1. |
% | Note, however, that there are many pages where this is not the |
% | desired behavior - such as the Title page, or abstract. In these |
% | cases, we can use \thispagestyle{empty} to suppress page numbers, |
% | and other general style issues that we've defined globally. |
% +--------------------------------------------------------------------+
\newpage
\pagenumbering{arabic}
\setcounter{page}{1}
% +--------------------------------------------------------------------+
% | Here is where we include individual sections of the thesis or
% | dissertation. |
% +--------------------------------------------------------------------+
% +--------------------------------------------------------------------+
% | Chapters
% +--------------------------------------------------------------------+
\input{chapter1.tex}
% +--------------------------------------------------------------------+
% | Uncomment the lines below to add additional chapters. Name the
% | files chapter2.tex for Chapter 2, chapter3.tex for Chapter 3, etc.
% +--------------------------------------------------------------------+
\input{chapter2.tex}
\input{chapter3.tex}
%\input{chapter4.tex}
%\input{chapter5.tex}
% +-------------------------------------------------------------------------+
% | References |
% +-------------------------------------------------------------------------+
% +-------------------------------------------------------------------------+
% | In order for WinEDT to index references correctly, it has to know where |
% | the file resides. The following command is prefaced by %, and will be |
% | ignored completely by LaTeX. However, WinEDT will use this line to |
% | access the external .bib bibliography file. Also note that WinEDT can |
% | read file path names with either "\" or "/" - LaTeX, however, doesn't |
% | like "\", so it's easier to store a path name in the "Unix" style. |
% +-------------------------------------------------------------------------+
%Included for Gather Purpose only. Do NOT uncomment:
%input "references.bib"
% +--------------------------------------------------------------------+
% | This template uses the BibTeX program to format references. The
% | lines below create a separate Bibliography section and add
% | an entry for "Bibliography" to the Table of Contents. The actual
% | data for your references (author, title, journal, date, etc.) are
% | entered in the references.bib file. See that file for information
% | on how to enter references.
% +--------------------------------------------------------------------+
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\bibdata{references}
\bibliography{references}
% +--------------------------------------------------------------------+
% | Finally, we generate the appendix. To add or delete appendices,
% | add or remove the line
% |
% | \input{appendixX.tex}
% |
% | where "X" is the letter designation of the Appendix (A, B, C, etc.)
% | You should have one \input{appendixX.tex} line and a corresponding
% | file appendixX.tex for each appendix. |
% +--------------------------------------------------------------------+
\appendix
\input{appendixA.tex}
\input{appendixB.tex}
\end{document}