Git Product home page Git Product logo

latex_thesis_outdated's Introduction

LaTeX thesis template

This is my master thesis template for use at VŠB - Technical University of Ostrava, but you can use it for any university.

Your information and title page

To change title page, customise text in the brackets located in the main.tex file.

%%%% your information
\university{your university}
\faculty{your faculty}
\department{your department}
\title{Title}
\titleen{Title (en)}
\author{your name}
\supervisor{your supervisor}
\city{Ostrava}
\year=2021

Title page

For those who are not from VŠB or want to customise titlepage go to the preamble.tex and scroll down to the bottom of the .tex file. There you will find this setup.

%%%% titlepage

\renewcommand{\maketitle}{
	\thispagestyle{empty} 
	{\centering
	{\large\scshape
		\@university\\
		\@faculty \\
		\@department
	}
	\vfill
	{
		\LARGE\sffamily{
			{\textbf\@title\\}
			\vspace{1em}
			\@titleen\\
		}
	}
	\vfill
	\begin{tabularx}{.8\textwidth}{XX}
		Autor: & \@author\\
		Vedoucí diplomové práce: & \@supervisor
	\end{tabularx}\\
	\vspace{2em}
	\@city~\the\year\\
}
	\clearpage
}

Structure

I use subfiles package for pulling individual *.tex files into main.tex. Writing is therefore divided into individual chapters, every chapter has its own .tex file.

Chapters are printed by \subfileinclude{} command. If you have more chapters, add chapter_08.tex file into /chapters/ folder and print it by \subfileinclude{chapters/chapter_08} et cetera.

%%%% chapters
\subfileinclude{chapters/chapter_01}

\subfileinclude{chapters/chapter_02}

\subfileinclude{chapters/chapter_03}

etc....

Each subfile has to contain

\documentclass[main.tex]{subfiles}

\begin{document}
...
\end{document}

where [main.tex] refers to ROOT file main.tex .

You can then write as usual by adding \section, \subsection, et cetera.

Typesetting

LuaLaTeX compiler is necessary for this to work.

Assignment

To upload your assignment, substitute /config/assignment.pdf with your assignment.pdf file

Figures

I would recommend you to make subfolder, where you can store all figures. Then you write

\begin{figure}[H]
  \includegraphics[]{your subfolder/your figure.png}
  \caption{}
\end{figure}

I would recommend using argument [H] which places the float precisely at the location in the LaTeX code or argument [hbt] and let LaTeX do the magic. For more information check: https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions

Fonts

Big advantage of typesetting with LuaLaTeX is, that you can use any font, that is stored in your computer, BUT YOU HAVE TO DOWNLOAD AND INSTALL THOSE FONTS. To change fonts go into config/preamble.tex

\usepackage{fontspec} 
\defaultfontfeatures{Ligatures=TeX}
%	\setmainfont{TeXGyreTermes-Regular}[
%		BoldFont       = TeXGyreTermes-Bold ,
%		ItalicFont     = TeXGyreTermes-Italic ,
%		BoldItalicFont = TeXGyreTermes-BoldItalic,
%		NFSSFamily     = ntxtlf]
% 	\setsansfont{TeX Gyre Heros Regular}[
%		Scale=.9,
%		BoldFont       = TeXGyreHeros-Bold,
%		ItalicFont     = TeXGyreHeros-Italic,
%		BoldItalicFont = TeXGyreHeros-BoldItalic]
%	\setmonofont[StylisticSet={1,3},Scale=.9]{inconsolata}

If you want your thesis to look great, I would recommend sticking with either Computer modern (used by default) or TeXGyre (like Times/Helvetica). To use TeXGyre delete % at the beginning of each line (uncomment).

Headers/footers

To make headers/footers I use fancyhdr package. To customise go to main.tex

% head/footnote settings for chapters
\pagestyle{fancy}	%makes headers/footers
\fancyhf{}
\rhead{Diplomová práce} %right side headers
\lhead{VŠB -- TUO} %left side headers
\chead{your name} %center headers
\lfoot{Title name} %left side footers
\rfoot{\thepage} %right side footers
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{1pt}

Headers and footers are used only for chapters/sections.

Nomenclature

Nomenclature can be done by using commands \msym and \msho as shown in the template. The commands are defined by:

\newcommand{\msym}[3]{\noindent\parbox[t]{3cm}{#1}\parbox[t]{9cm}{#2}\hfill\parbox[t]{2cm}{[#3]}\vspace{12pt}} 
\newcommand{\msho}[2]{\parbox[t]{3cm}{#1}\parbox[t]{12cm}{#2}\vspace{12pt}\\}

Bibliography

You can add bibliography into main.bib file and print it by \cite{"key"} command.

Bibliography style is set to czechinounsrt. For this purpose you will find czechinounsrt.bst file in main directory.

More information about bibliography here: https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management

Useful links

TBD

Last word

I am open to any ideas, that would improve this template. Hope you will find this template useful.

latex_thesis_outdated's People

Contributors

opltl avatar

Watchers

 avatar

Forkers

imthebadwolf

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.