summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ku-template
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-12 22:27:42 +0000
committerKarl Berry <karl@freefriends.org>2017-09-12 22:27:42 +0000
commitb7365e17c6bcfe9c7041c82264541f2582f0a125 (patch)
treee44accf361f9a64c355cc96685246547e6392922 /Master/texmf-dist/tex/latex/ku-template
parent645fea73b8e358e5c54f71495e375bce13497714 (diff)
ku-template (13sep17)
git-svn-id: svn://tug.org/texlive/trunk@45282 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ku-template')
-rw-r--r--Master/texmf-dist/tex/latex/ku-template/ku-template.sty45
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ku-template/ku-template.sty b/Master/texmf-dist/tex/latex/ku-template/ku-template.sty
new file mode 100644
index 00000000000..83b55232099
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/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-08-13 00:35
+% LICENCE = MIT (https://opensource.org/licenses/MIT)
+%==========================================================================%
+
+% Package config
+\ProvidesPackage{ku-template}[2017/08/13 v0.01]
+
+% 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