-
Notifications
You must be signed in to change notification settings - Fork 0
/
duomasterforside.sty
39 lines (27 loc) · 1.16 KB
/
duomasterforside.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%% Identification part:
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesClass{duomasterforside}[2020 OsloMet document class]
%% Specify various texts in the correct language:
\newcommand{\duo@optionname@eng}{option}
\newcommand{\duo@optionname@bm}{studieretning}
\newcommand{\duo@optionname@nn}{studieretning}
\newcommand{\duo@correct@option}{\csname duo@optionname@\duo@lang\endcsname}
\newcommand{\duo@thesisname@eng}{Thesis submitted for the degree of\\ Master in}
%\newcommand{\duo@thesisname@bm}{Oppgave for graden\\ Master i}
%\newcommand{\duo@thesisname@nn}{Oppg\aa ve for graden\\ Master i}
\newcommand{\duo@credit@eng}{credits}
%\newcommand{\duo@credit@bm}{studiepoeng}
%\newcommand{\duo@credit@nn}{studiepoeng}
\newcommand{\duo@printertitle@eng}{Printed}
%\newcommand{\duo@printertitle@bm}{Trykk}
%\newcommand{\duo@printertitle@nn}{Trykk}
\newcommand{\duo@kind}{\csname duo@thesisname@\duo@lang\endcsname{}
\duo@program\par
\duo@opt
\ifthenelse{\duo@sp=0}{}{\par
\duo@sp~\csname duo@credit@\duo@lang \endcsname}}
%% Define a suitable document date, like "Spring 2016":
\newcommand{\duo@date}{\duo@term~\duo@year}
%% Load generic part:
\input{duoforside}
\endinput