summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ku-template/ku-template.sty
blob: 8be190abe91fe089b5c8975241cd3a3157077ccc (plain)
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
40
41
42
43
44
45
%==========================================================================%
%  KU-TEMPLATE PACKAGE
%  ORIGINAL AUTHOR  = Lucas Alexander Vindum Pedersen
%  AUTHOR EMAIL     = lucas@luxiius.net
%  AUTHOR WEBSITE   = LucasAlexander.org
%  LAST EDITED      = 2017-11-28 00:15
%  LICENCE          = MIT (https://opensource.org/licenses/MIT)
%==========================================================================%

% Package config
\ProvidesPackage{ku-template}[2017/11/28 v0.02]

% Required Packages
\RequirePackage{wallpaper}
\RequirePackage{titling}

% Language options
\DeclareOption{en}{\def\LANG{en}}
\DeclareOption{da}{\def\LANG{da}}

% Faculty options
\DeclareOption{ku}{\def\FACULTY{ku}}
\DeclareOption{jur}{\def\FACULTY{jur}}
\DeclareOption{teo}{\def\FACULTY{teo}}
\DeclareOption{sun}{\def\FACULTY{sun}}
\DeclareOption{hum}{\def\FACULTY{hum}}
\DeclareOption{sam}{\def\FACULTY{sam}}
\DeclareOption{sci}{\def\FACULTY{sci}}

% Default options
\ExecuteOptions{da}
\ExecuteOptions{ku}

% Lets begin
\ProcessOptions\relax


% Insert our beautiful logo as a background
\ThisCenterWallPaper{1}{images/\FACULTY-\LANG.pdf}

% Move our title to match with the new background
\setlength{\droptitle}{7.5cm}


\endinput