Template – University of Vienna
OfficialAuteur
University of Vienna
Last Updated
il y a 2 ans
License
Creative Commons CC BY 4.0
Résumé
Template for the University of Vienna | Universität Wien
Contact: zid.univie.ac.at
\documentclass[a4paper, 11pt]{article} % Paper and font size
\usepackage[english]{babel} % Language setting
% Set margins
\usepackage[top=2.5cm,bottom=2.5cm,left=2cm,right=2cm,marginparwidth=1.75cm]{geometry}
% Load useful packages
\usepackage{graphicx} % Graphics
\usepackage{amsmath} % Math
\usepackage{xcolor} % Link color
\definecolor{custom-blue}{RGB}{0,99,166}
\usepackage{hyperref}
\hypersetup{colorlinks=true, allcolors=custom-blue}
\usepackage[default]{sourcesanspro} % Load font
\usepackage[T1]{fontenc} % Special characters
\usepackage{fancyhdr} % Load header, footer package
\usepackage{lastpage} % Footer note
\usepackage{lipsum} % For dummy text
\pagestyle{myheadings} % Own header
\pagestyle{fancy} % Own style
\fancyhf{} % Clear header, footer
\setlength{\headheight}{30pt} % Set header hight
\renewcommand{\headrulewidth}{0.5pt} % Top line
\renewcommand{\footrulewidth}{0.5pt} % Bottom line
\fancyhead[L]{\includegraphics[width=3cm]{univienna-logo.eps}} % Header left
\fancyhead[C]{} % Header center
\fancyhead[R]{University of Vienna} % Header right
\fancyfoot[L]{\textcopyright Jamie Doe} % Footer left
\fancyfoot[C]{} % Footer center
\fancyfoot[R]{\thepage/\pageref{LastPage}} % Footer right
%%% Begin document %%%
\begin{document}
\begin{figure} % Include Logo
\flushleft
\includegraphics[width=0.4\textwidth]{univienna-logo.eps}
\end{figure}
% Set title, author, date
\title{Template - University of Vienna | Universität Wien}
\author{Jamie Doe - jamie.doe@univie.ac.at}
\date{\today{}, Vienna}
\maketitle % Include contents
\tableofcontents
\section{Template} % Example sections, subsections
\subsection{Fonts} % Example fonts
In this example the {\huge huge font size} is set and the {\footnotesize foot note size also}.
A command is used \texttt{ to change the style of a sentence}.
\lipsum[1-1]
\subsection{Mathematics}
\[S_n = \frac{X_1 + X_2 + \cdots + X_n}{n}
= \frac{1}{n}\sum_{i}^{n} X_i\]
\subsection{Tables} % Example tables
\begin{center}
\begin{tabular}{ |c|c|c| }
\hline
Cell 1 & Cell 2 & Cell 3 \\
Cell 4 & Cell 5 & Cell 6 \\
Cell 7 & Cell 8 & Cell 9 \\
\hline
\end{tabular}
\end{center}
\subsection{Example 1} % Example footnote
\footnote{Tiny little footnote}Lorem ipsum dolor sit amet.
\lipsum[1-1]
\subsection{Example 2} % Example lists
A link to the \hyperlink{https://www.univie.ac.at}{homepage of the University of Vienna}.
\lipsum[1-1]
\begin{enumerate}
\item Like this,
\item and like this.
\end{enumerate}
\begin{itemize}
\item Like this,
\item and like this.
\end{itemize}
\lipsum[1-1]
%%% End document %%%
\end{document}