Thesis Template - EE UET Lahore
Författare
Dr. M Tahir
Last Updated
för 3 år sedan
Licens
Other (as stated in the work)
Sammanfattning
Standard template used by EE UET Lahore to make reports and thesis.
%% ----------------------------------------------------------------
%% Thesis.tex -- MAIN FILE (the one that you compile with LaTeX)
%% ----------------------------------------------------------------
% Set up the document
\documentclass[a4paper, 11pt, oneside]{uet_thesis} % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn
\graphicspath{{Figures/}} % Location of the graphics files (set up for graphics to be in PDF format)
% Include any extra LaTeX packages required
\usepackage[square, numbers, comma, sort&compress]{natbib} % Use the "Natbib" style for the references in the Bibliography
\usepackage{verbatim} % Needed for the "comment" environment to make LaTeX comments
% \usepackage{vector} % Allows "\bvec{}" and "\buvec{}" for "blackboard" style bold vectors in maths
\usepackage{url}
\usepackage{natbib}
\hypersetup{urlcolor=blue, colorlinks=true} % Colours hyperlinks in blue, but this can be distracting if there are many links.
% remove the unnecessary spacing before and after the headings/subheadings
\usepackage[compact]{titlesec}
\titlespacing{\section}{0pt}{*0}{*0}
\titlespacing{\subsection}{0pt}{*0}{*0}
\titlespacing{\subsubsection}{0pt}{*0}{*0}
\setlength{\parskip}{6pt}
%\setlength{\parsep}{0pt}
%\setlength{\headsep}{0pt}
%\setlength{\topskip}{0pt}
%% ----------------------------------------------------------------
\begin{document}
\frontmatter % Begin Roman style (i, ii, iii, iv...) page numbering
% Set up the Title Page
\title {A Template to be Used by the Students for Typesetting Project Report or Dissertation}
\session {2006 -- 2010}
\advisor {Prof. Rab Nawaz}
\authors {
Maja ~~~ 2010-Elect-420 \\
Saja ~~~ 2010-Elect-320 \\
Basantay ~~~ 2010-Elect-69 }
\addresses {\deptname \\ \univname} % Do not change this here, instead these must be set in the "Thesis.cls" file, please look through it instead
\date {\today}
\subject {}
\keywords {}
\maketitle
%% ----------------------------------------------------------------
\setstretch{1.3} % It is better to have smaller font and larger line spacing than the other way round
% Define the page headers using the FancyHdr package and set up for one-sided printing
\fancyhead{} % Clears all page headers and footers
\rhead{\thepage} % Sets the right side header to show the page number
\lhead{} % Clears the left side page header
\pagestyle{fancy} % Finally, use the "fancy" page style to implement the FancyHdr headers
%% Select only one of the certification pages
%\CertificationMSc{}
\CertificationBSc{}
\clearpage % Certification ended, now start a new page
%% ----------------------------------------------------------------
% Declaration Page required for the Thesis, your institution may give you a different text to place here
\Declaration{
%\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
I declare that the work contained in this thesis is my own, except where explicitly stated otherwise. In addition this work has not been submitted to obtain another degree or professional qualification.
\bigskip
Signed:~~ \rule[0em]{10em}{1.0pt} \\ % This prints a line for the signature
Date:~~~~ \rule[0em]{10em}{1.0pt} % This prints a line to write the date
}
\clearpage % Declaration ended, now start a new page
%% ----------------------------------------------------------------
\setstretch{1.3} % Reset the line-spacing to 1.3 for body text (if it has changed)
% The Acknowledgements page, for thanking everyone
\acknowledgements{
%\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
The acknowledgements and the people to thank go here, don't forget to include your project advisor\ldots
}
\clearpage % End of the Acknowledgements
%% ----------------------------------------------------------------
% End of the pre-able, contents and lists of things
% Begin the Dedication page
\setstretch{1.3} % Return the line spacing back to 1.3
\pagestyle{empty} % Page style needs to be empty for this page
\dedicatory{For/Dedicated to/To my\ldots}
%% ----------------------------------------------------------------
\pagestyle{fancy} %The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back
%% ----------------------------------------------------------------
\lhead{\emph{Contents}} % Set the left side page header to "Contents"
\tableofcontents % Write out the Table of Contents
%% ----------------------------------------------------------------
\lhead{\emph{List of Figures}} % Set the left side page header to "List if Figures"
\listoffigures % Write out the List of Figures
%% ----------------------------------------------------------------
\lhead{\emph{List of Tables}} % Set the left side page header to "List of Tables"
\listoftables % Write out the List of Tables
%% ----------------------------------------------------------------
\setstretch{1.5} % Set the line spacing to 1.5, this makes the following tables easier to read
\clearpage % Start a new page
\lhead{\emph{Abbreviations}} % Set the left side page header to "Abbreviations"
\listofsymbols{ll} % Include a list of Abbreviations (a table of two columns)
{
% \textbf{Acronym} & \textbf{W}hat (it) \textbf{S}tands \textbf{F}or \\
\textbf{LAH} & \textbf{L}ist \textbf{A}bbreviations \textbf{H}ere \\
}
%% ----------------------------------------------------------------
% The Abstract Page
\addtotoc{Abstract} % Add the "Abstract" page entry to the Contents
\abstract{
%\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
The Thesis Abstract is written here (and usually kept to just this page). The page is kept centered vertically so can expand into the blank space above the title too\ldots
}
\clearpage % Abstract ended, start a new page
%% ----------------------------------------------------------------
\mainmatter % Begin normal, numeric (1,2,3...) page numbering
\pagestyle{fancy} % Return the page headers back to the "fancy" style
\onehalfspacing
% Include the chapters of the thesis, as separate files
% Just uncomment the lines as you write the chapters
\input{./Chapters/Chapter1} % Introduction
\input{./Chapters/Chapter2} % What to Write
%\input{./Chapters/Chapter3} % Experimental Setup
%\input{./Chapters/Chapter4} % Experiment 1
%\input{./Chapters/Chapter5} % Experiment 2
%\input{./Chapters/Chapter6} % Results and Discussion
%\input{./Chapters/Chapter7} % Conclusion
%% ----------------------------------------------------------------
% Now begin the Appendices, including them as separate files
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\appendix % Cue to tell LaTeX that the following 'chapters' are Appendices
\input{./Chapters/AppendixA} % Appendix Title
%\input{./Chapters/AppendixB} % Appendix Title
%\input{./Chapters/AppendixC} % Appendix Title
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\backmatter
%% ----------------------------------------------------------------
\label{References}
\lhead{\emph{References}} % Change the left side page header to "References"
\bibliographystyle{plainnat} % Use "unsrtnat" BibTeX style for formatting the references
\bibliography{references} % The references information are stored in the file named "references.bib"
\end{document} % The End
%% ----------------------------------------------------------------