Last active
October 14, 2017 11:10
-
-
Save felix-last/e6c70af6c7d7ebb5e5a91fc389887ae2 to your computer and use it in GitHub Desktop.
Nova IMS Latex Bootstrap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% template to submit thesis to IMS @ Universidade de Lisboa | |
% copy fragments as needed to create latex pdf | |
% fill in Word template (e.g. Templatethesis_MAA_EN.doc from moodle) | |
% export pages up to, but excluding the table of contents as pdf | |
% merge the two pdfs (how? google 'how to merge pdfs' :) ) | |
% using article document class is important for some modifications below to get the desired outcome | |
\documentclass[a4paper]{article} | |
% set page margins | |
\usepackage[left=2.5cm,top=2.5cm,right=2.5cm,bottom=2.5cm]{geometry} | |
% if using acronyms, this package is useful | |
\usepackage[printonlyused, withpage]{acronym} | |
% if using appendix, this package helps | |
\usepackage[toc,page]{appendix} | |
% set section and subsection headers to allcaps | |
\usepackage{sectsty} | |
\sectionfont{\clearpage\MakeUppercase} | |
\subsectionfont{\MakeUppercase} | |
% if working with chapters, dont break page before new section: | |
% \chapterfont{\clearpage\MakeUppercase} | |
% \sectionfont{\MakeUppercase} | |
% put page number in bottom right corner | |
\usepackage{fancyhdr} | |
\fancyhf{} % clear all header and footers | |
\renewcommand{\headrulewidth}{0pt} % remove the header rule | |
\rfoot{\thepage} | |
\pagestyle{fancy} | |
% change the name of the table of contents | |
\renewcommand*\contentsname{Index} | |
% include bibliography in table of contents | |
\usepackage[nottoc,numbib]{tocbibind} | |
% set font family (sans serif fallback) | |
\renewcommand{\familydefault}{\sfdefault} | |
% set font family to Calibri. | |
% Remove the following lines when not using xelatex or facing other fontspec related issues. | |
% If removed, Calibri won't be used, but another sans-serif family. | |
\usepackage{fontspec} | |
\setmainfont{Calibri} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\begin{document} | |
% to easily merge with the first pages of nova word template, make sure \maketitle and abstract are commented out | |
% roman page numbering for front matter | |
\pagenumbering{roman} | |
% Lists of figures, tables, acronyms (comment if not required): | |
\listoffigures | |
\listoftables | |
\section*{List of Abbreviations} | |
\begin{acronym}[TT] | |
%TODO sort alphabetically | |
\acro{IMS}{Information Management School} | |
\end{acronym}[TT] | |
% roman page numbering for main content | |
\pagenumbering{arabic} % NOVA | |
% main content | |
% work with sections and subsections, not chapters (otherwise adapt \chapterfont as mentioned above) | |
\section{Title of section} | |
\subsection{Title of subsection} | |
% bibliography | |
% \bibliographystyle{plain} | |
% \bibliography{references} % replace references with name of .bib file | |
% Including appendices could look like this: | |
% \appendix | |
% \section{Appendices} | |
% \subsection{Some Appendix} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment