Push common config and style into separate files
This commit is contained in:
parent
95b8540e9c
commit
e4e27d3900
|
@ -1,89 +1,7 @@
|
|||
\documentclass[12pt,a4paper,twoside,parskip=half-,headsepline,headinclude]{scrreprt} % Grundgröße 12pt, zweiseitig
|
||||
% Packages from template
|
||||
\usepackage[headsepline,automark]{scrlayer-scrpage} % Seitenköpfe automatisch
|
||||
\KOMAoptions{headinclude} % Fix
|
||||
\usepackage[german]{babel} % Sprachpaket für Deutsch (Umlaute, Trennung,deutsche Überschriften)
|
||||
\usepackage{graphicx} % Graphikeinbindung
|
||||
\usepackage[hidelinks]{hyperref} % Hyperref (alles klickbar, Bookmarks)
|
||||
\usepackage{amssymb} % Math. Symbole aus AmsTeX
|
||||
\usepackage[utf8]{inputenc} % Umlaute
|
||||
% Custom packages
|
||||
\usepackage[autostyle=true,german=quotes]{csquotes} % Anführungszeichen mit \enquote{}
|
||||
\usepackage{textcomp} % Zusätzliches Package für °C
|
||||
\usepackage{listings} % Codesnippets
|
||||
\usepackage{scrhack} % Hack for lstlisting i suspect :-/
|
||||
\usepackage{xcolor}
|
||||
\usepackage{float}
|
||||
\usepackage{soul}
|
||||
\usepackage{verbatim} % für comment-environment
|
||||
\usepackage{amsmath}
|
||||
\usepackage{enumitem} % enumerate mit benutzerdefinierten Labels
|
||||
\usepackage{caption}
|
||||
%\captionsetup[table]{skip=8pt}
|
||||
\usepackage[numbers,round]{natbib} % Let's try alphadin bibliography style
|
||||
% Setup für Codeblocks
|
||||
\lstset{
|
||||
% Optionen
|
||||
breaklines=true,
|
||||
breakatwhitespace=true,
|
||||
breakautoindent=true,
|
||||
frame=single,
|
||||
%framexleftmargin=19pt,
|
||||
inputencoding=utf8,
|
||||
%language=awk,
|
||||
%numbers=left,
|
||||
%numbersep=8pt,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
tabsize=1,
|
||||
%xleftmargin=19pt,
|
||||
captionpos=b,
|
||||
% Styling
|
||||
basicstyle=\footnotesize\ttfamily,
|
||||
commentstyle=\footnotesize,
|
||||
keywordstyle=\footnotesize\ttfamily,
|
||||
numberstyle=\footnotesize,
|
||||
stringstyle=\footnotesize\ttfamily,
|
||||
}
|
||||
% Hack für Sonderzeichen in Codeblocks
|
||||
\lstset{literate=%
|
||||
{Ö}{{\"O}}1
|
||||
{Ä}{{\"A}}1
|
||||
{Ü}{{\"U}}1
|
||||
{ß}{{\ss}}1
|
||||
{ü}{{\"u}}1
|
||||
{ä}{{\"a}}1
|
||||
{ö}{{\"o}}1
|
||||
{°}{{${^\circ}$}}1
|
||||
}
|
||||
|
||||
% Befehl für TODO-Markierungen
|
||||
\newcommand{\todo}[1]{\textcolor{blue}{\emph{TODO: #1}}}
|
||||
|
||||
% Befehl für Entwürfe und grobe Pläne
|
||||
%\newenvironment{draft}{\par\color{orange}\begin{center}Entwurf / Konzept\end{center}\hrule}{\hrule\par}
|
||||
|
||||
% Broken citation needs broken command
|
||||
\newcommand\mathplus{+}
|
||||
|
||||
% Festlegung Kopf- und Fußzeile
|
||||
\defpagestyle{meinstil}{%
|
||||
{\headmark \hfill}
|
||||
{\hfill \headmark}
|
||||
{\hfill \headmark\hfill}
|
||||
(\textwidth,.4pt)
|
||||
}{%
|
||||
(\textwidth,.4pt)
|
||||
{\pagemark\hfill Jan Philipp Timme}
|
||||
{Version 1.0 vom \today \hfill \pagemark}
|
||||
{Version 1.0 vom \today \hfill \pagemark}
|
||||
}
|
||||
\pagestyle{meinstil}
|
||||
|
||||
\raggedbottom
|
||||
|
||||
\renewcommand{\topfraction}{1}
|
||||
\renewcommand{\bottomfraction}{1}
|
||||
\input{COMMON-Config.tex}
|
||||
\input{COMMON-Style.tex}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Beginn des Dokuments (Titelseite und der ganze Krempel)
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
% Packages from template
|
||||
\usepackage[headsepline,automark]{scrlayer-scrpage} % Seitenköpfe automatisch
|
||||
\KOMAoptions{headinclude} % Fix
|
||||
\usepackage[german]{babel} % Sprachpaket für Deutsch (Umlaute, Trennung,deutsche Überschriften)
|
||||
\usepackage{graphicx} % Graphikeinbindung
|
||||
\usepackage[hidelinks]{hyperref} % Hyperref (alles klickbar, Bookmarks)
|
||||
\usepackage{amssymb} % Math. Symbole aus AmsTeX
|
||||
\usepackage[utf8]{inputenc} % Umlaute
|
||||
% Custom packages
|
||||
\usepackage[autostyle=true,german=quotes]{csquotes} % Anführungszeichen mit \enquote{}
|
||||
\usepackage{textcomp} % Zusätzliches Package für °C
|
||||
\usepackage{listings} % Codesnippets
|
||||
\usepackage{scrhack} % Hack for lstlisting i suspect :-/
|
||||
\usepackage{xcolor}
|
||||
\usepackage{float}
|
||||
\usepackage{soul}
|
||||
\usepackage{verbatim} % für comment-environment
|
||||
\usepackage{amsmath}
|
||||
\usepackage{enumitem} % enumerate mit benutzerdefinierten Labels
|
||||
\usepackage{caption}
|
||||
%\captionsetup[table]{skip=8pt}
|
||||
\usepackage[numbers,round]{natbib} % Let's try alphadin bibliography style
|
||||
% Setup für Codeblocks
|
||||
\lstset{
|
||||
% Optionen
|
||||
breaklines=true,
|
||||
breakatwhitespace=true,
|
||||
breakautoindent=true,
|
||||
frame=single,
|
||||
%framexleftmargin=19pt,
|
||||
inputencoding=utf8,
|
||||
%language=awk,
|
||||
%numbers=left,
|
||||
%numbersep=8pt,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
tabsize=1,
|
||||
%xleftmargin=19pt,
|
||||
captionpos=b,
|
||||
% Styling
|
||||
basicstyle=\footnotesize\ttfamily,
|
||||
commentstyle=\footnotesize,
|
||||
keywordstyle=\footnotesize\ttfamily,
|
||||
numberstyle=\footnotesize,
|
||||
stringstyle=\footnotesize\ttfamily,
|
||||
}
|
||||
% Hack für Sonderzeichen in Codeblocks
|
||||
\lstset{literate=%
|
||||
{Ö}{{\"O}}1
|
||||
{Ä}{{\"A}}1
|
||||
{Ü}{{\"U}}1
|
||||
{ß}{{\ss}}1
|
||||
{ü}{{\"u}}1
|
||||
{ä}{{\"a}}1
|
||||
{ö}{{\"o}}1
|
||||
{°}{{${^\circ}$}}1
|
||||
}
|
||||
|
||||
% Befehl für TODO-Markierungen
|
||||
\newcommand{\todo}[1]{\textcolor{blue}{\emph{TODO: #1}}}
|
||||
|
||||
% Befehl für Entwürfe und grobe Pläne
|
||||
%\newenvironment{draft}{\par\color{orange}\begin{center}Entwurf / Konzept\end{center}\hrule}{\hrule\par}
|
||||
|
||||
% Broken citation needs broken command
|
||||
\newcommand\mathplus{+}
|
|
@ -0,0 +1,18 @@
|
|||
% Festlegung Kopf- und Fußzeile
|
||||
\defpagestyle{meinstil}{%
|
||||
{\headmark \hfill}
|
||||
{\hfill \headmark}
|
||||
{\hfill \headmark\hfill}
|
||||
(\textwidth,.4pt)
|
||||
}{%
|
||||
(\textwidth,.4pt)
|
||||
{\pagemark\hfill Jan Philipp Timme}
|
||||
{Version 1.0 vom \today \hfill \pagemark}
|
||||
{Version 1.0 vom \today \hfill \pagemark}
|
||||
}
|
||||
\pagestyle{meinstil}
|
||||
|
||||
\raggedbottom
|
||||
|
||||
\renewcommand{\topfraction}{1}
|
||||
\renewcommand{\bottomfraction}{1}
|
|
@ -1,89 +1,7 @@
|
|||
\documentclass[12pt,a4paper,twoside,parskip=half-,headsepline,headinclude]{scrreprt} % Grundgröße 12pt, zweiseitig
|
||||
% Packages from template
|
||||
\usepackage[headsepline,automark]{scrlayer-scrpage} % Seitenköpfe automatisch
|
||||
\KOMAoptions{headinclude} % Fix
|
||||
\usepackage[german]{babel} % Sprachpaket für Deutsch (Umlaute, Trennung,deutsche Überschriften)
|
||||
\usepackage{graphicx} % Graphikeinbindung
|
||||
\usepackage[hidelinks]{hyperref} % Hyperref (alles klickbar, Bookmarks)
|
||||
\usepackage{amssymb} % Math. Symbole aus AmsTeX
|
||||
\usepackage[utf8]{inputenc} % Umlaute
|
||||
% Custom packages
|
||||
\usepackage[autostyle=true,german=quotes]{csquotes} % Anführungszeichen mit \enquote{}
|
||||
\usepackage{textcomp} % Zusätzliches Package für °C
|
||||
\usepackage{listings} % Codesnippets
|
||||
\usepackage{scrhack} % Hack for lstlisting i suspect :-/
|
||||
\usepackage{xcolor}
|
||||
\usepackage{float}
|
||||
\usepackage{soul}
|
||||
\usepackage{verbatim} % für comment-environment
|
||||
\usepackage{amsmath}
|
||||
\usepackage{enumitem} % enumerate mit benutzerdefinierten Labels
|
||||
\usepackage{caption}
|
||||
\captionsetup[table]{skip=8pt}
|
||||
\usepackage[numbers,round]{natbib} % Let's try alphadin bibliography style
|
||||
% Setup für Codeblocks
|
||||
\lstset{
|
||||
% Optionen
|
||||
breaklines=true,
|
||||
breakatwhitespace=true,
|
||||
breakautoindent=true,
|
||||
frame=single,
|
||||
%framexleftmargin=19pt,
|
||||
inputencoding=utf8,
|
||||
%language=awk,
|
||||
%numbers=left,
|
||||
%numbersep=8pt,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
tabsize=1,
|
||||
%xleftmargin=19pt,
|
||||
captionpos=b,
|
||||
% Styling
|
||||
basicstyle=\footnotesize\ttfamily,
|
||||
commentstyle=\footnotesize,
|
||||
keywordstyle=\footnotesize\ttfamily,
|
||||
numberstyle=\footnotesize,
|
||||
stringstyle=\footnotesize\ttfamily,
|
||||
}
|
||||
% Hack für Sonderzeichen in Codeblocks
|
||||
\lstset{literate=%
|
||||
{Ö}{{\"O}}1
|
||||
{Ä}{{\"A}}1
|
||||
{Ü}{{\"U}}1
|
||||
{ß}{{\ss}}1
|
||||
{ü}{{\"u}}1
|
||||
{ä}{{\"a}}1
|
||||
{ö}{{\"o}}1
|
||||
{°}{{${^\circ}$}}1
|
||||
}
|
||||
|
||||
% Befehl für TODO-Markierungen
|
||||
\newcommand{\todo}[1]{\textcolor{blue}{\emph{TODO: #1}}}
|
||||
|
||||
% Befehl für Entwürfe und grobe Pläne
|
||||
%\newenvironment{draft}{\par\color{orange}\begin{center}Entwurf / Konzept\end{center}\hrule}{\hrule\par}
|
||||
|
||||
% Broken citation needs broken command
|
||||
\newcommand\mathplus{+}
|
||||
|
||||
% Festlegung Kopf- und Fußzeile
|
||||
\defpagestyle{meinstil}{%
|
||||
{\headmark \hfill}
|
||||
{\hfill \headmark}
|
||||
{\hfill \headmark\hfill}
|
||||
(\textwidth,.4pt)
|
||||
}{%
|
||||
(\textwidth,.4pt)
|
||||
{\pagemark\hfill Jan Philipp Timme}
|
||||
{Version 1.0 vom \today \hfill \pagemark}
|
||||
{Version 1.0 vom \today \hfill \pagemark}
|
||||
}
|
||||
\pagestyle{meinstil}
|
||||
|
||||
\raggedbottom
|
||||
|
||||
\renewcommand{\topfraction}{1}
|
||||
\renewcommand{\bottomfraction}{1}
|
||||
\input{COMMON-Config.tex}
|
||||
\input{COMMON-Style.tex}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Beginn des Dokuments (Titelseite und der ganze Krempel)
|
||||
|
|
|
@ -1,89 +1,7 @@
|
|||
\documentclass[12pt,a4paper,twoside,parskip=half-,headsepline,headinclude]{scrreprt} % Grundgröße 12pt, zweiseitig
|
||||
% Packages from template
|
||||
\usepackage[headsepline,automark]{scrlayer-scrpage} % Seitenköpfe automatisch
|
||||
\KOMAoptions{headinclude} % Fix
|
||||
\usepackage[german]{babel} % Sprachpaket für Deutsch (Umlaute, Trennung,deutsche Überschriften)
|
||||
\usepackage{graphicx} % Graphikeinbindung
|
||||
\usepackage[hidelinks]{hyperref} % Hyperref (alles klickbar, Bookmarks)
|
||||
\usepackage{amssymb} % Math. Symbole aus AmsTeX
|
||||
\usepackage[utf8]{inputenc} % Umlaute
|
||||
% Custom packages
|
||||
\usepackage[autostyle=true,german=quotes]{csquotes} % Anführungszeichen mit \enquote{}
|
||||
\usepackage{textcomp} % Zusätzliches Package für °C
|
||||
\usepackage{listings} % Codesnippets
|
||||
\usepackage{scrhack} % Hack for lstlisting i suspect :-/
|
||||
\usepackage{xcolor}
|
||||
\usepackage{float}
|
||||
\usepackage{soul}
|
||||
\usepackage{verbatim} % für comment-environment
|
||||
\usepackage{amsmath}
|
||||
\usepackage{enumitem} % enumerate mit benutzerdefinierten Labels
|
||||
\usepackage{caption}
|
||||
%\captionsetup[table]{skip=8pt}
|
||||
\usepackage[numbers,round]{natbib} % Let's try alphadin bibliography style
|
||||
% Setup für Codeblocks
|
||||
\lstset{
|
||||
% Optionen
|
||||
breaklines=true,
|
||||
breakatwhitespace=true,
|
||||
breakautoindent=true,
|
||||
frame=single,
|
||||
%framexleftmargin=19pt,
|
||||
inputencoding=utf8,
|
||||
%language=awk,
|
||||
%numbers=left,
|
||||
%numbersep=8pt,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
tabsize=1,
|
||||
%xleftmargin=19pt,
|
||||
captionpos=b,
|
||||
% Styling
|
||||
basicstyle=\footnotesize\ttfamily,
|
||||
commentstyle=\footnotesize,
|
||||
keywordstyle=\footnotesize\ttfamily,
|
||||
numberstyle=\footnotesize,
|
||||
stringstyle=\footnotesize\ttfamily,
|
||||
}
|
||||
% Hack für Sonderzeichen in Codeblocks
|
||||
\lstset{literate=%
|
||||
{Ö}{{\"O}}1
|
||||
{Ä}{{\"A}}1
|
||||
{Ü}{{\"U}}1
|
||||
{ß}{{\ss}}1
|
||||
{ü}{{\"u}}1
|
||||
{ä}{{\"a}}1
|
||||
{ö}{{\"o}}1
|
||||
{°}{{${^\circ}$}}1
|
||||
}
|
||||
|
||||
% Befehl für TODO-Markierungen
|
||||
\newcommand{\todo}[1]{\textcolor{blue}{\emph{TODO: #1}}}
|
||||
|
||||
% Befehl für Entwürfe und grobe Pläne
|
||||
%\newenvironment{draft}{\par\color{orange}\begin{center}Entwurf / Konzept\end{center}\hrule}{\hrule\par}
|
||||
|
||||
% Broken citation needs broken command
|
||||
\newcommand\mathplus{+}
|
||||
|
||||
% Festlegung Kopf- und Fußzeile
|
||||
\defpagestyle{meinstil}{%
|
||||
{\headmark \hfill}
|
||||
{\hfill \headmark}
|
||||
{\hfill \headmark\hfill}
|
||||
(\textwidth,.4pt)
|
||||
}{%
|
||||
(\textwidth,.4pt)
|
||||
{\pagemark\hfill Jan Philipp Timme}
|
||||
{Version 1.0 vom \today \hfill \pagemark}
|
||||
{Version 1.0 vom \today \hfill \pagemark}
|
||||
}
|
||||
\pagestyle{meinstil}
|
||||
|
||||
\raggedbottom
|
||||
|
||||
\renewcommand{\topfraction}{1}
|
||||
\renewcommand{\bottomfraction}{1}
|
||||
\input{COMMON-Config.tex}
|
||||
\input{COMMON-Style.tex}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Beginn des Dokuments (Titelseite und der ganze Krempel)
|
||||
|
|
Loading…
Reference in New Issue