Skip to content

mbudde/kufront

Repository files navigation

KU Frontpage in LaTeX

Provides a frontpage with University of Copenhagen logo following the guidelines in the official design guide. This package provides a frontpage similar to the one provided by the ku-forside package.

Features:

  • Contains the updated seal for the Faculty of Science from 2014.
  • Follows the guidelines for logo placement.
  • The logo grid (the figure with circles and triangles) is optional.

Todo:

  • So far only has the logo for the Faculty of Science.

Installation

Download the ZIP and extract kufront.sty and all the PDF files to the same directory as your document.

Permanent Linux Installation

If you want to permanently install the package on linux run the following terminal commands:

  • $ mkdir -p ~/texmf/tex/latex/local/
  • $ cd ~/texmf/tex/latex/local/
  • $ git clone git@github.com:mbudde/kufront.git
  • $ texhash

The package can now be used from any document.

Usage

\documentclass[a4paper]{article}
\usepackage[lang=en,grid]{kufront}

% Use sans-serif font
\renewcommand{\kufrontfont}{\sffamily}

\title{Studies on the Electron Theory of Metals}
\author{\Large Niels Bohr \quad {\ttfamily\large nbx123@alumni.ku.dk}}
\date{May 1911}
\project{\mdseries\LARGE PhD Thesis}
\supervisor{Supervisor: Christian Christiansen}

\begin{document}

\begin{titlepage}
\maketitle
\end{titlepage}

\end{document}

Resulting PDF

Requirements

The package requires the tikz, setspace, kvoptions and ifthen packages. If using the memoir document class, you need to add the command \DisemulatePackage{setspace} before loading this package. The page size must also be A4.

Package options

lang = ⟨langcode⟩ (default da)
Choose language for university name text. *langcode* can either be `en` or `da`.
faculty = ⟨id⟩ (default natbio)
Choose faculty. Only natbio is currently supported.
bw, color (default color)
Choose between color and black/white version.
grid = ⟨variant⟩ (default off)
Enable logo grid. Variants available are: light (light color), medium, dark and full (full saturation). If no variant is given, medium is used.
usefont (default false)
Use Adobe Garamond Pro small caps font to draw text instead of using premade PDF. Allows custom text in the header. Requires that the fontspec package is supported and that the font "AGaramond RegularSC" (Adobe Garamond Pro Small Caps) is available.
nametext (default: name of faculty)
First line of text in the header. Requires usefont to be enabled.
nametextsnd (default: empty)
Second line of text if in header if the text can't fit in one line. Requires usefont to be enabled.
subnametext (default: name of university)
Smaller line of text in the header. Requires usefont to be enabled.

Package commands

In addition to the standard \author, \title and \date commands, the following are also available:

\subtitle{⟨text⟩}
Set the subtitle.
\project{⟨text⟩}
Set the project (e.g. 'Master's Thesis').
\supervisor{⟨text⟩}
Set text describing supervisors.
\kufrontfont
Redefine this command to change the font used on the front page. For example if you want to use a sans-serif font: \renewcommand{\kufrontfont}{\sffamily}

About

LaTeX frontpage with University of Copenhagen logo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages