summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ku-template/ku-template.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/ku-template/ku-template.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/ku-template/ku-template.sty')
-rw-r--r--macros/latex/contrib/ku-template/ku-template.sty45
1 files changed, 45 insertions, 0 deletions
diff --git a/macros/latex/contrib/ku-template/ku-template.sty b/macros/latex/contrib/ku-template/ku-template.sty
new file mode 100644
index 0000000000..8be190abe9
--- /dev/null
+++ b/macros/latex/contrib/ku-template/ku-template.sty
@@ -0,0 +1,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 \ No newline at end of file