Select Git revision
Forked from
EIT / Templates / style-eit-latex
Source project has a limited visibility.
EIT.sty 5.63 KiB
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% TUK EIT Style for LaTeX Documents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProvidesPackage{style-eit-latex/EIT}[2017/06/02 v0.4 by Matthias Jung, Christian De Schryver]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Language Settings and Options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% defines a global token "isGerman" that can also be used in the LaTeX files later
\RequirePackage{etoolbox}
\newtoggle{isGerman}
\togglefalse{isGerman}
% set language by options [de] or [en]
% default is English
\DeclareOption{en}{\togglefalse{isGerman}}
\DeclareOption{de}{\toggletrue{isGerman}}
% set global font style to sans serif by passing [pt] option
\DeclareOption{pt}{\renewcommand{\familydefault}{\sfdefault}}
\ProcessOptions\relax
% language support
\iftoggle{isGerman}{
\usepackage[ngerman]{babel} % German language support
}{
\usepackage[english]{babel} % English language support
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Layout Settings
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{geometry}
\geometry{
a4paper,
top=25.4mm,
left=25.4mm,
right=25.4mm,
bottom=25.4mm,
headsep=8mm,
footskip=10mm
}
% Line distance
\renewcommand{\baselinestretch}{1.20}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Standard Packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set up unicode input:
\RequirePackage[utf8]{inputenc}
% set 8-bit font enconding
% see: http://tex.stackexchange.com/questions/664/why-should-i-use-usepackaget1fontenc
\RequirePackage[T1]{fontenc}
% Breaking URLs with hyphens
\RequirePackage[hyphens]{url}
% Header and footer
\RequirePackage{fancyhdr}
% Math packages
\RequirePackage{amsmath}
\RequirePackage{amsfonts, amssymb}
\RequirePackage{graphicx}
% Enable bold math with \pmb{...}