%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Masters/Doctoral Thesis 
% LaTeX Template
% Version 2.3 (25/3/16)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% Version 2.x major modifications by:
% Vel (vel@latextemplates.com)
%
% This template is based on a template by:
% Steve Gunn (http://users.ecs.soton.ac.uk/srg/softwaretools/document/templates/)
% Sunil Patel (http://www.sunilpatel.co.uk/thesis-template/)
%
% Template license:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%----------------------------------------------------------------------------------------
%	PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------

\documentclass[
12pt, % The default document font size, options: 10pt, 11pt, 12pt
oneside, % Two side (alternating margins) for binding by default, uncomment to switch to one side
%chapterinoneline,% Have the chapter title next to the number in one single line
english, % ngerman for German
%singlespacing, % Single line spacing, alternatives: 
onehalfspacing,% or doublespacing
%draft, % Uncomment to enable draft mode (no pictures, no links, overfull hboxes indicated)
%nolistspacing, % If the document is onehalfspacing or doublespacing, uncomment this to set spacing in lists to single
%liststotoc, % Uncomment to add the list of figures/tables/etc to the table of contents
%toctotoc, % Uncomment to add the main table of contents to the table of contents
%parskip, % Uncomment to add space between paragraphs
%nohyperref, % Uncomment to not load the hyperref package
headsepline, % Uncomment to get a line under the header
]{MastersDoctoralThesis} % The class file specifying the document structure
\usepackage{xcolor}
\usepackage[utf8]{inputenc} % Required for inputting international characters
\usepackage[T1]{fontenc} % Output font encoding for international characters
\usepackage{subfigure}
\usepackage{setspace}
%\usepackage{kpfonts}%  for math    
%\usepackage{libertine}%  serif and sans serif
\usepackage[sc]{mathpazo} % Very good mathmatics font
%\usepackage[%eulerchapternumbers,%	%drafting,	pdfspacing,%	beramono,%	eulermath,%parts]{classicthesis}
%\usepackage[english]{babel} % For babel font
%\usepackage{palatino} % Use the Palatino font by default
\usepackage[backend=bibtex,style=phys,articletitle =true,biblabel=brackets,chaptertitle=false,pageranges=false,natbib=true]{biblatex} % Use the bibtex backend with the authoryear citation style(which resembles APA)
\usepackage[Lenny]{fncychap} % Fancy chapter heading
%\usepackage{quotchap} % Fancy chapter heading
%\usepackage{minitoc} % Table of content for each chapters
\addbibresource{test_ref.bib} % The filename of the bibliography
\usepackage{amsmath,amssymb}
\usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography
%\usepackage[square, numbers, comma]{natbib} % Use the natbib reference package - read up on this to edit the reference style; if you want text (e.g. Smith et al., 2012) for the in-text references (instead of numbers), remove 'numbers' 
\usepackage{blindtext}
%----------------------------------------------------------------------------------------
%	MARGIN SETTINGS
%----------------------------------------------------------------------------------------

\geometry{
	paper=a4paper, % Change to letterpaper for US letter
	inner=2.54cm, % Inner margin
	outer=2.54cm, % Outer margin
	bindingoffset=2cm, % Binding offset
	top=2.54cm, % Top margin
	bottom=2.54cm, % Bottom margin
	%showframe,% show how the type block is set on the page
}

%----------------------------------------------------------------------------------------
%	THESIS INFORMATION
%----------------------------------------------------------------------------------------

\thesistitle{Effect of Interlayer Coupling and Biasing on Spin Transfer Torque Switching in Ferromagnetic Nanopillars} % Your thesis title, this is used in the title and abstract, print it elsewhere with \ttitle
\supervisor{Prof. M. \textsc{Daniel}} % Your supervisor's name, this is used in the title page, print it elsewhere with \supname
\examiner{} % Your examiner's name, this is not currently used anywhere in the template, print it elsewhere with \examname
\degree{Doctor of Philosophy} % Your degree name, this is used in the title page and abstract, print it elsewhere with \degreename
\author{D.~\textsc{Aravinthan}} % Your name, this is used in the title page and abstract, print it elsewhere with \authorname
\addresses{Tiruchirappalli - 620 024 \\ Tamilnadu, India} % Your address, this is not currently used anywhere in the template, print it elsewhere with \addressname

\subject{Physics} % Your subject area, this is not currently used anywhere in the template, print it elsewhere with \subjectname
\keywords{Magnetization Switching, Ultrafast Magnetization Dynamics, Spin transfer
torque, Nanopillar, Switching time.} % Keywords for your thesis, this is not currently used anywhere in the template, print it elsewhere with \keywordnames
\university{\href{http://www.bdu.ac.in}{Bharathidasan University}} % Your university's name and URL, this is used in the title page and abstract, print it elsewhere with \univname
\department{\href{http://www.bdu.ac.in/schools/physics/physics/}{School of Physics}} % Your department's name and URL, this is used in the title page and abstract, print it elsewhere with \deptname
\group{\href{http://www.bdu.ac.in/centers/non_linear_dynamics/}{Centre for Nonlinear Dynamics}} % Your research group's name and URL, this is used in the title page, print it elsewhere with \groupname
\faculty{\href{http://faculty.university.com}{Faculty Name}} % Your faculty's name and URL, this is used in the title page and abstract, print it elsewhere with \facname

\hypersetup{pdftitle=\ttitle} % Set the PDF's title to your title
\hypersetup{pdfauthor=\authorname} % Set the PDF's author to your name
\hypersetup{pdfkeywords=\keywordnames} % Set the PDF's keywords to your keywords
\usepackage{pdfpages}
\usepackage{multicol}
\usepackage{makeidx} 
\makeindex 
\renewcommand{\arraystretch}{1.3}

\begin{document}
\frontmatter % Use roman page numbering style (i, ii, iii, iv...) for the pre-content pages

\pagestyle{plain} % Default to the plain heading style until the thesis style is called for the body content
\clearpage
\phantomsection
\pdfbookmark[0]{Title Page}{cover}
%\include{Frontmatter/title}
\include{Frontmatter/cover}
\clearpage
\phantomsection
\pdfbookmark[0]{Certificate}{certificate}
\include{Frontmatter/certificate}
\clearpage
\phantomsection
\pdfbookmark[0]{Declaration}{declaration}
\include{Frontmatter/declaration}
\cleardoublepage
%----------------------------------------------------------------------------------------
%	DEDICATION
%----------------------------------------------------------------------------------------

\dedicatory{\normalsize To everyone who shared an important path in my journey to this point.} 
%----------------------------------------------------------------------------------------
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{Preface}
\include{Frontmatter/preface}
%\clearpage
\include{Frontmatter/acknowledgements}
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{List of Publications}
\include{Frontmatter/publications}
%----------------------------------------------------------------------------------------
%	LIST OF CONTENTS/FIGURES/TABLES PAGES
%----------------------------------------------------------------------------------------
\newpage
\phantomsection
\pdfbookmark[0]{Table of Contents}{tableofcontents}
%\addcontentsline{toc}{chapter}{Table of Contents}
\tableofcontents % Prints the main table of contents
\listoffigures % Prints the list of figures

\listoftables % Prints the list of tables
%----------------------------------------------------------------------------------------
%	ABBREVIATIONS
%----------------------------------------------------------------------------------------
\iftrue
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{List of Abbreviations}
\begin{abbreviations}{ll} % Include a list of abbreviations (a table of two columns)
\textbf{AMR} & Anisotropic Magnetoresistance\\
\textbf{GMR} & Giant Magnetoresistance\\
\textbf{LLGS}  & Landau-Lifshitz-Gilbert-Slonczewski\\
\textbf{MRAM} & Magnetic Random Access Memory\\
\textbf{RK4}& Runge-Kutta Fourth Order\\
\end{abbreviations}
%----------------------------------------------------------------------------------------
%	SYMBOLS
%----------------------------------------------------------------------------------------
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{List of Symbols}
\begin{symbols}{lcl} % Include a list of Symbols (a three column table)
\textbf{Name} & \textbf{Symbol} \\

Amplitude of the interface waviness &$A$\\
Angular momentum &$L$\\
Applied current density &$J$\\
Critical current density &$J_{c}$\\

%Symbol & Name & Unit \\

\addlinespace % Gap to separate the Roman symbols from the Greek

\end{symbols}
\fi
%----------------------------------------------------------------------------------------
%	THESIS CONTENT - CHAPTERS
%----------------------------------------------------------------------------------------
\mainmatter % Begin numeric (1,2,3...) page numbering
\pagestyle{thesis} % Return the page headers back to the "thesis" style
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{Part I : Background \& Motivation}
\part*{Part I \\Background \& Motivation}
% Include the chapters of the thesis as separate files from the Chapters folder
% Uncomment the lines as you write the chapters
\include{Chapters/Chapter1}
\include{Chapters/Chapter2}
%----------------------------------------------------------------------------------------
%	THESIS CONTENT - APPENDICES
%----------------------------------------------------------------------------------------

%\appendix % Cue to tell LaTeX that the following "chapters" are Appendices

% Include the appendices of the thesis as separate files from the Appendices folder
% Uncomment the lines as you write the Appendices

%\include{Appendices/AppendixA}
%\include{Appendices/AppendixB}
%\include{Appendices/AppendixC}

%----------------------------------------------------------------------------------------
%	BIBLIOGRAPHY
%----------------------------------------------------------------------------------------
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\part*{Bibliography}
\printbibliography
%\printbibliography[heading=bibintoc]
%\label{Bibliography}

%\lhead{\emph{Bibliography}} % Change the page header to say "Bibliography"

%\bibliographystyle{unsrt} % Use the "unsrtnat" BibTeX style for formatting the Bibliography

%\bibliography{example} % The references (bibliography) information are stored in the file named "Bibliography.bib"
%----------------------------------------------------------------------------------------

%	PUBLICATIONS
%----------------------------------------------------------------------------------------
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{Publications}
%\publications{Publications}
\part*{Publications}
%---------------------------------------------------------------------------------------- 

%\addchaptertocentry{\publications} % Add the publications to the table of contents
%\includepdf[pages=1-2,scale=.87,pagecommand={}]{1_First_Paper.pdf}
%\includepdf[pages=-,scale=.87]{2_Second_Paper.pdf}
%\includepdf[pages=-,scale=.87]{3_Third_Paper.pdf}
%\includepdf[pages=-,scale=.87]{4_Fourth_paper.pdf}
%\includepdf[pages=-,scale=.87]{5_Fifth_paper.pdf}
%\includepdf[pages=-,scale=.87,pagecommand={}]{first_paper.pdf} % For Pagenumbering add pagecommand={}
%----------------------------------------------------------------------------------------
\end{document}  
