Git Product home page Git Product logo

joaomlourenco / novathesis Goto Github PK

View Code? Open in Web Editor NEW
728.0 23.0 118.0 437.04 MB

A LaTeX template for academic monographs (e.g., dissertations and thesis). This template serves both beginners and proficient LaTeX users.

Home Page: http://joaomlourenco.github.io/novathesis/

License: LaTeX Project Public License v1.3c

TeX 97.54% Makefile 2.26% Shell 0.20%
phd latex latex-template msc novathesis unlthesis tex xelatex lualatex monography

novathesis's Introduction

GitHub forks GitHub stars GitHub watchers GitHub followers

Maintenance made-with-latex GitHub license

GitHub release GitHub Workflow Status (with branch) GitHub commits Last commit

GitHub license


Table of Contents


Star History Chart

If you choose to use this project, please:

  1. Give it a star by clicking the (⭐️) at the top right of the project's page.
  2. Make a small donation (pay me a beer!)
  3. Cite the NOVAthesis manual in your thesis/dissertation (e.g., in the acknowledgments) with \cite{novathesis-manual} (the correct bibliographic reference will be added automatically).

About

The novathesis” LaTeX template is an Open Source project for writing thesis, dissertations, and other monograph-like documents, which…

  • Is very easy to use for the LaTeX beginners:
    • Just select the School, provide the cover info, your chapters with text… and you're done!
  • Is flexible and adaptable for the LaTeX experts:
    • It's LaTeX! What would you expect?! 😉
  • Includes dozens of options that answer the requests from the very large user's community (1000's users):
    • E.g., multiple chapter styles, multiple font styles, automatic book spine generation, …
  • Supports multiples schools:
    • Currently supports +20 Schools, drawing the covers and typesetting the text according to the rules of each School.

This work is licensed under the LaTeX Project Public License v1.3c. To view a copy of this license, visit the LaTeX project public license.


Getting Started

With a Local LaTeX Installation

See below for alternatives to a local LaTeX installation

See “minimal installation” for instructions on how to build/use a minimal installation of LaTeX (<100 MB vs. 5GB for tex-live), which is just enough to compile the template successfully

  1. Download LaTeX:
  2. Download “novathesis” by either:
  3. Compile the document with you favorite LaTeX processor (pdfLaTeX, XeLaTeX or LuaLaTeX):
    • The main file is named “template.tex”.
    • Either load it in your favorite LaTeX text editor or compile it in the terminal with latexmk -shell-escape -file-line-error -pdf template. If you use a LaTeX text editor, please notice that the NOVAthesis template uses biberand not bibtex to process the bibliography, which means that most probably you have to open the Editor Preferences and somewhere (depends on the Editor) change bibtexto biber.
    • If Murphy is elsewhere, LaTeX will create the file “template.pdf”, which you may open with your favorite PDF viewer.
  4. Edit the files in the “Config” folder:
File Contents
0_memoir.tex Options specific for the memoir package. Don't touch this file unless you know what you are doing!
1_novathesis.tex Configure the template, i.e., the document type, the school, the used languages, etc.
2_biblatex.tex Configure the bibliography.
3_cover.tex Configure cover contents (e.g., author's name, thesis/dissertation title, advisers, committee, etc)
4_files.tex Configure the files for chapters, appendices, annexes, etc…
5_packages.tex Configure additional packages and commands
6_list_of.tex Configure the lists to be printed (table of contents, list of figures, list of tables, list of listings, etc). Don't touch this file unless you know what you are doing!
9_nova_fct.tex Configuration specific to nova/fct
9_nova_ims.tex Configuration specific to nova/ims
9_nova_itqb.tex Configuration specific to nova/itqb
9_ulisboa_fmv.tex Configuration specific to ulisboa/fmv
9_uminho.tex Configuration specific to uminho (all schools)
  1. Recompile de document:
    • See 3. above.
  2. You're done with a beautifully formatted thesis/dissertation! 😃

With a Remote Cloud-based Service

See above for using a local installation of LaTeX

NOVAthesis v6.10.10 is available as an Overleaf template. Just select open as template and follow from step 3 above!

  1. Download the latest version from the GitHub repository as a Zip file.
  2. Login to your favorite LaTeX cloud service. I recommend Overleaf but there are alternatives (these instructions apply to Overleaf and you'll have to adapt for other providers).
  3. In the menu select New project->Upload project
  4. Upload the zip with all the "novathesis" files.
  5. Select “template.tex” as the main file.
  6. Follow from step 3 above

WARNING: Overleaf reduced the compile time image There is no way you can compile your thesis/dissertation (using this template) within the new (20 seconds) time limit. This means you have two options:


Getting Help

Problems and Difficulties

Check the wiki and have some hope! 😄

If you couldn't find what you were looking for, ask for help in:

Please don't try to contact me directly for questions or support, by email or any other channel! I will not answer such requests… The GitHub Discussions page and the Facebook page are the right places to ask for help and support!

Suggestions, Bugs and Feature Requests

  • Do you have a suggestion? Please add it to the wiki and help other users!
  • Did you find a bug? Please open an issue. Thanks!
  • Would you like to request a new feature (or support of a new School)? Please open an issue. Thanks!

List of Supported Schools

novathesis's People

Contributors

ajccosta avatar b-pereira avatar bcandeias avatar bruno-anjos avatar cloud-j-luna avatar costaseco avatar d-roak avatar davidfsemedo avatar dntfreitas avatar fabiofdsantos avatar fernandesafp avatar flaviomartins avatar guilhermeadf avatar harryvasanth avatar joaomlourenco avatar jsaramago avatar microlina avatar nunocalaim avatar nyinyinyanlin avatar orestesmas avatar pedrovieira avatar ptalmeida avatar riclas avatar snovaisg avatar spratapsi avatar tmonteiro2344 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

novathesis's Issues

Configurable book spine

Follow the "spirit" used for the design (format and contents) of the cover page and create a set of macros to facilitate de design of the book spine.

Ph.D. proposal doctype does not state the target academic degree

The cover is missing the target academic degree when using the Ph.D. proposal doctype: \documentclass[doctype=propphd]

The cover shows "Proposta de tese para obtenção do Grau de em Engenharia Informática," instead of "Proposta de tese para obtenção do Grau de Doutor em Engenharia Informática."

FCSH cover

on the file unlthesis-files\schools\unl\fcsh\defaults.clo replace line 140 by \parbox[c][][c]{0.95\stockwidth}{\centering\textcolor{fcshblue}{\textbf{\thetitle}}} so as the bigger titles do not get too close to the margins of the paper

Better referencing support (and documentation)

The package hyperref ships a neat \autoref command, which I tend to use, but the case is not consistent (developer choice). I end up using both \ref and \autoref, depending on whether I'm starting the sentence with it or not, which means that the hyperlinks sometimes appear in numbers, others also in the preceding word (section, figure, tablet, etc.) This can be fixed, but it could be interesting to provide this out-of-the-box in the template, so it would be harmonized and everyone could benefit from it.

I think it should work like the cleverref package:

  • \autoref- figure, table, section, chapter
  • \Autoref- Figure, Table, Section, Chapter.

The used case would be up to the writer.

More information here.

Titles with forced line breaks

From @joaomlourenco on December 18, 2016 19:50

From @joaomlourenco on September 23, 2016 14:32

When a title includes a forced line break, e.g.
\title{bla bla bla \ bla bla}
usually for showing better in the cover page, the forced line also shows in the copyright page.

How to print it without the line breaks in the copyright page?

Copied from original issue: joaomlourenco/unlthesis#44

Copied from original issue: #5

Glossary

Add support for a glossary.
— Use one of the standard packages.
— Find the appropriate location for the glossary in the text (maybe after the other indexes?!)
— Create some instructions on how to use the glossary.

FCT-UNL PhD for "graus em associação"

From @joaomlourenco on December 18, 2016 19:50

From @ruimcportela on October 27, 2016 14:19

Como falamos na aula de latex (prof João Lourenço), não existe template para a capa de doutoramento para graus em associação. Por isso venho pedir para fazer um template em latex (pdf em anexo - doc disponível no CLIP).
Obrigado,
Rui
Formatação de capas de dissertações (graus em associação).doc.pdf

Copied from original issue: joaomlourenco/unlthesis#45

Copied from original issue: #4

Split document type into 2 leves

PROBLEM: Current document types include: phd, phdplan, phdprop, msc, mscplan, bsc. As a consequence, sometimes people submit their thesis with the prototype of the jury printed in the cover instead of activating the flag to omit the jury).

PROPOSAL: Replace by a two level scheme, where the first level will specifies the base document type (phd, msc, bsc) and the second level specifies a subclass/stage for the document (plan, proposal, submission, final, inassociation, …)

New Institutions

Hello,

Is there any plan to include Faculdade de Ciências, Universidade de Lisboa?

Thank you

NOVA-IMS spine

there is a need to replace the \thelastsheet+19 (line 23) by \thelastsheet as this command gives the total number of pages, including the frontmatter, as is on the spine.clo on the unlthesis-files folder.

there is a problem with the long title names (140char) on this spine, as they are written over the green boxes when they run out of space, maybe solved by using a smaller font size whenever the size of the title box is greater than the white space, as when the author title is below the title the box cannot have linebreaks

Acronyms

Dear all,

I have the \acronymsfile{} not commented but is not being printed. Anyone knows why?

Thank you
Helena

Compilation problems

Greetings,

I always get the following compilation error as soon as I try to compile the template:
screen shot 2016-06-29 at 14 11 34

I'm using TeXMaker on Mac OS X.

Best regards,

Rename the project

From @joaomlourenco on December 18, 2016 19:49

From @joaomlourenco on December 18, 2016 16:12

From unlthsis to novathesis. Can we do it?

Copied from original issue: joaomlourenco/unlthesis#48

Copied from original issue: #1

CD Cover

Incorporate the open pull request #38 for generating a CD Cover from the final delivery of the thesis.

Bad links when referencing subbottoms with \ref and \subcaptionref

There is a conflict between the memoir class and hyperref package when a subbottom is referenced.

When more than one figure is created with several subfigures, a reference to any subottom will point ALWAYS to the first one.

E.g.,

Chapter 1 has Figure 1.1 with two subfigures (a and b):

\begin{figure}[htbp]
    \centering
    \subbottom[Subbottom 1] {%
        \label{fig:sub1}
        \includegraphics{fig1}
    }~
    \subbottom[Subbottom 2] {%
        \label{fig:sub2}
        \includegraphics{fig2}
    }
    \caption{\emph{subbottom} example}
    \label{fig:1}
\end{figure}

Chapter 2 has Figure 2.1 with two subfigures (a and b):

\begin{figure}[htbp]
    \centering
        \subbottom[Subbottom 3] {%
            \label{fig:sub3}
            \includegraphics{fig3}
        }~
        \subbottom[Subbottom 4] {%
            \label{fig:sub4}
            \includegraphics{fig4}
        }
    \caption{Yet another \emph{subbottom} example}
    \label{fig:2}
\end{figure}

The command \ref{fig:sub3} will print 2.1(a), but the link will point to Figure 1.1(a), instead of pointing to Figure 2.1(a).

Furthermore I get a compiling warning similar to these:

destination with the same identifier (name{subfigure.1}) has been already used, duplicate ignored
destination with the same identifier (name{subfigure.2}) has been already used, duplicate ignored

I saw this problem mentioned here, here, plus in a couple of places, but none of the provided solutions worked.
Additionally, the memoir package manual did not shed any light on the matter.

Is anyone else having this problem? Can you reproduce it? It is important to know this because it can occur due to my setup.

Problem spotted with version 3.1.2 (2016/02/22) and older versions.

Add support for French

There is already some basic support in the translation of keywords. Must more work is needed.

Symbols List, Acronyms List customization

I'm having some trouble adapting the code a colleague used successfully to create a separate acronyms and symbols list.

The Acronyms and Symbols list are to be separate and the symbols list is meant to also include a separate column with the units for the given symbol.

The acronyms and symbols are defined separately in their own files. The acronyms are being defined as:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% glossary.tex
%% UNL thesis document file
%%
%% Acronyms definition
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newacronym{}{}{}

\newacronym{CFD}{CFD}{Computational Fluid Dynamics}

And the symbols:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% glossary.tex
%% UNL thesis document file
%%
%% Glossary definition
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \addto{\captionsportuguese}{
% \renewcommand{\glossaryname}{Symbols List}
% }
%

\newglossaryentry{a_frontal}{name=\ensuremath{a},
description={Frontal area per volume},
symbol={[mm^{-1}]},
sort=Afrontalareapervolume,
type=symbolslist}

The code added was as follows:

In the main .tex file (template.tex):

% The Table of Contents is always printed. % The other lists below may be commented and omitted. \addlisttofrontmatter{\listoffigures} % The List of Figures. Comment to omit. \addlisttofrontmatter{\listoftables} % The List of Tables. Comment to omit. %\addlisttofrontmatter{\lstlistoflistings} % The List of Code Listings. Comment to omit. %\addlisttofrontmatter{\printnoidxglossaries} % The Glossary and List of Acronyms \addlisttofrontmatter{\printnoidxglossary[type=acronyms, style=acronym_long3col]} \addlisttofrontmatter{\printnoidxglossary[type=symbolslist, style=formel_altlong4colheader]}

So here the last two lines are added. A bit further down it now looks like this:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \thesisfrontmatter % Before the main text (TOC, etc) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \printcoverpage % The cover page \printaftercover \printcopyright % Print the copyright page (will only be printed if adequate for the document type) \printdedicatory % Print the dedicatory (will only be printed if adequate for the document type) \printacknowledgements % Print the acknowledgments (will only be printed if adequate for the document type) \printquote % Print the quote (if file exists and is adequate for the document type) \printabstract % Print abstracts (in PT and EN). The abstract in the document main language will % be printed first, the abstract in the foreign language will be printed second \tableofcontents* % Always print the table of contents \printotherlists % If option 'otherlistsat=front', print other lists of contents according to instructions given above, otherwise do nothing

So "\printotherlists" is activated.

Then, the packages.clo file was also altered from line 52:

`% To process the bibliography
% (This should be listed after the hyperref, otherwise hyperlinks in citations won't work)
\RequirePackage[backend=bibtex]{biblatex}

% Manage glossaries
\RequirePackage[nonumberlist,translate=babel,acronym,toc,shortcuts]{glossaries} % To create glossaries
% \glsdisablehyper

\newglossary[slg]{symbolslist}{syi}{syg}{Symbols List} % AAAALLLLLTTTEEERRRRAAAADDDOOOO

\makenoidxglossaries
\setacronymstyle{long-short}

\newglossarystyle{formel_altlong4colheader}{%
\setglossarystyle{altlong4colheader}%
%
\renewcommand*{\glossaryheader}{%
\bfseries Symbol
& \bfseries Description
& \bfseries Units\
\hline
\\endhead}%
\renewcommand{\glossentry}[2]{%
\glstarget{##1}{\glossentryname{##1}}%
& \glossentrydesc{##1}%
& \glossentrysymbol{##1}%
\tabularnewline % end of row
}%
}
\newglossarystyle{acronym_long3col}{%
\setglossarystyle{long3col}%
%
\renewenvironment{theglossary}%
{\begin{longtable}[l]{@{}p{0.2\hsize}p{0.7\hsize}p{0.01\hsize}@{}}}%
{\end{longtable}}%
\renewcommand{\glossentry}[2]{%
\textbf{\glstarget{##1}{\glossentryname{##1}}}%
& \glossentrydesc{##1}%
\tabularnewline % end of row
}%
}

\setlength{\glsdescwidth}{3in}
}`

However, I'm still getting some very weird errors on compiling the document which lead me to believe that not all is adequately configure. The errors are as follows:

! Missing \endcsname inserted.

\dtl@sortresult
l.279 \printotherlists
% If option 'otherlistsat=front', print other lists ...
The control sequence marked should
not appear between \csname and \endcsname.
! Undefined control sequence.
@gls@sort@A
l.279 \printotherlists
% If option 'otherlistsat=front', print other lists ...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., \hobx'), type I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

Now, it does generate a document, but I have to manually activate the "view pdf" option, but there seem to be some incongruities as to what gets printed.

I'm trying to look into other sources that can help me generate what I need, namely this thread on stack exchange.

Any help?

Package biblatex Warning: Using fall-back BibTeX(8) backend

I couldn't make this warning go away:

Package biblatex Warning: Using fall-back BibTeX(8) backend:
(biblatex) functionality may be reduced/unavailable.

I tried setting backend=biber, backend=bibtex, and backend=bibtex8. Either in template.tex documentclass or directly in unlthesis-files/packages.clo, to no avail.

How to reproduce:

pdflatex template.tex

By the way, thanks for unlthesis : -).

Generate the book spine

From https://code.google.com/p/thesisdifctunl/issues/list?preview=thesisdifctunl%3A23&ts=1405894891&updated=23.

I have build a small code to generate the book spine. However, it does not automatically calculate the adequate width but it does provide a first attempt and in the mean time allows the generation of the book spine

\def\spine#1{\gdef@spine{#1}} % \spine is used to print the author short name (maybe there is a more elegant solution for this
\def@spine{~spine @notdefined}

\def\printthespine{%
\newgeometry{left=0.1cm,right=0.1cm,top=0.1cm,bottom=0.1cm}
\cleardoublepage
\newlength\spinewidth
\setlength\spinewidth{6mm} % Specify accordingly
\null\vfill
\makebox[\paperwidth][c]{%
\framebox[\spinewidth][c]{
%
\begin{minipage}[t][.9\paperheight][c]{\spinewidth}
\centering
\includegraphics[width=0.95\spinewidth]{./Logo/logoUNL.pdf}
\vfill
\setlength{\textfloatsep}{1pt}
\rotatebox{90}{\tiny
\begin{tabular}{c}
\textbf{@title}
@spine
\end{tabular}}
\vfill
\tiny \textbf{\the\year}
\end{minipage}
}
}
\vfill
\restoregeometry
\cleardoublepage

}

IMS template

Hi,

I just download the thesis template and was going to start, but when I tired to use: school=unl/ims, I got several error messages and the pdf was not showing the logo.
Is IMS not yet added completely?

Thank you

Titles with forced line breaks

When a title includes a forced line break, e.g.
\title{bla bla bla \ bla bla}
usually for showing better in the cover page, the forced line also shows in the copyright page.

How to print it without the line breaks in the copyright page?

Package biblatex Warning: Using fall-back BibTeX(8) backend

From @joaomlourenco on December 18, 2016 19:50

From @luismsgomes on September 11, 2016 23:20

I couldn't make this warning go away:

Package biblatex Warning: Using fall-back BibTeX(8) backend:
(biblatex) functionality may be reduced/unavailable.

I tried setting backend=biber, backend=bibtex, and backend=bibtex8. Either in template.tex documentclass or directly in unlthesis-files/packages.clo, to no avail.

How to reproduce:

pdflatex template.tex

By the way, thanks for unlthesis : -).

Copied from original issue: joaomlourenco/unlthesis#41

Copied from original issue: #6

Print Spine Bug

When the flag to print the thesis spine is set to true, a compilation error occurs. This has been tested on both a real thesis and with a barebones download-and-compile version of the project.
Compilation error on barebones project:

Processing: Chapters/appendix1.tex

Including: unlthesis-files/Schools/unl/fct/Images/logoUNL.pdf
Latex Error: ./template.tex:271 Missing number, treated as zero.

Latex Error: ./template.tex:271 Illegal unit of measure (pt inserted).

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

Output written on template.pdf (107 pages, 560546 bytes).

Complete transcript is in template.log

Command pdflatex -interaction=nonstopmode -file-line-error-style -synctex=1 exited with status 1

Found 2 errors, and 4 warnings in 1 run

Examples with charts

Create a couple of examples with charts for plotting data.
I believe GNU Plot will be the best option for this.

Split document type into 2 levels

From @joaomlourenco on December 18, 2016 19:50

From @joaomlourenco on November 18, 2016 13:7

PROBLEM: Current document types include: phd, phdplan, phdprop, msc, mscplan, bsc. As a consequence, sometimes people submit their thesis with the prototype of the jury printed in the cover instead of activating the flag to omit the jury).

PROPOSAL: Replace by a two level scheme, where the first level will specifies the base document type (phd, msc, bsc) and the second level specifies a subclass/stage for the document (plan, proposal, submission, final, inassociation, …)

Copied from original issue: joaomlourenco/unlthesis#46

Copied from original issue: #3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.