%
% METU Institute of Natural and Applied Sciences Thesis example
%
% Edited and Commented by Utku Erdoğdu, 2012
%
% More additions and minor fixes by Emre Caglar and Furkan Cengel, 2021
%
% Please read the explanations so that you can customize the document
%
% Files needed by this document:
% metu.cls
% metu11.def (if you will use 11pt fonts)
% metu12.def (if you will use 12pt fonts)
% metu10.def (if you will use 10pt fonts)
%
% Possible Options Here:
%
% oneandhalf, double, single : Line spacing used in the thesis. Default and institute preference is
% oneandhalf.
%
% 10pt, 11pt, 12pt : Font size Default is 12pt, which is institute choice.
%
% pntr, pntc, pnbt : Page number position. Options are top center, top right or bottom. Default and
% institute preference is page numbers at bottom. When page numbers are at the top bottom margins
% are skewed.
%
% chaproman, chaparabic : Chapter numbering format. Options are roman numbers and arabic numbers.
% Default is roman, institute prefers arabic
%
% oneside, twoside : Printing style. Default is twoside, which is institute choice. In this style
% chapters begin from odd numbered pages.
%
% threejury, fivejury : For master's degree choose threejury. For doctorate degree choose fivejury.
%
% tr, eng : Document language. This is useful if you want to translate your thesis into
% Turkish. Then you give the option tr and use \ifturkish. . .\else. . .\fi whenever you want
% to do something only for Turkish or only for English. Default is eng.
% IMPORTANT!! : For official institute documents you should not use this option.
% The Turkish format is only supplied for custom translations.
%
% ceng,aee,arme.. : You can use the abbreviated form of your department here and there is no further need to
% define the department name below. If your department name is not among the below list of defined
% departments, you should use \department and \turkishdepartment macros to define the name of your
% department.
%
% Defined Departments and Abbreviations:
% --------------------------------------
% Computer Engineering : ceng
% Aerospace Engineering : aee
% Archaeometry : arme
% Architecture : arch
% Biochemistry : bch
% Biology : biol
% Biomedical Engineering : bme
% Biotechnology : btec
% Building Science : bs
% Cement Engineering : ceme
% Chemical Engineering : che
% Chemistry : chem
% City and Regional Planning : crp
% City Planning : cp
% Civil Engineering : ce
% Computational Design and Fabrication Technologies in Architecture : arcd
% Computer Education and Instructional Technology : cte
% Design Research for Interaction : iddi
% Earthquake Studies : eqs
% Earth System Science : ess
% Electrical and Electronics Engineering : ee
% Engineering Management : em
% Engineering Sciences : es
% Environmental Engineering : enve
% Food Engineering : fde
% Geodetics - Geographical Information Technologies : ggit
% Geological Engineering : geoe
% Hydrosystems Engineering : he
% Industrial Design : id
% Industrial Engineering : ie
% Mathematics : math
% Mechanical Engineering : mech
% Metallurgical and Materials Engineering : mete
% Micro and Nanotechnology : mnt
% Mining Engineering : mine
% Operational Research : or
% Petroleum and Natural Gas Engineering : pete
% Physics : phys
% Polymer Science and Technology : pst
% Regional Planning : rp
% Restoration : rest
% Secondary Science and Mathematics Education : ssme
% Software Engineering : se
% Statistics : stat
% Structural Mechanics : st
%
% phd, ms : Degree Received. Ph.D. or M.S. Default is Ph.D..
%
% End of Options
\documentclass[chaparabic,id,phd,12pt,oneandhalf,fivejury]{metu}
\usepackage[table,xcdraw]{xcolor}
\usepackage{csquotes}
\usepackage{appendix}
\usepackage{longtable}
\usepackage{lscape}
\usepackage[pdftex]{hyperref}
\pdfstringdefDisableCommands{\let\uppercase\@firstofone}
\usepackage[all]{hypcap}
\usepackage{graphicx}
\graphicspath{ {./images/} }
\usepackage[figuresright]{rotating}
\usepackage{xy}
\usepackage{booktabs}
\usepackage{pifont}
\usepackage{color}
\usepackage{listings}
\usepackage{pdfpages}
\usepackage{array}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{float}
\usepackage{caption}
\usepackage{lastpage}
\usepackage{afterpage}
\usepackage{lipsum}
\usepackage{adjustbox}
\usepackage{rotating}
\usepackage{comment}
\usepackage{amsmath,amssymb} % define this before the line numbering.
\usepackage{svg}
\usepackage{color}
\usepackage{enumitem}
\usepackage[normalem]{ulem}
\useunder{\uline}{\ul}{}
\renewcommand{\sectionautorefname}{\S}
\renewcommand{\subsectionautorefname}{\S}
\newcommand{\norm}[1]{\left\lVert#1\right\rVert}
\captionsetup{belowskip=12pt,aboveskip=8pt}
\newcommand{\tab}{\hspace*{2em}}
\DeclareGraphicsExtensions{.pdf,.png,.jpg}
\usepackage{multirow}
\usepackage{amsmath}
\usepackage{siunitx}
\usepackage{textcomp}
\usepackage{subcaption}
\usepackage{enotez}
\usepackage{threeparttable}
\usepackage{layouts}
\usepackage{tikz}
\usepackage{mathtools}
%Uncomment the following line to temporarily show a frame on the page, representing margins. Useful for checking if any figures or tables are overflowing. Make sure to comment it back before production.
%\usepackage[showframe,pass]{geometry}
\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
%[Turns DOI numbers into links without repeating dx.doi.org each time]
\newcommand{\doi}[1]{doi: \href{http://dx.doi.org/#1}{\nolinkurl{#1}}}
\newcommand{\EA}[1]{\textcolor{red}{[EA: #1]}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PRELIMINARIES
% 1. Name and Surname
\author{Name Surname}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 2. Thesis Title English and Turkish
\title{A Great Title for Your Thesis}
\turkishtitle{Başlığın Türkçesi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 3. Jury Date
\date{February 2021}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 4. Committee
%
% Use the following abbreviations for people:
% prof : Prof. Dr.
% assocprof : Assoc. Prof. Dr.
% assistprof : Assist. Prof. Dr.
% dr : Dr.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 4A. Director of Institute
\director[prof]{Institute Director}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 4B. Head of Department
\headofdept[prof]{Department Head}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 4C. Supervisor : English and Turkish
\supervisor[prof]{Your Supervisor}
% \turkishsupervisor{ } %if you will hard-code the academic title
%
% Affiliation of Supervisor in English and possibly in Turkish
\departmentofsupervisor{Department name, Institution Name}
%\cosupervisor[dr]{Itır Önal Ertuğrul}
%\departmentofcosupervisor{Robotics Institute, Carnegie Mellon University}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 4D. Committee Members
% First title is the jury chair. Typically, the member with the highest academic title except your supervisor will be the jury chair. Next is your supervisor. The rest of the order is up to you. Ask your supervisor if you are not sure
%
% Professors (1)
% Associate Professors (2)
% Assistant Professors (3)
% Other (4)
%
% IMPORTANT: All affiliatons should fit in a single line
% If affiliation line is broken into two lines you should shorten the affiliation by using
% abbrevations or any other means
%
\committeememberi[prof]{Jury Chair}
\affiliationi{Department name, Institution Name}
% Second committee member is always your supervisor
\committeememberii[prof]{Your Supervisor}
\affiliationii{Department name, Institution Name}
% IMPORTANT: If you are Ph.D. student your co-supervisor can not be in your
% examination committee.
% \def\@proftitlename{Prof. Dr.}\def\@tproftitlename{Prof. Dr.}
% \def\@assocproftitlename{Assoc. Prof. Dr.}\def\@tassocproftitlename{Doç. Dr.}
% \def\@assistproftitlename{Assist. Prof. Dr.}\def\@tassistproftitlename{Yrd. Doç. Dr.}
% \def\@drtitlename{Dr.}\def\@tdrtitlename{Dr.}
\committeememberiii[assistprof]{Committee Member}
\affiliationiii{Department name, Institution Name}
% Fourth committee member
\committeememberiv[assistprof]{Jury Member}
\affiliationiv{Department name, Institution Name}
% Fifth committee member
\committeememberv[assistprof]{Jury Member}
\affiliationv{Department name, Institution Name}
%IMPORTANT: Edit your jury date in the metu.cls file, line number 778!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 5. Keywords : English & Turkish, Comma seperated
\keywords{five, keywords, that, define your, thesis}
\anahtarklm{tezinizi, anlatan, bes, anahtar, kelime}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 6A. Abstract in English
%
\abstract{
English abstract
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 6B. Turkish Abstract
%
\oz{
Turkish abstract
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%7. Dedication
\dedication{Dedication}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%8. Acknowledgments
\acknowledgments{
Acknowledgements
}
%
% End of Personal and Introductory Information
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%REFERENCES
%Add your references to this bib file, included with this template. Connect it to your reference manager, such as Zotero, so that it auto-exports your references to this file at every change. This way, all references in your reference manager will be available to cite in this template.
\addbibresource{bibliography.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%SUPPORT FOR REFERENCING MOVIES AND TV-SHOWS
%This enables referencing movies and TV shows. Add movies or TV-shows to the separate films.bib file. See the file for examples.
\addbibresource{films.bib}
\DeclareLabelname[movie]{
\field{director}
\field{producer}
}
\DeclareFieldFormat[movie]{entrysubtype}{\mkbibbrackets{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%USEFUL TOOLS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% A. Section referencing within text:
% New reference command for section references with full section number and heading. E.g. for "Section 5.2 Design", write \fullref{sec:ws1-design} in which the argument is your label for the linked section. \literef{sec:ws1-design} produces "5.1, p.XX". You can customize your own custom in-text referencing system here.
\newcommand*{\fullref}[1]{\hyperref[{#1}]{\ref*{#1} \nameref*{#1}}}
\newcommand*{\literef}[1]{\hyperref[{#1}]{\ref*{#1}, p.\pageref*{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% B. Original quotes section in the Appendix
%All endnotes specified in your chapters, using \endnote{...} command, will be put in a seperate Appendix with the title specified below. This way you can put the the original language version of any quotes you want. An example is given in the sample chapters. Remove the \input{appendices/Appendix-OriginalQuotes.tex} line from the chapters list below if not using.
\DeclareInstance{enotez-list}{custom}{paragraph} {
notes-sep = \baselineskip,
format = \normalfont,
number = \normalfont{[#1]}
}
\setenotez{
backref=true,
list-name=,
list-heading=\chapter{Original Quotes},
list-style=plain,
split=chapter,
split-title=Quotes from Chapter <ref>,
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% C. New Table Columns
% Use L, C, or R in the tabular environment for vertically centered cells with left, center or right aligned text.
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
% Preliminaries
\begin{preliminaries}
% If you are willing to use any custom stuff before Chapters, put it here
% Such as List of Abbreviations
% Check the abbreviations.tex for a template list of abbreviations
\input{abbreviations.tex}
% End of Preliminaries
\end{preliminaries}
%
%
%
\setlength{\parindent}{0em}
\setlength{\parskip}{10pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%CHAPTERS
% You can add as many chapters
\input{chapters/Introduction.tex}
\input{chapters/Literature Review.tex}
\input{chapters/Methodology.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%REFERENCES
\input{references.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%APPENDICES
% If you have more that one appendix, then use \appendices, otherwise use
% \appendix
\appendices
\addcontentsline{toc}{leads}{\protect\numberline {}\uppercase{APPENDICES}}
% comment out the following line if not using the original quotes function.
\input{appendices/Appendix-OriginalQuotes.tex}
% Appendices go below. Add as many appendices as you need.
\input{appendices/Appendix-InterviewQuestions.tex}
% Edit the vita.tex file for your CV.
\input{vita.tex}
\end{document}