125 lines
3.4 KiB
TeX
125 lines
3.4 KiB
TeX
% This document must be compiled with XeLaTeX!
|
||
% Show warning and useful tips during compilation
|
||
% Attention: Must be included even BEFORE \documentclass!
|
||
% Source: http://www.howtotex.com/packages/9-essential-latex-packages-everyone-should-use/
|
||
\RequirePackage[l2tabu,orthodox]{nag}
|
||
\documentclass[11pt, usegeometry]{scrartcl}
|
||
|
||
% Needed for fonts
|
||
% Replaces fontenc and inputenc for XeLaTeX and LuaTex
|
||
\usepackage{fontspec}
|
||
% Set fonts
|
||
%\setmainfont[Path=fonts/,UprightFont=*-Regular,BoldFont=*-Bold]{SourceSerifPro}
|
||
\defaultfontfeatures{Extension=.otf}
|
||
|
||
\fontspec[Path=font/,UprightFont=*-Regular-400]{FontAwesome5Free}
|
||
\usepackage{fontawesome}
|
||
|
||
% Enables translations for packages
|
||
% Replaces babel for XeLaTeX and LuaTeX (requires fontspec)
|
||
\usepackage{polyglossia}
|
||
% Attention: Call this as soon as possible to translate packages!
|
||
\setmainlanguage[spelling=new,babelshorthands=true]{german}
|
||
|
||
\usepackage{geometry}
|
||
\geometry{left=1.5cm,right=1.5cm,top=1cm,bottom=1cm}
|
||
|
||
% For embedding graphics
|
||
\usepackage{graphicx}
|
||
% Default search path for images
|
||
\graphicspath{{images/}}
|
||
|
||
% Typesetting improvments
|
||
\usepackage{microtype}
|
||
|
||
% Very good package for tables (e.g. enables automatic line breaks)
|
||
\usepackage{tabularx}
|
||
% Raggedright columns in tables https://latex.org/forum/viewtopic.php?p=86361&sid=18b7ff7a198e322b7b17dbd8d65e6007#p86361 und https://tex.stackexchange.com/a/35350
|
||
\newcolumntype{L}{>{\raggedright\arraybackslash}X}
|
||
|
||
% For better control of one/two columns
|
||
\usepackage{multicol}
|
||
|
||
% Spacing between columns
|
||
\setlength\columnsep{30pt}
|
||
|
||
% Don't align the bottom baselines of all columns
|
||
\raggedcolumns
|
||
|
||
% Needed for floats (e.g. figures) in combination with multicol package
|
||
\usepackage{float}
|
||
|
||
% Clickable URLs
|
||
\usepackage[hidelinks,pdfusetitle]{hyperref}
|
||
|
||
\usepackage{marvosym} % Provides Symbols
|
||
\usepackage{qrcode} % QR-Code
|
||
|
||
% Change spacing before and after section headings
|
||
\RedeclareSectionCommands[
|
||
beforeskip=-.8\baselineskip,
|
||
afterskip=.25\baselineskip
|
||
]{section}
|
||
|
||
|
||
\title{Der heiße Scheiß}
|
||
\subtitle{Das Pamphlet der Fachschaft WIAI für’s Stille Örtchen.}
|
||
\author{Fachschaft WIAI}
|
||
\date{\today}
|
||
|
||
\begin{document}
|
||
\noindent
|
||
\begin{minipage}{0.2\linewidth}
|
||
\begin{figure}[H]
|
||
\includegraphics[height=2.8cm]{WIAILogoVektor}
|
||
\end{figure}
|
||
\end{minipage}
|
||
\begin{minipage}{0.6\linewidth}
|
||
\begin{center}
|
||
\vfill
|
||
\huge{\bfseries{\makeatletter\@title\makeatother}}\\
|
||
\large{\makeatletter\@subtitle\makeatother}
|
||
\vfill
|
||
\end{center}
|
||
\end{minipage}
|
||
\begin{minipage}{0.2\linewidth}
|
||
\begin{figure}[H]
|
||
\hfill\includegraphics[height=3cm]{Fooboar-with-laptop-RGB}
|
||
\end{figure}
|
||
\end{minipage}
|
||
\vfill
|
||
|
||
\thispagestyle{empty}
|
||
|
||
\begin{multicols}{2}
|
||
|
||
\section*{Termine}
|
||
\begin{tabularx}{\linewidth}{@{}>{\bfseries}l >{\bfseries}l L@{}}
|
||
[Datum] & [Uhrzeit] & [Beschreibung] \\
|
||
\end{tabularx}
|
||
|
||
\section*{Überschrift}
|
||
|
||
[Hier kommt der Inhalt.]
|
||
|
||
\end{multicols}
|
||
|
||
\vfill
|
||
\hrule
|
||
\vspace{.3em}
|
||
{%
|
||
\small
|
||
\noindent\begin{minipage}{.3\linewidth}%
|
||
\qrcode[height=1.8cm]{https://www.wiai.de} \quad Klopapier [0x00] % Nr. der Ausgabe anpassen (soll in Hex sein!)
|
||
\end{minipage}
|
||
\begin{minipage}{.7\linewidth}
|
||
\hfill
|
||
\begin{tabular}{ll}
|
||
Impressum: & Fachschaft WIAI, Raum WE5/02.104 \\
|
||
& \MVAt~\href{mailto://fachschaft-wiai.stuve@uni-bamberg.de}{fachschaft-wiai.stuve@uni-bamberg.de}\\
|
||
& \Telefon~\href{tel:+49951863-1219}{+49~951~863-1219} \faExternalLink~\url{https://wiai.de}
|
||
\end{tabular}
|
||
\end{minipage}
|
||
}
|
||
\end{document}
|