|
|
@@ -1,115 +1,69 @@
|
|
|
\usepackage{ucs}
|
|
|
+
|
|
|
+
|
|
|
+%\usepackage{soul}
|
|
|
+\usepackage{calc} % Laengenberechnung in minipages.
|
|
|
+
|
|
|
+
|
|
|
+% ===================================================================
|
|
|
+% Sprachumschaltung
|
|
|
+% ===================================================================
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
-\usepackage[german]{babel}
|
|
|
+\usepackage[\myLanguage]{babel}
|
|
|
\usepackage[T1]{fontenc}
|
|
|
-\usepackage{amsmath}
|
|
|
-\usepackage{amsfonts}
|
|
|
-\usepackage{amssymb}
|
|
|
-\usepackage{amsthm}
|
|
|
-% \usepackage{amsmidx}
|
|
|
-\usepackage{graphicx}
|
|
|
-\usepackage{color}
|
|
|
-\usepackage{calc}
|
|
|
\usepackage{ifthen}
|
|
|
-\usepackage{soul}
|
|
|
+\usepackage{environ}
|
|
|
|
|
|
+\newcommand{\de}[1]{}
|
|
|
+\newcommand{\en}[1]{}
|
|
|
+\ifthenelse{\equal{\myLanguage}{english}}{\renewcommand{\en}[1]{#1}\NewEnviron{EN}{\BODY{}}}{\NewEnviron{EN}{}}
|
|
|
+\ifthenelse{\equal{\myLanguage}{german}}{\renewcommand{\de}[1]{#1}\NewEnviron{DE}{\BODY{}}}{\NewEnviron{DE}{}}
|
|
|
|
|
|
-\title{GitLab Regeln}
|
|
|
-\author{Kristian Schultz}
|
|
|
-\date{\today}
|
|
|
-%\address{Uni Rostock}
|
|
|
-%\email{kristian.schultz@uni-rostock.de}
|
|
|
+\input{src/translation.tex}
|
|
|
|
|
|
-\makeindex
|
|
|
|
|
|
-\newcommand{\de}[1]{}
|
|
|
-\newcommand{\en}[1]{}
|
|
|
|
|
|
-\definecolor{grey}{gray}{0.5}
|
|
|
|
|
|
-\newcommand{\setN}[0]{\mathbb{N}}
|
|
|
-\newcommand{\setR}[0]{\mathbb{R}}
|
|
|
-\newcommand{\setZ}[0]{\mathbb{Z}}
|
|
|
-\newcommand{\abs}[1]{\left| #1 \right|}
|
|
|
-\newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor}
|
|
|
-\newcommand{\ceil}[1]{\left\lceil #1 \right\rceil}
|
|
|
-\newcommand{\lShadow}[0]{\Delta}
|
|
|
-\newcommand{\uShadow}[0]{\nabla}
|
|
|
-\newcommand{\F}[0]{\mathcal{F}}
|
|
|
-\newcommand{\R}[0]{\mathcal{R}}
|
|
|
-\newcommand{\CM}[0]{\mathcal{M}}
|
|
|
-\newcommand{\CH}[0]{\mathcal{H}}
|
|
|
-\newcommand{\CG}[0]{\mathcal{G}}
|
|
|
-\newcommand{\CS}[0]{\mathcal{S}}
|
|
|
-\newcommand{\CT}[0]{\mathcal{T}}
|
|
|
-\newcommand{\comp}[1]{\overline{#1}}
|
|
|
-
|
|
|
-\renewcommand{\theenumi}{\alph{enumi}}
|
|
|
-
|
|
|
-\newcounter{theorem}
|
|
|
-\setcounter{theorem}{0}
|
|
|
-
|
|
|
-
|
|
|
-\newenvironment{proposition}[1][]{\par
|
|
|
- \begin{minipage}{\textwidth}
|
|
|
- \refstepcounter{theorem}
|
|
|
- \textbf{Vermutung \thetheorem{} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
|
|
|
- \begin{minipage}{\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
|
|
|
- \end{minipage}\par}
|
|
|
-
|
|
|
-
|
|
|
-\newenvironment{theorem}[1][]{\par
|
|
|
- \begin{minipage}{\textwidth}
|
|
|
- \refstepcounter{theorem}
|
|
|
- \textbf{Satz \thetheorem{} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
|
|
|
- \begin{minipage}{\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
|
|
|
- \end{minipage}\par}
|
|
|
-
|
|
|
-
|
|
|
-\newenvironment{lemma}[1][]{\par
|
|
|
- \begin{minipage}{\textwidth}
|
|
|
- \refstepcounter{theorem}
|
|
|
- \textbf{Lemma \thetheorem{} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
|
|
|
- \begin{minipage}{\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
|
|
|
- \end{minipage}\par}
|
|
|
-
|
|
|
-
|
|
|
-\newenvironment{condition}[1][]{\par
|
|
|
- \begin{minipage}{\textwidth}
|
|
|
- \refstepcounter{theorem}
|
|
|
- \textbf{Bedingung \arabic{theorem} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
|
|
|
- \begin{minipage}{\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
|
|
|
- \end{minipage}\par}
|
|
|
-
|
|
|
-
|
|
|
-\renewenvironment{proof}[1][]{\par\ifthenelse{\equal{#1}{}}{\textbf{Beweis:}}{\textbf{Beweis (#1):}}\\[0.5em]}{\mbox{} \hfill $\square$\par}
|
|
|
-
|
|
|
-\newenvironment{remark}[1][]{\par
|
|
|
- \begin{minipage}{\textwidth}
|
|
|
- \refstepcounter{theorem}
|
|
|
- \textbf{Anmerkung \arabic{theorem} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
|
|
|
- \mbox{}\hfill\begin{minipage}{0.95\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
|
|
|
- \end{minipage}\par}
|
|
|
-
|
|
|
-
|
|
|
-\newenvironment{algorithm}[1][]{\par
|
|
|
- \begin{minipage}{\textwidth}
|
|
|
- \refstepcounter{theorem}
|
|
|
- \textbf{Algorithmus \arabic{theorem} \ifthenelse{\equal{#1}{}}{}{ (#1)}}\\[0.5em]
|
|
|
- \begin{minipage}{\textwidth}\parInit{}\vspace{-10pt}\em}{\end{minipage}
|
|
|
- \end{minipage}\par}
|
|
|
|
|
|
-\newcommand{\parInit}[0]{\setlength{\parskip}{1em}\setlength{\parindent}{0pt}}
|
|
|
+% ===================================================================
|
|
|
+% Grafiken
|
|
|
+% ===================================================================
|
|
|
+\usepackage{graphicx} % Fuer \includegraphics
|
|
|
+\usepackage{wrapfig} % Mit Text umflossene Bilder.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+% ===================================================================
|
|
|
+% Links mit \url und im Inhaltsverzeichnis
|
|
|
+% ===================================================================
|
|
|
+\usepackage[hidelinks]{hyperref}
|
|
|
+\usepackage{xcolor}
|
|
|
+\hypersetup{
|
|
|
+ colorlinks,
|
|
|
+ linkcolor={red!50!black},
|
|
|
+ citecolor={blue!50!black},
|
|
|
+ urlcolor={blue!80!black}
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
|
|
|
+% ===================================================================
|
|
|
+% Seiteneinstellungen
|
|
|
+% ===================================================================
|
|
|
+\usepackage[left=2cm,right=2cm,top=2.5cm,bottom=3cm]{geometry}
|
|
|
|
|
|
+
|
|
|
+% ===================================================================
|
|
|
+% Kopf und Fusszeilen
|
|
|
+% ===================================================================
|
|
|
\usepackage{fancyhdr}
|
|
|
\pagestyle{fancy}
|
|
|
\fancyhf{}
|
|
|
\rhead{\includegraphics{images/STG.pdf}}
|
|
|
\lhead{\bf Universitaet Rostock\\Bereich Informatik}
|
|
|
-\lfoot{https://www.informatik.uni-rostock.de/it-service/}
|
|
|
-\rfoot{\thepage}
|
|
|
-%\rfoot{\today}
|
|
|
+\lfoot{\small https://www.informatik.uni-rostock.de/it-service/}
|
|
|
+\cfoot{\small \thepage}
|
|
|
+\rfoot{\small \today}
|
|
|
\renewcommand{\headrulewidth}{1pt}
|
|
|
\renewcommand{\footrulewidth}{1pt}
|
|
|
|
|
|
@@ -124,8 +78,36 @@
|
|
|
%\renewcommand{\familydefault}{\sfdefault}
|
|
|
|
|
|
|
|
|
+% ===================================================================
|
|
|
+% Schriftart
|
|
|
+% ===================================================================
|
|
|
\usepackage{DejaVuSans}
|
|
|
%% Another possibility is
|
|
|
%% \usepackage{dejavu}
|
|
|
%% which loads the DejaVu Serif and DejaVu Sans Mono fonts as well
|
|
|
-\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
|
|
|
+
|
|
|
+%% Only if the base font of the document is to be sans serif
|
|
|
+\renewcommand*\familydefault{\sfdefault}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+% ===================================================================
|
|
|
+% Diverses
|
|
|
+% ===================================================================
|
|
|
+\definecolor{grey}{gray}{0.5}
|
|
|
+\newcommand{\var}[1]{\texttt{\color{grey} #1}}
|
|
|
+
|
|
|
+\renewcommand{\theenumi}{(\alph{enumi})}
|
|
|
+
|
|
|
+\newcommand{\parInit}[0]{\setlength{\parskip}{1em}\setlength{\parindent}{0pt}}
|
|
|
+
|
|
|
+\title{GitLab HowTo}
|
|
|
+\author{Kristian Schultz}
|
|
|
+\date{\today}
|
|
|
+%\address{Uni Rostock}
|
|
|
+%\email{kristian.schultz@uni-rostock.de}
|
|
|
+
|
|
|
+\makeindex
|
|
|
+
|
|
|
+
|