%% set to proper T1 fonts (neccessary for Linux Libertine, anyway)
\usepackage[T1]{fontenc}
%% the input encoding is UTF-8
\usepackage[utf8]{inputenc}
%% german language features
\usepackage[ngerman]{babel}
%% libertine font
\usepackage{libertine}
%% image support
\usepackage{graphicx}
%% improved line spacing
\usepackage{setspace}

%% images surrounded by text
\usepackage{wrapfig}
%%\usepackage{floatflt}

%% configure margins, header and footer
\usepackage[outer=1.5cm,inner=3.5cm,top=2.5cm,bottom=2cm,nohead,includefoot]{geometry}
%% this must be the last package included, as it mangles stuff
\usepackage{hyperref}
%% hyperref setup
\hypersetup{
    %% force hyperref to run even in draft mode
    %%final,
    %% blank the borders
    pdfborder = 0 0 0,
    %% set some metadata
    pdftitle={Biometrische Personenidentifizierung},
    pdfsubject={Facharbeit aus dem Leistungskurs Biologie},
    pdfauthor={Marek Kubica},
    pdfkeywords={Biometrie Fingerabdruck Gesichtserkennung Iriserkennung ePass},
}

%% set the default figure placement (does not work for some reason)
\makeatletter
  \renewcommand{\fps@figure}{ht}
\makeatother
%% set the margin text on the left side instead on the right
\reversemarginpar

%% small capitals in cite references
%% adapted from http://osdir.com/ml/tex.german/2003-09/msg00121.html
%%\makeatletter
%%\renewcommand{\@cite}[2]{[\textsc{#1}]}
%%\makeatother

%% custom font size in captions: copied from
%% http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html

%%\newcommand{\captionfonts}{\small}
%%\makeatletter
%%\long\def\@makecaption#1#2{%
%%  \vskip\abovecaptionskip
%%  \sbox\@tempboxa{{\captionfonts #1: #2}}%
%%  \ifdim \wd\@tempboxa >\hsize
%%    {\captionfonts #1: #2\par}
%%  \else
%%    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
%%  \fi
%%  \vskip\belowcaptionskip}
%%\makeatother

\renewcommand{\topfraction}{0.85}
%%\renewcommand{\bottomfraction}{.9}
\renewcommand{\textfraction}{0.1}
%%\renewcommand{\floatpagefraction}{0.75}

%% change footnotes to use lowercase letters to avoid clashing with superscript
\renewcommand{\thefootnote}{\alph{footnote}}

\endinput
