%
% thesis.tex
%
% Master's Thesis/Ph.D. Dissertation Template
% Clemson University
%

%
% The document guidelines say the font can be between 10pt and 12pt.
% Specify whatever you want it to be here.
%
\documentclass[10pt]{ClemsonThesis}

%
% Use any additional packages you might need
%
%% \usepackage{listings}
\usepackage[table,xcdraw]{xcolor}
\usepackage{subcaption, amsmath, amssymb, bbding, xcolor, multirow, array, enumitem}

\newcommand\CMBox[3]{
  \fbox{\lower0.75cm
    \vbox to 2.4cm{\vfil
      \hbox to 2.4cm{\hfil\parbox{1.4cm}{\centering#1\\#2\\#3}\hfil}
      \vfil}%
  }%
}

\newcommand\TotalBox[4]{
\setlength{\fboxrule}{0pt}
  \fbox{\lower0.75cm
    \vbox to 2.4cm{\vfil
      \hbox to 1.7cm{\hfil\parbox{1.7cm}{\centering#1\\#2\\#3\\#4}\hfil}
      \vfil}%
  }%
}

%
% Make the document your own -- fill in these values to reflect the type of
% document you are writing.
%
\title{Detecting eating episodes from daily patterns of\\wrist motion using recurrent neural networks}
\department{Holcombe Department of Electrical and Computer Engineering}
\documentType{Thesis}
\major{Computer Engineering}
\degree{Master of Science}
\graduationMonth{August}
\graduationYear{2021}
\author{Adam Patyk}
\committeeChair{Dr. Adam Hoover}
\committeeMemberOne{Dr. Harlan Russell}
\committeeMemberTwo{Dr. Yingjie Lao}

%
% PDF Setup -- most of this you do not need to touch
%
\hypersetup{
    colorlinks,
    linkcolor={black},
    citecolor={black},
    filecolor={black},
    urlcolor={black},
    pdftitle={\theTitle},
    pdfauthor={\theAuthor},
    pdfsubject={\theDocumentType},
    pdfkeywords={Clemson University, \theDepartment, \theDocumentType, \theMajor, \theDegree},
    pdfstartpage={1},
}


\begin{document}
%  ============================================================================
    \frontmatter % Begin front matter (pages are numbered with Roman numerals)
%  ============================================================================

    \addtotoc{Title Page}{\maketitle}          % Generate the title page
    \doublespacing                             % Text should be double spaced
    \setcounter{page}{2}                       % Abstract begins on page 2
    \addtotoc{Abstract}{\input{abstract.tex}}  % Generate the abstract

    %
    % The dedication page is optional.  Comment out this line if you do not
    % want to include this page.
    %
    \addtotoc{Dedication}{\input{dedication.tex}}

    %
    % The acknowledgment page is optional.  Comment out this line if you do
    % not want to include this page.
    %
    \addtotoc{Acknowledgments}{\input{acknowledgments.tex}}

    \singlespacing                             % Single space the lists
    \tableofcontents \clearpage                % Generate the Table of Contents

    %
    % REMEMBER: Review your caption listings in the generated lists
    %           and make sure they include '\newline' commands as necessary.
    %           See the README for further information.
    %
    \addtotoc{List of Tables}{\listoftables}   % Generate the List of Tables
    \addtotoc{List of Figures}{\listoffigures} % Generate the List of Figures



%  ===========================================================================
    \mainmatter % Begin main matter (pages are numbered with Arabic numerals)
%  ===========================================================================
    \doublespacing % Text should be double spaced

    %
    % Here we have each chapter in a separate file.  Name these as you choose,
    % and include them in the order you want them to appear.  Be sure to use
    % the \inputfile command.
    %
    \inputfile{introduction.tex}
    \inputfile{methods.tex}
    \inputfile{results.tex}
    \inputfile{conclusions.tex}

    %
    % The appendices are optional.  This is the format for two or more.
    % If you do not wish to include an appendix, comment out these lines.
    % If you want just one, see the formatting guidelines.
    %
    \begin{appendices}
        \begin{subappendices}
            \inputfile{appendixA.tex}
            \inputfile{appendixB.tex}
            \inputfile{appendixC.tex}
        \end{subappendices}
    \end{appendices}

    \singlespacing                             % Single space the Bibliography

    %
    % The bibliography style.  Set this to whatever matches you discipline.
    % For example, Computer Science would likely use 'plain'.  You might
    % also want to change the name from 'Bibliography' to 'References'
    % or 'Work Cited'.
    %
    % 'plain'   gets you numbered references and citations (e.g., [1] Dyson).
    %
    % 'alpha'   gets you labels formed from an abbreviation of the authors'
    %           names and the year of publication.  If there is more than
    %           one author, it will use the first letter of up to the first
    %           three authors' last names.
    %
    %           Some examples:
    %               [DED01] F.W. Dyson, A.G. Edgar, and D.B. Denny ... 2001
    %               [DE01] F.W. Dyson, A.G. Edgar ... 2001
    %               [Dys01] F.W. Dyson ... 2001
    %
    % 'apalike' gets you labels formed from the authors' names and year of
    %           publication.
    %
    %           Some examples:
    %               [Dyson et al., 2001] F.W. Dyson, A.G. Edgar, and
    %                 D.B. Denny ... 2001
    %               [Dyson and Edgar, 2001] F.W. Dyson, A.G. Edgar ... 2001
    %               [Dyson, 2001] F.W. Dyson ... 2001
    %
    \bibliographystyle{plain}
    \addtotoc{Bibliography}{\bibliography{bibliography}}
\end{document}
