A LuaLaTeX PhD thesis template for Universidad Carlos III de Madrid. Bioengineering Department.
- Asier Marcos Vidal [email protected]
- Later minor changes, readme and extra features : Pedro M. Gordaliza [email protected]
-
Conforms to the Student Registry PhD dissertation guidelines and PhD guidelines
-
Supports LuaLaTeX, Available in Overleaf
-
Adaptive Title Page: Title page adapts to title length
-
[] Title page with both College and University crests.
-
[] Print / On-line version: Different layout and hyper-referencing styles
-
Pre-defined and custom fonts (Times / Fourier / Latin Modern / ancient greek) with math support
-
Supports system fonts (LuaLaTeX)
-
[] Pre-defined and custom bibliography style support (authoryear / numbered / custom)
-
[] Custom page styles: 3 Different Header / Footer styles
-
Pre-defined and custom margin size
-
A separate abstract with thesis title and author name, along with the titlepage can be generated by passing the argument
abstract
to the document class. -
Option to generate only specific chapters and references without the frontmatter and title page. Useful for review and corrections.
-
[] Draft mode: Draft water mark, timestamp, version numbering and line numbering
-
[] Add supervisor and/or advisor to your PhD thesis
Clone and sync the repository https://github.com/BIIG-UC3M/Thesis-template
This template supports XeLaTeX
compilation chain. To generate PDF run
latexmk -xelatex thesis.tex
makeindex thesis.nlo -s nomencl.ist -o thesis.nls
latexmk -xelatex -g thesis.tex
This template supports XeLaTeX
compilation chain. To generate PDF run
latexmk -pdflatex=lualatex -pdf thesis.tex
This template supports latexmk
. To generate DVI, PS and PDF run
latexmk -dvi -ps -pdf thesis.tex
The template supports PDF, DVI and PS formats. All three formats can be generated
with the provided Makefile
.
To build the PDF
version of your thesis, run:
make
This build procedure uses pdflatex
and will produce thesis.pdf
.
To produce DVI
and PS
versions of your document, you should run:
make BUILD_STRATEGY=latex
This will use the latex
command to build the document and will produce
thesis.dvi
, thesis.ps
and thesis.pdf
documents. You will need psutils installed
Clean unwanted files
To clean unwanted clutter (all LaTeX auto-generated files), run:
make clean
Note: the Makefile
itself is take from and maintained at
here.
Usage: sh ./compile-thesis.sh [OPTIONS] [filename]
[option] compile: Compiles the PhD Thesis
[option] clean: removes temporary files - no filename required
- Open command prompt and navigate to the directory with the tex file. Run:
`compile-thesis-windows.bat`.
- Alternatively, double click on
compile-thesis-windows.bat
- [] Thesis information such as title, author, year, degree, etc., and other meta-data can be modified in
output.xmpdata
- [] Update the cover according to your university rules. WARNING! For Universidad Carlos III de Madrid this is quite critical and you should follow their templates. Download the template given as a .doc from here, include your information, save it as a .pdf and update the code line in the Latex document.
-
[] To generate the separate abstract and the title page, make sure the following commands are in the preamble section of
thesis.tex
file:\ifdefineAbstract \includeonly{Abstract/abstract} \fi
-
The chapter mode allows user to only print specific chapters along with references. By default, it excludes everything else in the front matter and appendices. This can done by using
chapter
option in the document class inthesis.tex
. Ignore subsequent warnings about skipping sections (if any). -
To generate the separate abstract and the title page, make sure the following commands are in the preamble section of
thesis.tex
file:\ifdefineChapter \includeonly{Chapter3/chapter3} \fi
draft
adds a watermark draft
text with timestamp and version number at the top or
the bottom of the page. Pagewise line numbering is added on every page. draft
settings can be tweaked in the preamble.tex
.
-
Use
draftclassic
in the document class options to use the default book class draft mode. -
To add figures in draft mode (default enabled), in the preamble set
\setkeys{Gin}{draft=false}
.draft=true
disables figures -
To change the watermark text \SetDraftText{DRAFT}
-
To change the position of the watermark text. Default watermark position is top. The location can be changed to (top / bottom) \SetDraftWMPosition{bottom}
-
To change the draft version. Default draft version is v1.0. \SetDraftVersion{v1.1}
-
Watermark grayscale value can be modified. Text grayscale value (should be between 0-black and 1-white). Default value is 0.75 \SetDraftGrayScale{0.8}
- Remember LuaLatex!!
- In order to generate the thesis at different qualities. The template contains folders for figures storage at different formats. Just change the root path under
\graphicspath
at main_phd.tex
Overleaf:
Menu --> Word Count
You can run the following command (Linux/Unix):
ps2ascii thesis.pdf | wc -w
(eg., result 2713 words)
or
pdftotext thesis.pdf | wc thesis.txt -w
(eg., result 2690 words)
or
texcount -inc *.tex
(eg., result 2341 words)
You can report issues at our GitHub repository.