Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbudde/kufront
LaTeX frontpage with University of Copenhagen logo
https://github.com/mbudde/kufront
Last synced: 7 days ago
JSON representation
LaTeX frontpage with University of Copenhagen logo
- Host: GitHub
- URL: https://github.com/mbudde/kufront
- Owner: mbudde
- Created: 2015-02-16T23:02:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-17T14:17:24.000Z (about 9 years ago)
- Last Synced: 2023-04-13T20:10:00.103Z (over 1 year ago)
- Language: TeX
- Size: 188 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KU Frontpage in LaTeX
Provides a frontpage with University of Copenhagen logo following the
guidelines in the official [design guide](http://designguide.ku.dk). This
package provides a frontpage similar to the one provided by the [`ku-forside`
package](http://www.math.ku.dk/~m00cha/).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](https://github.com/mbudde/kufront/archive/master.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 [email protected]:mbudde/kufront.git```
- ```$ texhash```The package can now be used from any document.
## Usage
```tex
\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 [email protected]}}
\date{May 1911}
\project{\mdseries\LARGE PhD Thesis}
\supervisor{Supervisor: Christian Christiansen}\begin{document}
\begin{titlepage}
\maketitle
\end{titlepage}\end{document}
```
[Resulting PDF](https://github.com/mbudde/kufront/raw/master/example.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⟩
(defaultda
) - Choose language for university name text. *langcode* can either be `en` or `da`.
-
faculty = ⟨id⟩
(defaultnatbio
) - Choose faculty. Only
natbio
is currently supported. -
bw
,color
(defaultcolor
) - Choose between color and black/white version.
-
grid = ⟨variant⟩
(default off) - Enable logo grid. Variants available are:
light
(light color),medium
,dark
andfull
(full saturation). If no variant is given,medium
is used. -
usefont
(defaultfalse
) - 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}