summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrangerot <purple@orangerot.dev>2023-03-20 16:03:42 +0100
committerOrangerot <purple@orangerot.dev>2023-03-20 16:03:42 +0100
commitbae681e9ed6a2c955f809b8d5ce3af21d07c1993 (patch)
tree97f75e3bb616e93b744091278d893f7ccd703a07
parentfdf1d2124dfdc6265c5d0d58ba08d7ecd7afcdf8 (diff)
added header with name and link to repoHEADmain
-rw-r--r--sheet.tex26
1 files changed, 25 insertions, 1 deletions
diff --git a/sheet.tex b/sheet.tex
index 435a110..fba5034 100644
--- a/sheet.tex
+++ b/sheet.tex
@@ -1,14 +1,38 @@
\documentclass[11pt, a4paper, twoside]{article}
-\usepackage[a4paper, margin=1cm]{geometry}
+\usepackage[
+ a4paper,
+ headsep=5mm,
+ footskip=0mm,
+ top=12mm,
+ left=10mm,
+ right=10mm,
+ bottom=10mm
+]{geometry}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{multicol}
\usepackage[noend]{algorithm2e}
\usepackage[utf8]{inputenc}
+\usepackage{fancyhdr}
+\usepackage{hyperref}
+\hypersetup{
+ colorlinks=true,
+ linkcolor=blue,
+ filecolor=magenta,
+ urlcolor=cyan,
+ pdftitle={Overleaf Example},
+ pdfpagemode=FullScreen,
+ }
\setlength{\algomargin}{0pt}
\begin{document}
+\pagestyle{fancy}
+\fancyhead{}
+\fancyhead[L]{Algorithmen 1}
+\fancyhead[R]{Gero Beckmann - \url{https://github.com/Geronymos/algo-cheatsheet}}
+\fancyfoot{}
+\fancyfoot[R]{\thepage}
\section{Laufzeit}
\hspace*{-.5cm}
\begin{tabular}{ l l l l }