Giter Club home page Giter Club logo

tub_phdthesistemplate's Introduction

TUB_PhDThesisTemplate

A PDF/A - unofficial PhD Thesis template for the Technical University of Berlin

Build Status Build status License MIT


Features

  • Print and online version
  • Three different fonts
  • One-page and two-page layout
  • Adaptive Title page for final sumbission and for the evaluation process
  • PDF/A-1b for online submission, works with pdflatex, lualatex and xelatex
  • bibtex and biblatex support
  • Build script for pdflatex, lualatex and xelatex
  • Seperated tex-files for each chapter
  • TikZ - support
  • Figure support for TikZ, pgf (with python) and asymptote.
  • Glossaries
  • siunitx
  • german language support

Make for linux and Mac

To build the PDF version of your thesis, run:

make

This build procedure uses pdflatex with bibtex and will produce thesis.pdf. To use pdflatex with biblatex, you should run:

make BIB_STRATEGY=biblatex

To use XeLaTeX, you should run:

make BUILD_STRATEGY=xelatex

or with biblatex

make BUILD_STRATEGY=xelatex BIB_STRATEGY=biblatex

To use LuaLaTeX, you should run:

make BUILD_STRATEGY=lualatex

or with biblatex

make BUILD_STRATEGY=lualatex BIB_STRATEGY=biblatex

To clean the directory, run:

make clean

Make for windows

just run compile-{BUILD_STRATEGY}-{BIB_STRATEGY}.bat BUILD_STRATEGY can be latex, pdflatex, xelatex or lualatex BIB_STRATEGY can be either biblatex or bibtex

documentclass-options

% *********************** Choosing pdfx standard ******************************
% `pdfa1'
% `pdfa2'
% `pdfx3'
% *********************** Change Thesis-Language to German ******************************
% default is english
% `german' : language is set to german
% % *********************** Choosing oneside / twoside ******************************
% `oneside' : layout is optimized for one-side print
% `twoside' : layout is optimized for two-side print
% *********************** Choosing print / online ******************************
% `print' : pdf-file is optimized for print
% `online' : pdf-file is optimized for online submission. The links are colorfull.
% *********************** Choosing biblatex or bibtex ******************
% `biblatex' : biblatex is used. Biblatex is automatically set when using xetex
%
% *********************** Choosing bibliographystyle ******************
% `numbered' : (default option) e.g. [1], [2]
% `authoryear' :  e.g. Name (2008)
% `custombib' : Use your own style, which is defined in preamble.tex
% *********************** Choosing the Fonts size ******************
% `9pt'
% `10pt'
% `11pt'
% `12pt'
% *********************** Choosing the paper size ******************
% `letterpaper'
% `a4paper'
% `a5paper'
% *********************** Choosing the Fonts in Class Options when using pdflatex ******************
% 
%  On Windows, the packge cm-super has to be installed!
%
% `' :  computer modern
% `fontA' :  newtxmath
% `fontB' :  cmbright
% `fontC' :  libertine,newtxmath
% `fontD' :  concmath
% `fontE' :  iwona
% `fontF' :  kurier	
% `fontG' :  anttor
% `fontH' :  kmath,kerkis
% `fontI' :   mathdesign (Utopia)
% `fontJ' :  fouriernc
% `fontK' :  pxfonts
% `fontL' :  mathpazo
% `fontM' :  mathpple
% `fontN' :  txfonts
% `fontO' :  mathtime (Belleek)
% `fontP' :  mathptmx	times	
% `fontQ' :  mbtimes	omega
% `fontR' :  arev
% `fontS' :  mathdesign (Charter)	
% `fontT' :  comicsans
% `fontU' :  mathdesign (Garamond)
% `fontV' :  fourier	utopia
% `fontW' :  ccfonts,eulervm
%
% `customfont': Use `customfont' option in the document class and load the
% package in the preamble.tex
%
% default or leave empty: `Latin Modern' font will be loaded.
%
% *********************** Choosing the Fonts in Class Options when using xelatex/lualatex ***********
%
% `' :  computer modern
% `fontA' :  XITS - XITS Math
% `fontB': Cambria - Cambria Math
% 'fontC': Libertinus - Libertinus Math
% 'fontD': TeX Gyre Pagella - Asana Math
% 'fontE': TeX Gyre Pagella - TeX Gyre Pagella Math
% 'fontF': TeX Gyre Schola - TeX Gyre Schola Math
% 'fontG': TeX Gyre Termes - TeX Gyre Termes Math
% 'fontH': TeX Gyre Bonum - TeX Gyre Bonum Math
% 'fontI': DejaVu Sans - TeX Gyre DejaVu Math
%
% `customfont': Use `customfont' option in the document class and load the
% package in the preamble.tex
%
% default or leave empty: `Latin Modern' font will be loaded.
%
% ************************* Custom Page Margins ********************************
%
% `custommargin`: Use `custommargin' in options to activate custom page margins,
% which can be defined in the preamble.tex. Custom margin will override
% print/online margin setup.
%
% ************************* other options ********************************
% `abstract`: Only the title-page and the abstracts are generated
%

Inspirations/Based on

  • CUED PhD thesis template by Krishna Kumar

  • PhDthesis version 2 by Jakob Suckale

  • CUED Version 1.1 Template by H. Banderi

tub_phdthesistemplate's People

Contributors

holgern 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

Watchers

 avatar  avatar  avatar  avatar  avatar

tub_phdthesistemplate's Issues

Bibliography & front_matter

Hi!

Great job with the template. There are a couple of issues I cannot sort out. Could you help?

  1. Even with biblatex & maxbibnames set to 99, the maximum number of authors in a reference in the bibliography is 20. The 19th and 20th author are separated by 3 dots.

  2. The page numbers (in roman numerals) for the front matter only appear on the last page of a section (i.e. a 2-page abstract) or not at all in the case of a dedication page.

Thanks!

Mike

How to fix the shortened author names in Bibliography?

Current mode of the template shortens the authors in the bibliography by using et al in case of more than 3 authors (e.g. First author et al.). I tried couple of change in the parameters in preamble and did not work out. Any idea how to fix it? Thanks!

Biber cache corrupted

Somehow, I guess due to a broken build or abrupt build the biber cache can be corrupted. This results in a failing reference build with no references found at all.

There is no error message but the bbl file stays empty. The solution after a lot debugging, reinstalling of the entire latex distribution, is quiet simple:

https://tex.stackexchange.com/questions/140814/biblatex-biber-fails-with-a-strange-error-about-missing-recode-data-xml-file

One has to delete the biber cache.

Error in Makefile with SVG vector images in the template

Having an SVG file in the path 1_introduction as follow:

$ tree
.
├── figures
│   ├── jpg
│   │   └── largepotato.jpg
│   └── svg
│       └── largepotato.svg
└── introduction.tex

and calling the SVG file as

\begin{figure}[htb]
  \centering
  %\includegraphics[width=1\columnwidth]{jpg/largepotato}
  \includegraphics[width=1\columnwidth]{svg/largepotato}
  \caption[A common glucose polymers]{\textbf{A common glucose polymers} - The figure shows starch granules in potato cells, taken from 
  \href{http://molecularexpressions.com/micro/gallery/burgersnfries/burgersnfries4.html}{Molecular Expressions}.}
  \label{fig:largepotato}
\end{figure}

Makefile produce an error:

$ make
NOTE: You may ignore warnings about the following files:

     thesis.d

Makefile:2824: thesis.d: No such file or directory
= thesis.tex --> thesis.d thesis.pdf.1st.make (0-1) =
make: *** No rule to make target 'svg/largepotato', needed by 'thesis.d'. Stop.

and partial output of thesis.d

269 .SECONDEXPANSION:
270 # MISSING stem "svg/largepotato" - allowed extensions are ".tikz,.TIKZ,.TikZ,.pgf,.PGF,.png,.jpg,.jpeg,.pdf,.gif,.eps" - leave comment here - it affects the build
271 -include svg/largepotato.gpi.d

I am wondering if I am missing some configuration parameter in the Makefile, which indeed has the following rule:

# Converts svg files into .eps files
#
# $(call convert-svg,<svg file>,<eps/pdf file>,[gray])
convert-svg	= $(INKSCAPE) --without-gui $(if $(filter %.pdf,$2),--export-pdf,--export-eps)='$2' '$1'

Thanks for your help and time!

Abbreviations can't be generated

Hi everyone,

Thanks a lot for providing this template.

I have a small issue regarding the abbreviations. I create an abbreviation like this in glossary.tex file:

\newglossaryentry{NLP}{
name={NLP},
description={Natural Language Processing},
type=abbreviations
}

And try to add it to one of my chapter with \gls{NLP}, but it doesn't work. I see this message on the abbreviation page:

"This document is incomplete. The external file associated with the glossary ‘abbreviations’ (which should be called output.gls-abr) hasn’t been created. Check the contents of the file output.glo-abr. If it’s empty, that means you haven’t indexed any of your entries in this glossary (using commands like \gls or \glsadd) so this list can’t be generated. If the file isn’t empty, the document build process hasn’t been completed.

You may need to rerun LATEX. If you already have, it may be that TEX’s shell escape doesn’t allow you to run makeindex. Check the transcript file output.log. If the shell escape is disabled, try one of the following:
• Run the external (Lua) application: makeglossaries-lite "output"
• Run the external (Perl) application: makeglossaries "output"

Then rerun LATEX on this document. This message will be removed once the problem has been fixed."

I use Overleaf for the creating latex file and I couldn't see any file named "output.gls-abr". Does someona have the same problem and maybe help me with it?

Thanks a lot.

Extra title pages per chapter

Hi,

Thanks a lot for the great template. I would like to add an extra title page to each chapter but have not been able to figure out how to do it. Let's take the introduction as an example. On its title page, I would like to have the chapter number (1) repeated but not the title (Introduction) and instead insert a picture. The back of this page will be empty and then the real introduction starts with the chapter number and title and content etc. I tried to make separate chapters using \cfchapters for the title pages, but then the Introduction is numbered 2 logically. Can you help me out how to go about it?

Thanks a lot,
Loeka

Mini-TOC in every chapter

Hi, thanks for the amazing work first of all! That made things a lot easier :)

I wanted to ask if it's possible somehow to get a mini TOC in the beginning of every chapter. titlesec and minitoc are incompatible, so I cannot use the latter. If found an example online to use titletoc but the mini TOC won't show up if I put those things in the preamble.

Any help would be appreciated!

Footnotes jumping to title page in your template

The footnotes jump to title page when clicking on them. I have tried every possible solution along with hyperref on the last or changing the order of packages. Please fix it or any suggestion

CONVERTING CITATION STYLE TO AUTHORYEAR

Good day,

Referring to the above subject. I have tried to change the citation style to authoryear in the Premeable all to no avail using the template.

Nay urgent help will be highly appreciated.

Metadata not working in Overleaf

When compiling with overleaf, the metadata is not written in the resulting PDF/A.

Solution: rename the file thesis.xmpdata to output.xmpdata

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.