bits-pilani-ps-report-template
Author
Tapas Mazumdar
Last Updated
há um ano
License
Creative Commons CC BY 4.0
Abstract
PS template for BITS Pilani. Updated 24 June 2023.
PS template for BITS Pilani. Updated 24 June 2023.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Practice School - Bits Pilani
% LaTeX Template
% Version 2.0
%
% Author: Tapas Mazumdar
%
% This template is heavily based on the work of Jeet Yadav, Darshit Shah, Steven Gunn and Sunil Patel
% Jeet Yadav
% https://github.com/jeetyadav98/bits-pilani-ps-report-template-latex
% Darshit Shah
% https://github.com/darnir/BPHC-LaTeX-Report-Class
% Steven Gunn
% http://users.ecs.soton.ac.uk/srg/softwaretools/document/templates/
% and
% Sunil Patel
% http://www.sunilpatel.co.uk/thesis-template/
%
% Note:
% Make sure to edit document variables in the Thesis.cls file
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%-------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%-------------------------------------------------------------------------------
\documentclass[11pt, a4paper, oneside]{Thesis} % Paper size, default font size
% and one-sided paper
\graphicspath{{Pictures/}} % Specifies the directory where pictures are stored
\usepackage[backend=bibtex]{biblatex}
\bibliography{Bibliography.bib}
\title{\ttitle} % Defines the thesis title - don't touch this
\begin{document}
\frontmatter % Use roman numbering style (i, ii...) for the pre-content pages
\setstretch{1.3} % Line spacing of 1.3
% Define page headers using 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
% Input all the variables used in the document. Please fill out the
% variables.tex file with all your details.
\input{variables}
\makeatletter
\newcommand*\@lbracket{[}
\newcommand*\@rbracket{]}
\newcommand*\@colon{:}
\newcommand*\colorIndex{%
\edef\@temp{\the\lst@token}%
\ifx\@temp\@lbracket \color{black}%
\else\ifx\@temp\@rbracket \color{black}%
\else\ifx\@temp\@colon \color{black}%
\else \color{vorange}%
\fi\fi\fi
}
\makeatother
%-------------------------------------------------------------------------------
% NON-CONTENT PAGES
%-------------------------------------------------------------------------------
\maketitle
\titleP
\addtocontents{toc}{\vspace{-3em}} % Add a gap in the Contents, for aesthetics
\AbstractSheet
\ResponseOptionSheet
\begin{acknowledgements}
\lipsum[1-2]
\end{acknowledgements}
%-------------------------------------------------------------------------------
% LIST OF CONTENTS/FIGURES/TABLES PAGES
%-------------------------------------------------------------------------------
% The page style headers have been "empty" all this time, now use the "fancy"
% headers as defined before to bring them back
\pagestyle{fancy}
\lhead{\emph{Contents}} % Set the left side page header to "Contents"
\tableofcontents % Write out the Table of Contents
\addtocontents{toc}{\vspace{1em}}
% Set the left side page header to "List of Figures"
\lhead{\emph{List of Figures}}
\listoffigures % Write out the List of Figures
% Set the left side page header to "List of Tables"
\lhead{\emph{List of Tables}}
\listoftables % Write out the List of Tables
\addtocontents{toc}{\vspace{1em}}
%-------------------------------------------------------------------------------
% ABBREVIATIONS
%-------------------------------------------------------------------------------
% \clearpage % Start a new page
% % Set the line spacing to 1.5, this makes the following tables easier to read
% \setstretch{1.5}
% \lhead{\emph{Abbreviations}} % Set the left side page header to "Abbreviations"
% \listofsymbols{ll} % Include a list of Abbreviations (a table of two columns)
% {
% \textbf{LAH} & \textbf{L}ist \textbf{A}bbreviations \textbf{H}ere \\
% %\textbf{Acronym} & \textbf{W}hat (it) \textbf{S}tands \textbf{F}or \\
% }
%-------------------------------------------------------------------------------
% PHYSICAL CONSTANTS/OTHER DEFINITIONS
%-------------------------------------------------------------------------------
% \clearpage % Start a new page
% % Set the left side page header to "Physical Constants"
% \lhead{\emph{Physical Constants}}
% % Include a list of Physical Constants (a four column table)
% \listofconstants{lrcl}
% {
% Speed of Light & $c$ & $=$ & $2.997\ 924\ 58\times10^{8}\ \mbox{ms}^{-\mbox{s}}$ (exact)\\
% % Constant Name & Symbol & = & Constant Value (with units) \\
% }
%-------------------------------------------------------------------------------
% SYMBOLS
%-------------------------------------------------------------------------------
% \clearpage % Start a new page
% \lhead{\emph{Glossary}} % Set the left side page header to "Symbols"
% \listofnomenclature % List the nomenclature. (We use the glossaries package)
%-------------------------------------------------------------------------------
% REPORT CONTENT - CHAPTERS
%-------------------------------------------------------------------------------
\mainmatter % Begin numeric (1,2,3...) page numbering
\pagestyle{fancy} % Return the page headers back to the "fancy" style
% Include the chapters of the thesis as separate files from the Chapters folder
% Uncomment the lines as you write the chapters
\input{Chapters/Chapter1}
% \input{Chapters/Chapter2}
% \input{Chapters/Chapter3}
% \input{Chapters/Chapter4}
% \input{Chapters/Chapter5}
%\input{Chapters/Chapter6}
%\input{Chapters/Chapter7}
%-------------------------------------------------------------------------------
% REPORT CONTENT - CONCLUSION
%-------------------------------------------------------------------------------
\input{Conclusion/Conclusion}
%-------------------------------------------------------------------------------
% THESIS CONTENT - APPENDICES
%-------------------------------------------------------------------------------
\addtocontents{toc}{\vspace{0.5em}} % Add a gap in the Contents, for aesthetics
\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
\input{Appendices/AppendixA}
\input{Appendices/AppendixB}
%\input{Appendices/AppendixC}
\addtocontents{toc}{\vspace{1.5em}} % Add a gap in the Contents, for aesthetics
\backmatter
%-------------------------------------------------------------------------------
% BIBLIOGRAPHY
%-------------------------------------------------------------------------------
\label{Bibliography}
\lhead{\emph{Bibliography}} % Change the page header to say "Bibliography"
\printbibliography
\end{document}