Skip to content
Snippets Groups Projects
Commit 45bc1aa4 authored by Jan Wille's avatar Jan Wille
Browse files

Merge branch 'development'

parents cde80f41 2f5b3c05
No related branches found
Tags
No related merge requests found
...@@ -7,7 +7,7 @@ SUBDIRS = svg plt crc ...@@ -7,7 +7,7 @@ SUBDIRS = svg plt crc
OUTDIR = build OUTDIR = build
TEX_FLAGS = -file-line-error -interaction=nonstopmode TEX_FLAGS = -file-line-error -interaction=nonstopmode
COM_FLAGS = -output-directory=$(OUTDIR) -quiet COM_FLAGS = -output-directory=$(OUTDIR) -quiet
GARBAGE_PATTERNS = *.aux *.bbl *.bcf *.blg *.idx *.ind *.lof *.lot *.log *.xml *.toc GARBAGE_PATTERNS = *.aux *.bbl *.bib *.bcf *.blg *.idx *.ind *.lof *.lot *.log *.xml *.toc
SUB_TEX_FILES = $(foreach D,$(SUBDIRS),$(wildcard $(D)/*.tex)) SUB_TEX_FILES = $(foreach D,$(SUBDIRS),$(wildcard $(D)/*.tex))
SUB_PDF_FILES = $(join $(dir $(SUB_TEX_FILES)),$(addprefix $(OUTDIR)/,$(notdir $(SUB_TEX_FILES:tex=pdf)))) SUB_PDF_FILES = $(join $(dir $(SUB_TEX_FILES)),$(addprefix $(OUTDIR)/,$(notdir $(SUB_TEX_FILES:tex=pdf))))
......
...@@ -90,8 +90,9 @@ ...@@ -90,8 +90,9 @@
% config for title, header and footer % config for title, header and footer
\newcommand*{\@matrikelnr}{}% \newcommand*{\@matrikelnr}{}%
\newcommand{\matrikelnr}[1]{\gdef\@matrikelnr{#1}}% \newcommand{\matrikelnr}[1]{\gdef\@matrikelnr{#1}}%
\newcommand*{\@prof}{}% \newcommand*{\@professor}{}%
\newcommand{\professor}[1]{\gdef\@prof{#1}}% \newcommand{\professor}[1]{\gdef\@professor{#1}}%
\let\@author\@empty
\InputIfFileExists{personal.tex}{ \InputIfFileExists{personal.tex}{
\ClassInfo{\myClassName}{personal.tex was found. Using it...} \ClassInfo{\myClassName}{personal.tex was found. Using it...}
}{ }{
...@@ -118,6 +119,11 @@ ...@@ -118,6 +119,11 @@
\renewcommand{\labelitemiii}{$-$} \renewcommand{\labelitemiii}{$-$}
\renewcommand{\labelitemiv}{$\cdot$} \renewcommand{\labelitemiv}{$\cdot$}
% custom commands
\newcommand{\includeHsHlogohere}[1][5cm]{\includegraphics[width=#1,page=\HsHlogoPage]{\HsHlogoPath}}
\newcommand{\uproman}[1]{\uppercase\expandafter{\romannumeral#1}}
\newcommand{\lowroman}[1]{\romannumeral#1\relax}
% do stuff % do stuff
\setlength\parindent{0pt} % indentation of new paragraphs \setlength\parindent{0pt} % indentation of new paragraphs
\raggedbottom \raggedbottom
...@@ -126,9 +132,39 @@ ...@@ -126,9 +132,39 @@
\renewcommand{\layercontentsmeasure}{\empty} % rulers when using draft disabled \renewcommand{\layercontentsmeasure}{\empty} % rulers when using draft disabled
\MakeOuterQuote{"} % easy quotationmarks \MakeOuterQuote{"} % easy quotationmarks
% custom commands
\newcommand{\includeHsHlogohere}[1][5cm]{\includegraphics[width=#1,page=\HsHlogoPage]{\HsHlogoPath}} % load config at beginning of document
\AtBeginDocument{
\makeatletter
% solve some common errors:
\@ifpackageloaded{biblatex}{
\renewcommand*{\mkbibacro}[1]{\MakeUppercase{#1}} % solves fontype warning in San-Serif
}{}%
\@ifpackageloaded{subfigure}{
\newcommand{\subfigureautorefname}{\figureautorefname}
}{}%
% input config File:
\InputIfFileExists{config.tex}{
\ClassInfo{\myClassName}{config.tex was found. Using it...}
}{
\ClassInfo{\myClassName}{no config.tex!! I hope you configered it yourself.}
}
% provide some usefull commands:
\providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}} % Makro for vertical lines around absolute values \providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}} % Makro for vertical lines around absolute values
\makeatother
}
% nicer abstract:
\renewenvironment{abstract}{%
\chapter*{\centering\abstractname}
\addcontentsline{toc}{chapter}{\abstractname}
\small
\quotation
}{%
\endquotation
}
% decloration of Authorship
\newcommand\declarationAuthorship{ \newcommand\declarationAuthorship{
\thispagestyle{plain} \thispagestyle{plain}
\vspace*{\fill} \vspace*{\fill}
...@@ -162,8 +198,8 @@ ...@@ -162,8 +198,8 @@
\newcommand{\proniomeverb}{am} \newcommand{\proniomeverb}{am}
\foreach \x [count=\i] in \@author{ \foreach \x [count=\i] in \@author{
\ifnum\i>1 \ifnum\i>1
\gdef\pronomenf{We}
\gdef\pronomen{we} \gdef\pronomen{we}
\gdef\pronomenf{We}
\gdef\genitiv{our} \gdef\genitiv{our}
\gdef\proniomeverb{are} \gdef\proniomeverb{are}
\else\fi \else\fi
...@@ -187,23 +223,6 @@ ...@@ -187,23 +223,6 @@
\end{flushright} \end{flushright}
} }
% load config at beginning of document
\AtBeginDocument{
\makeatletter
\@ifpackageloaded{biblatex}{
\renewcommand*{\mkbibacro}[1]{\MakeUppercase{#1}} % solves fontype warning in San-Serif
}{}%
\@ifpackageloaded{subfigure}{
\newcommand{\subfigureautorefname}{\figureautorefname}
}{}%
\InputIfFileExists{config.tex}{
\ClassInfo{\myClassName}{config.tex was found. Using it...}
}{
\ClassInfo{\myClassName}{no config.tex!! I hope you configered it yourself.}
}
\makeatother
}
% reconfig Titlepage % reconfig Titlepage
\renewcommand\maketitle[1][c]{% \renewcommand\maketitle[1][c]{%
\expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax \expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
......
...@@ -90,8 +90,9 @@ ...@@ -90,8 +90,9 @@
% config for title, header and footer % config for title, header and footer
\newcommand*{\@matrikelnr}{}% \newcommand*{\@matrikelnr}{}%
\newcommand{\matrikelnr}[1]{\gdef\@matrikelnr{#1}}% \newcommand{\matrikelnr}[1]{\gdef\@matrikelnr{#1}}%
\newcommand*{\@prof}{}% \newcommand*{\@professor}{}%
\newcommand{\professor}[1]{\gdef\@prof{#1}}% \newcommand{\professor}[1]{\gdef\@professor{#1}}%
\let\@author\@empty
\InputIfFileExists{personal.tex}{ \InputIfFileExists{personal.tex}{
\ClassInfo{\myClassName}{personal.tex was found. Using it...} \ClassInfo{\myClassName}{personal.tex was found. Using it...}
}{ }{
...@@ -119,6 +120,11 @@ ...@@ -119,6 +120,11 @@
\renewcommand{\labelitemiii}{$-$} \renewcommand{\labelitemiii}{$-$}
\renewcommand{\labelitemiv}{$\cdot$} \renewcommand{\labelitemiv}{$\cdot$}
% custom commands
\newcommand{\includeHsHlogohere}[1][5cm]{\includegraphics[width=#1,page=\HsHlogoPage]{\HsHlogoPath}}
\newcommand{\uproman}[1]{\uppercase\expandafter{\romannumeral#1}}
\newcommand{\lowroman}[1]{\romannumeral#1\relax}
% do stuff % do stuff
\setlength\parindent{0pt} % indentation of new paragraphs \setlength\parindent{0pt} % indentation of new paragraphs
\raggedbottom \raggedbottom
...@@ -127,9 +133,39 @@ ...@@ -127,9 +133,39 @@
\renewcommand{\layercontentsmeasure}{\empty} % rulers when using draft disabled \renewcommand{\layercontentsmeasure}{\empty} % rulers when using draft disabled
\MakeOuterQuote{"} % easy quotationmarks \MakeOuterQuote{"} % easy quotationmarks
% custom commands
\newcommand{\includeHsHlogohere}[1][5cm]{\includegraphics[width=#1,page=\HsHlogoPage]{\HsHlogoPath}} % load config at beginning of document
\AtBeginDocument{
\makeatletter
% solve some common errors:
\@ifpackageloaded{biblatex}{
\renewcommand*{\mkbibacro}[1]{\MakeUppercase{#1}} % solves fontype warning in San-Serif
}{}%
\@ifpackageloaded{subfigure}{
\newcommand{\subfigureautorefname}{\figureautorefname}
}{}%
% input config File:
\InputIfFileExists{config.tex}{
\ClassInfo{\myClassName}{config.tex was found. Using it...}
}{
\ClassInfo{\myClassName}{no config.tex!! I hope you configered it yourself.}
}
% provide some usefull commands:
\providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}} % Makro for vertical lines around absolute values \providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}} % Makro for vertical lines around absolute values
\makeatother
}
% nicer abstract:
\renewenvironment{abstract}{%
\chapter*{\centering\abstractname}
\addcontentsline{toc}{chapter}{\abstractname}
\small
\quotation
}{%
\endquotation
}
% decloration of Authorship
\newcommand\declarationAuthorship{ \newcommand\declarationAuthorship{
\thispagestyle{plain} \thispagestyle{plain}
\vspace*{\fill} \vspace*{\fill}
...@@ -188,32 +224,6 @@ ...@@ -188,32 +224,6 @@
\end{flushright} \end{flushright}
} }
\renewenvironment{abstract}{%
\chapter*{\centering\abstractname}
\addcontentsline{toc}{chapter}{\abstractname}
\small
\quotation
}{%
\endquotation
}
% load config at beginning of document
\AtBeginDocument{
\makeatletter
\@ifpackageloaded{biblatex}{
\renewcommand*{\mkbibacro}[1]{\MakeUppercase{#1}} % solves fontype warning in San-Serif
}{}%
\@ifpackageloaded{subfigure}{
\newcommand{\subfigureautorefname}{\figureautorefname}
}{}%
\InputIfFileExists{config.tex}{
\ClassInfo{\myClassName}{config.tex was found. Using it...}
}{
\ClassInfo{\myClassName}{no config.tex!! I hope you configered it yourself.}
}
\makeatother
}
% reconfig Titlepage % reconfig Titlepage
\renewcommand\maketitle[1][l]{% \renewcommand\maketitle[1][l]{%
\expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax \expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
...@@ -331,7 +341,7 @@ ...@@ -331,7 +341,7 @@
\vskip 1.5em \vskip 1.5em
{\usekomafont{date}{\@date \par}}% {\usekomafont{date}{\@date \par}}%
\vskip \z@ \@plus3fill \vskip \z@ \@plus3fill
{\if\@prof\@empty\else\usekomafont{author}{Professor(in)/Lehrbeauftragte(r): \@prof}\fi} {\if\@professor\@empty\else\usekomafont{author}{Professor(in)/Lehrbeauftragte(r): \@professor}\fi}
%{\usekomafont{publishers}{\@publishers \par}}% %{\usekomafont{publishers}{\@publishers \par}}%
\vskip 3em \vskip 3em
\if\@param c\end{center}\fi \if\@param c\end{center}\fi
...@@ -403,7 +413,7 @@ ...@@ -403,7 +413,7 @@
\global\let\@lowertitleback\@empty \global\let\@lowertitleback\@empty
\global\let\@dedication\@empty \global\let\@dedication\@empty
\global\let\@matrikelnr\@empty \global\let\@matrikelnr\@empty
\global\let\@prof\@empty \global\let\@professor\@empty
\global\let\author\relax \global\let\author\relax
\global\let\title\relax \global\let\title\relax
\global\let\extratitle\relax \global\let\extratitle\relax
......
...@@ -94,9 +94,6 @@ ...@@ -94,9 +94,6 @@
% keep compatible % keep compatible
\providecommand{\renewcaptionname}[3]{} \providecommand{\renewcaptionname}[3]{}
% custom commands
\providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}} % Makro for vertical lines around absolute values
% load config at beginning of document % load config at beginning of document
\AtBeginDocument{ \AtBeginDocument{
\makeatletter \makeatletter
...@@ -108,5 +105,7 @@ ...@@ -108,5 +105,7 @@
}{ }{
\ClassInfo{\myClassName}{no config.tex!! I hope you configured it yourself.} \ClassInfo{\myClassName}{no config.tex!! I hope you configured it yourself.}
} }
% provide some usefull commands:
\providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}} % Makro for vertical lines around absolute values
\makeatother \makeatother
} }
...@@ -44,6 +44,10 @@ ...@@ -44,6 +44,10 @@
escapeinside={(*@}{@*)}, escapeinside={(*@}{@*)},
} }
}{}% }{}%
\@ifpackageloaded{enumitem}{
\newlist{checklist}{itemize}{2}
\setlist[checklist]{label=$\square$}
}{}%
\@ifpackageloaded{csvsimple}{ \@ifpackageloaded{csvsimple}{
\csvstyle{every csv}{separator=semicolon} \csvstyle{every csv}{separator=semicolon}
}{}% }{}%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment