← All templates

University of Aveiro thesis and dissertation (uaThesisTemplate)

The uaThesisTemplate package, kept by the Department of Electronics, Telecommunications and Informatics (DETI) of the Universidade de Aveiro on memoir, for master's dissertations and doctoral theses: the university's cover with the department name, colour band and logo for every department and school (options deti, dmat, dfis, dq ... and engineering, sciences, health, economy ...), jury, acknowledgements, keywords and abstracts in Portuguese and English, contents, lists of figures, tables and code, acronyms, sample chapters in Portuguese on figures, tables with siunitx, code listings and equations, and biblatex references with biber.

Create an account to use this
Category
Thesis
Document class
memoir (memoir.cls) — ships with TeX Live
Workflow
Thesis / dissertation — submissions and revision rounds
Author
University of Aveiro, DETI (ua-thesis-template; Fábio Maia, Ricardo Jesus)
Source
University of Aveiro, DETI (ua-thesis-template; Fábio Maia, Ricardo Jesus)
Licence
memoir.cls: LaTeX Project Public License (installed with TeX). The sample text is University of Aveiro, DETI (ua-thesis-template; Fábio Maia, Ricardo Jesus)'s, provided for authors preparing a submission.

These are the publisher’s own files. This project starts from University of Aveiro, DETI (ua-thesis-template; Fábio Maia, Ricardo Jesus)’s package for this publication — their manuscript, their memoir.cls, their bibliography style — so what compiles here is what they would have given you.

University of Aveiro, DETI (ua-thesis-template; Fábio Maia, Ricardo Jesus) serves this exact file to University of Aveiro. Check University of Aveiro, DETI (ua-thesis-template; Fábio Maia, Ricardo Jesus)’s author pages for the current instructions.

Where this differs from the publisher’s download.

  • Changed: thesis.tex and chapters/chapter2.tex: code listings use the listings package instead of minted (minted needs shell escape): the C sample is an lstlisting with its caption and label, the inline example uses \lstinline, and the caption names stay 'Código' and 'Lista de Excertos de Código'; fancyvrb is loaded for \fvset. The switch \use<editor>, named after another online editor, is renamed \skippdfcomment (it only skips the pdfcomment package) and a comment naming that editor is reworded. The build folder, helper scripts, Python requirements (Pygments for minted), workflow and README are not part of the template (2026-11-23). thesis.tex: \usepackage{float} is added after fancyvrb (with a comment), for the [H] placement of the figure and table in chapters/chapter2.tex; minted, which the original used, had loaded it (2026-11-23, production fixes)..
  • Note: The DETI template, used across the university's departments; check it against the current rules of your department and of the university's graduate regulations.

What you get

  • LICENSE · 1 KB
  • acronyms.tex · 269 B
  • bib/references.bib · 221 B
  • chapters/appendix-more.tex · 759 B
  • chapters/chapter-conclusions.tex · 1 KB
  • chapters/chapter1.tex · 2 KB
  • chapters/chapter2.tex · 5 KB
  • custom-theme.tex · 7 KB
  • figs/map.png · 222 KB
  • figs/uaLogoNew.pdf · 3 KB
  • thesis.tex — the file that is compiled · 18 KB
  • uaThesisTemplate.sty · 18 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Link to this template. Send it to a student or co-author: it starts a new paper in this template, through sign-up if they need an account.

https://manulyx.com/start/aveiro-deti-thesis

Source

LICENSE — binary, 1 KB

acronyms.tex · 269 B

Loading…

bib/references.bib · 221 B

Loading…

chapters/appendix-more.tex · 759 B

Loading…

chapters/chapter-conclusions.tex · 1 KB

Loading…

chapters/chapter1.tex · 2 KB

Loading…

chapters/chapter2.tex · 5 KB

Loading…

custom-theme.tex · 7 KB

Loading…

figs/map.png — binary, 222 KB

figs/uaLogoNew.pdf — binary, 3 KB

thesis.tex — the file that is compiled · 18 KB
%!TEX encoding = UTF-8 Unicode

%% Thesis main document

% Remove 'coverdepname' parameter to remove department name from cover pages
% Add 'final' parameter to remove "DOCUMENTO PROVISÓRIO" from cover page
\documentclass[11pt,a4paper,twoside]{memoir}

%%% This file is a template for the cover of your
%%%  thesis.
%%% Lines like this one, starting with %%% , are
%%%  instructions. Search them to know where and
%%%  how to edit this file. After editing the
%%%  document you can delete them.
%%% Items marked with OPTIONAL can be removed.
%%% Most of the lines you will have to change
%%%  already have examples to help you understand.
%%% The complete list of options and commands can
%%%  be found in uaThesisTemplate.sty

%%% Select your area of study and department from
%%%  the following lists and replace them in the
%%%  \usepackage declaration ([area,department]).
%%%
%%% | area        |   | department |
%%% ---------------   --------------
%%% | arts        |   | dao        |
%%% | sciences    |   | dbio       |
%%% | education   |   | dcspt      |
%%% | economy     |   | deca       |
%%% | engineering |   | degeit     |
%%% | humanities  |   | de         |
%%% | health      |   | deti       |
%%% |             |   | demac      |
%%% |             |   | decivil    |
%%% |             |   | dem        |
%%% |             |   | dfis        |
%%% |             |   | dlc        |
%%% |             |   | dmat       |
%%% |             |   | dq         |
%%% |             |   | dcm        |
%%% |             |   | dgeo        |
%%% ---------------   --------------
%% Import the UA thesis template
\usepackage[engineering,deti]{uaThesisTemplate}

%% T1 fonts (UTF-8 input is the default)
\usepackage[T1]{fontenc}
\usepackage{mathpazo}  % Palatino for text & math
\renewcommand\familydefault{\rmdefault} % Use serif font (Palatino) as default

%% We will use english and portuguese
\usepackage[english,portuguese]{babel}

\usepackage{xspace}% used by \sigla

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%       DEFINE THESIS COVER FIELDS
%%                  START
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% Edit thesis year
%% Thesis Year
\ThesisYear{\the\year}


%%% Uncomment one of the following options:
%\DocumentTypeThesis
%\DocumentTypeThesisProposal
%\DocumentTypeProgressReport
\DocumentTypeDissertation

%%% Uncomment if you are a student of a MAP Doctoral program 
%%% http://www.map.edu.pt/
%%% | area                | identifier |
%%% | Biology of Plants   | bioplant   |
%%% | Computer Science    | i          |
%%% | Physics             | fis        |
%%% | Telecommunications  | tele       |

%\MAPProgram{i}

%%% Edit author's name
%% Author's full name
\Author{Primeiro Nome}{Último Nome}

%%% Edit thesis title in Portuguese
%% Thesis Mandatory Title in Portuguese
\TitlePT{Título da Tese em Português (MÁXIMO 130 CARACTERES)}

%%% OPTIONAL: you can write your thesis title in
%%%  other languages. You can repeat the following
%%%  line as many times as you want, or remove it
%%%  if you only want the portuguese title.
%% Optional Titles in additional languages.
\TitleEN{Thesis Title in English (MAX 130 CHARACTERS)}

%%% Edit your supervisor's information.
%%%
%%% Use this command for male supervisor
%%% \Supervisor{name}{category}
%%%
%%% Or this command for female supervisor
%%% \Supervisora{name}{category}
%%%
%%% name   : Supervisor's name
%%% categoy: One of the following list
%%%
%%% | category                  |
%%% -----------------------------
%%% | catedrático/a             |
%%% | catedrático/a convidado/a |
%%% | associado/a c/ agregação  |
%%% | associado/a               |
%%% | auxiliar                  |
%%% | auxiliar convidado        |
%%% -----------------------------
%%%
%%% In case your supervisor is not a professor, you can use the following format:
%%%
%%% \Supervisor[title]{name}{category}
%%%
%%% This works on the male and female supervisor commands. 
%%% You should use this format if your supervisor is a researcher, engineer, or any other professional that is not a professor.

%% Supervisor information
\Supervisor{(nome do orientador)}{associado}

%%% OPTIONAL: you can add a second supervisor.
%%%
%%% Use this command for male supervisor
%%% \SupervisorMember{name}{category}
%%% 
%%% Or this command for female supervisor
%%% \SupervisoraMember{name}{category}
%%%  {[preposition: (at, in, no, da)] department}
%%%  {[preposition: (at, in, do, na)] school}
%%%  {[preposition: (and, e)] }
%%%
%%% name      : See above.
%%% category  : See above.
%%% department: Can be a department, faculty or
%%%             other; Choose the preposition
%%%             accordingly.
%%% school    : University/School name; Choose the
%%%             preposition accordingly.
%%% last      : Write {e } (Portuguese) or {and } (English)
%%%             for the last enumerated Supervisor; Or
%%%             nothing {} for all other supervisors 
%% Optional SecondSupervisor information
\SupervisorMember{(co-orientador)}{auxiliar convidado}{do Departamento de Matemática}{da Universidade de Aveiro}{}

%%% Repeat the above declaration for additional
%%%  Supervisor members as many times as necessary.
%% Additional Supervisor members
\SupervisoraMember{(co-orientadora)}{associada c/ agregação}{do Departamento de Biologia}{da Universidade de Aveiro}{}
\SupervisorMember{(co-orientador)}{auxiliar convidado}{do Departamento de Física}{da Universidade de Aveiro}{e }

%%% Edit your degree information.
%%%
%%% \Degree{title}{name}
%%%
%%% title: Degree title (Mestre or Doutor)
%%% name : Degree name
%% Degree title and name
\Degree{Mestre}{Engenharia de Computadores e Telemática}

%%% OPTIONAL: edit grant support texts where
%%%  appropriate. Maximum two.
%%%
%%% \GrantText{grant1}{grant2}
%% Optional Grant support texts
\GrantText{Texto Apoio financeiro do POCTI no âmbito do III Quadro Comunitário de Apoio.\\
          \newline
          (if applicable- Portuguese mandatory)}
          {Texto Apoio financeiro da FCT e do FSE no âmbito do III Quadro Comunitário de Apoio.\\
          \newline
          (if applicable- Portuguese mandatory)}

%%% Edit the Jury President information.
%% First Member will be the President of the Jury
\JuriMember{Prof. X}{professor associado da Universidade de Aveiro}

%%% Repeat the above declaration for additional
%%%  members of the jury as many times as necessary.
%% Additional members of the Jury
\JuriMember{Prof. X}{professor associado da Universidade de Aveiro}
\JuriMember{Prof. X}{professor associado da Universidade de Aveiro}
\JuriMember{Prof. X}{professor associado da Universidade de Aveiro}
\JuriMember{Prof. X}{professor associado da Universidade de Aveiro}
\JuriMember{Prof. X}{professor associado da Universidade de Aveiro}

%%% OPTIONAL: Add an acknowledgement text
%% Optional Acknowledgement text
\Acknowledgements{Agradeço toda a ajuda a todos os meus colegas e companheiros.%
  \\Agradeço a todos os que contribuiram para o modelo de \LaTeX{} usado neste trabalho:\\ \texttt{https://github.com/detiuaveiro/ua-thesis-template}
}

%%% Edit the keywords and abstract in Portuguese
%%% Don't forget to remove the \blindtext[3]
%%%  declaration.
%%% Don't remove the \selectlanguage statement or you will end with incorrect hyphenation
%%% Don't use commands in the Abstract. Only the \selectlanguage{}, \texttt{}, and \\ commands were configured to be supported. You can configure additional commands in \pdfstringdefDisableCommands
%% Mandatory Keywords and Abstract in Portuguese
\Abstract{palavras-chave}{texto livro, arquitetura, história, construção, materiais de construção, saber tradicional.}
         {resumo}{\selectlanguage{portuguese}Um resumo é um pequeno apanhado de um trabalho mais longo (como uma tese, dissertação ou trabalho de pesquisa). O resumo relata de forma concisa os objetivos e resultados da sua pesquisa, para que os leitores saibam exatamente o que se aborda no seu documento.\\Embora a estrutura possa variar um pouco dependendo da sua área de estudo, o seu resumo deve descrever o propósito do seu trabalho, os métodos que você usou e as conclusões a que chegou.\\Uma maneira comum de estruturar um resumo é usar a estrutura IMRaD. Isso significa: Introdução, Métodos, Resultados, Discussão. Veja mais pormenores aqui:\\\texttt{https://www.scribbr.com/dissertation/abstract/}}

%%% OPTIONAL: you can write the keywords and
%%%  abstract in other languages. You can repeat
%%%  the following lines as many times as you want
%%%  or remove them if you only want portuguese.
%%% Don't remove the \selectlanguage statement or you will end with incorrect hyphenation.
%%% Don't use commands in the Abstract. Only the \selectlanguage{}, \texttt{}, and \\ commands were configured to be supported. You can configure additional commands in \pdfstringdefDisableCommands
%%% You can modify the language to any other supported by Latex
%% Optional Keywords and Abstract in additional languages.
\Abstract{keywords}{textbook, architecture, history, construction, construction materials, traditional knowledge.}
         {abstract}{\selectlanguage{english}An abstract is a short summary of a longer work (such as a thesis, dissertation or research paper).\\The abstract concisely reports the aims and outcomes of your research, so that readers know exactly what your paper is about.\\Although the structure may vary slightly depending on your discipline, your abstract should describe the purpose of your work, the methods you’ve used, and the conclusions you’ve drawn.\\One common way to structure your abstract is to use the IMRaD structure. This stands for: Introduction, Methods, Results, Discussion. Check for more details here:\\\texttt{https://www.scribbr.com/dissertation/abstract/}}


%%% OPTIONAL: Acknowledge the use of AI Tools
\AIUse{I acknowledge the use of [insert AI system(s) and link] to [specific use of generative artificial intelligence or other tasks]. I acknowledge the use of [software, codes or platforms] to [specific use software, codes or platforms or to other tasks].
\newline\newline
Example 1: I acknowledge the use of ChatGPT 3.5 (Open AI, https://chat.openai.com) to summarise the initial notes and to proofread the final draft and the use of Office365 (Microsoft, https://www.office.com) for text writing and productivity.
\newline\newline
Example 2: No content generated by AI technologies has been used in this Thesis.
}
%Reconheço o uso de [inserir sistema(s) de IA e respetiva hiperligação] para [indicar utilização específica de IA ou outras tarefas]. Reconheço a utilização de [indicar software, código ou plataforma] para [indicar utilização específica de software, código ou platafoma ou para outras tarefas].
%Exemplo 1: Reconheço a utilização do ChatGPT 3.5 (Open AI, https://chat.openai.com) para resumir as notas iniciais e para rever o rascunho final, a utilização do Office365 (Microsoft, https://www.office.com) para a escrita do texto.
%Exemplo 2: Não foram utilizados no presente trabalho quaisquer conteúdos gerados por tecnologias de IA.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%       DEFINE THESIS COVER FIELDS
%%                  END
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%       BEGIN DOCUMENT PACKAGES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Optionally use the Latin Modern fonts
%\usepackage{lmodern}

\usepackage{ifthen}
\def\skippdfcomment{0}  % change to non-zero (for instance, 1) to skip the pdfcomment package

\pdfpxdimen=\dimexpr 1in/300\relax % Set DPI to 300 for better quality



\usepackage{microtype}  % Make pdf look better

% Side by side figures
% Eg. Fig 1a, Fig 1b
\usepackage[hang,small,bf]{caption}
\usepackage{subcaption}

% Configure Hyperlink color
% As a matter or style, you may use this to enable/disable color boxes on links
%\usepackage[breaklinks=true,colorlinks=false,linkcolor=blue]{hyperref}
% Or use the default values provided by the hyperref package
\usepackage{hyperref}

% Disable commands not supported as PDF string
\pdfstringdefDisableCommands{%
  \def\\{ }%
  \def\texttt#1{#1}%
  \def\selectlanguage#1{}%
}

% Configure pdf information dictionary
\hypersetup{
  pdfauthor={{\ciAuthorFirst} {\ciAuthorLast}},
  pdftitle={\ciTitlePT},
  pdfkeywords={\ciKeywords},
  pdfsubject={\ciAbstractText}
}

% Code listings: the listings package (minted, which the original used, needs
% shell escape).
\usepackage{listings}
\usepackage{fancyvrb}
\usepackage{float} % the [H] float placement used in chapters/chapter2.tex (minted used to load it)
\lstset{basicstyle=\ttfamily\footnotesize, frame=lines, framesep=2mm, numbers=left,
  numberstyle=\tiny, columns=fullflexible, keepspaces=true, showstringspaces=false,
  literate={á}{{\'a}}1 {à}{{\`a}}1 {ã}{{\~a}}1 {â}{{\^a}}1 {é}{{\'e}}1 {ê}{{\^e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {õ}{{\~o}}1 {ô}{{\^o}}1 {ú}{{\'u}}1 {ç}{{\c{c}}}1 {Á}{{\'A}}1 {É}{{\'E}}1 {Ç}{{\c{C}}}1}
\renewcommand{\lstlistingname}{Código}
\renewcommand{\lstlistlistingname}{Lista de Excertos de Código}
\fvset{fontsize=\footnotesize} % Make Code blocks smaller than text
\usepackage{csquotes}

\usepackage{comment} % Add support for PDF Comments
\ifthenelse{\equal{\skippdfcomment}{0}}
{\usepackage{pdfcomment}}{}

\usepackage{bookmark} % New Bookmarks
\usepackage{multicol} % For Multiple columns in Glossary
\usepackage{amsmath} % Add support for Math symbols
\usepackage{amssymb} % Add support for Math symbols
\usepackage{eurosym} % Add support for the Euro symbol
\usepackage{todonotes} % Add support for missingfigure and todo

% Setup bibliography with Biber using IEEE style for proper UTF-8 support
\usepackage[backend=biber, style=ieee, sorting=none, natbib=true, mincitenames=1, maxcitenames=2]{biblatex}
\addbibresource{bib/references.bib}

\usepackage[printonlyused]{acronym} % For acronyms
\usepackage{indentfirst}            % Indenting the first paragraph after section start
\usepackage[detect-weight=true, binary-units=true]{siunitx} % Package to master SI units
\usepackage{verbatim}               % For inline TT text (e.g. code snippets)

%Keep floats inside section!
\usepackage[section]{placeins}
\pretocmd{\chapter}{\FloatBarrier}{}{}
\pretocmd{\subsection}{\FloatBarrier}{}{}
\pretocmd{\subsubsection}{\FloatBarrier}{}{}

% extra index for first lines
\makeindex[lines]

\newcommand\mainmatterWithoutReset{
{\edef\temppagenumber{\arabic{page}}%
  \mainmatter
  \setcounter{page}{\temppagenumber + 1}%
}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%       BEGIN DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Adjust margins according to the Standards for the presentation of the Master Dissertation
%
\settypeblocksize{245mm}{155mm}{*}
\setulmargins{3cm}{*}{*}
\setheadfoot{\onelineskip}{2\onelineskip}
\setlrmarginsandblock{3cm}{2.5cm}{*}
\checkandfixthelayout

% Texts
\newenvironment{introduction}
{%
  \begin{minipage}{\textwidth-2em}%
   \itshape%
}
{%
  \end{minipage}%
  \par\addvspace{2\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip}%
}

\begin{document}

%%% By default we consider portuguese to be the
%%%  main language (the last one in the usepackage
%%%  declaration). If you're writing your thesis
%%%  in english uncomment the following line.
%%% Set the proper language or you will end with incorrect hyphenation!
%\selectlanguage{english}


%% COVER PAGES
% Comment this line to disable cover pages and speed up compilation during editing
\MakeCover

% Redefine section names according to your preference
%\def\sectionautorefname{Section}
%\def\chapterautorefname{Chapter}
%\def\figureautorefname{Figure}
%\def\listingautorefname{Listing}
%\def\tableautorefname{Table}

% Front matter
\frontmatter

%Exclude sub figures from List of Figures
%\captionsetup[subfloat]{list=no}

% Set chapter style for TOC, LOF, LOT
\pagestyle{plain}
\chapterstyle{veelo}


% Adjust spacing in TOC
\setlength{\cftbeforechapterskip}{0.25em}
\setlength{\cftbeforesectionskip}{0em}
\setlength{\cftbeforesubsectionskip}{0em}
\setlength{\cftbeforesubsubsectionskip}{0em}

\renewcommand\contentsname{Índice}
\small
\SingleSpacing
\tableofcontents
\clearpage
\listoftables
\clearpage
\listoffigures
\clearpage

%\renewcommand{\listingscaption}{Código}
%\renewcommand{\listoflistingscaption}{Lista de Excertos de Código}
%\listoflistings
%\clearpage

% Print Acronyms
\clearpage
\include{acronyms}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Main document starts here
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\mainmatter
\normalsize

\maxtocdepth{subsection} %subsections are added to the TOC
\setsecnumdepth{subsubsection} %subsubsections are numbered

% Select chapter style from existing or select custom
%\chapterstyle{thesis} % Others: dowding, demo2, dash, chappell, brotherton, bianchi, ger, madsen, tatcher, veelo,indexes)
% Check: https://tug.ctan.org/info/MemoirChapStyles/MemoirChapStyles.pdf

% Default is madsen chapter style


% Set custom section styles
%\setsecheadstyle{\Large\lsstyle\bfseries}
%\setsubsecheadstyle{\large\lsstyle\bfseries}
%\setsubsubsecheadstyle{\normalsize\lsstyle\bfseries}

% Line spacing: 1.5 pt
\OnehalfSpacing

% If you feel adventurous you can also define all aspects of your theme
% Use either this input or the chapterstyle before
% \input{custom-theme.tex}

%% CHAPTERS
\input{chapters/chapter1}
\input{chapters/chapter2}  
%\input{chapters/chapter3} % uncomment to add further chapters
%\input{chapters/chapter4}
\input{chapters/chapter-conclusions}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Print all used references
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begingroup
\renewcommand{\bibfont}{\footnotesize}
% Redefine References name to Portuguese
% Change if you are using english
\setsecnumdepth{none}
\maxsecnumdepth{none}

\defbibheading{bibliography}[Referências]{
\chapter{Referências Bibliográficas}
}
\vspace{2em}
\SingleSpacing
\setlength\bibitemsep{8pt}
\printbibliography[heading=bibliography]

\setsecnumdepth{subsubsection}
\maxsecnumdepth{subsubsection}
\endgroup


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Load appendix
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\mainmatterWithoutReset
\appendix
\pagestyle{plain}
\include{chapters/appendix-more}
\end{document}


uaThesisTemplate.sty · 18 KB

Loading…

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗