Skip to content
Snippets Groups Projects
Commit efd9dea2 authored by jee7's avatar jee7
Browse files

Language picking from the root file.

parent 625e8f68
No related branches found
No related tags found
No related merge requests found
% !TEX root = thesis.tex
% Valime eesti keele. Infolehel, võõrsõnades ja tsitaatides on ka inglise keel.
%\documentclass[english,estonian]{unitartucs/thesis}
\documentclass[estonian,english]{unitartucs/thesis}
%\input{estonian/lõputöö.tex}
\input{english/thesis.tex}
% Teretulemast Tartu Ülikooli arvutiteaduse instituudi bakalaureuse- ja magistriõppe lõputööde malli.
% Welcome to the University of Tartu's Institute of Computer Science's Bachelor's and Master's Thesis template.
% Vali siin, kas su lõputöö on eesti või inglise keeles
% Choose here if your thesis is in Estonian or English
\newcommand{\templateLanguage}{Estonian} % Eesti keeles
%\newcommand{\templateLanguage}{English} % In English
% We load the correct things based on your choice
\RequirePackage{ifthen}
\ifthenelse{\equal{\templateLanguage}{Estonian}}
{% True case
\documentclass[english,estonian]{unitartucs/thesis}
\input{estonian/lõputöö.tex}
}
{% false case
\documentclass[estonian,english]{unitartucs/thesis}
\input{english/thesis.tex}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment