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

removed not needed else from ifpackageloaded

parent 8969cf13
No related branches found
No related tags found
No related merge requests found
...@@ -182,10 +182,10 @@ ...@@ -182,10 +182,10 @@
\makeatletter \makeatletter
\@ifpackageloaded{biblatex}{ \@ifpackageloaded{biblatex}{
\renewcommand*{\mkbibacro}[1]{\MakeUppercase{#1}} % solves fontype warning in San-Serif \renewcommand*{\mkbibacro}[1]{\MakeUppercase{#1}} % solves fontype warning in San-Serif
}{}% }
\@ifpackageloaded{subfigure}{ \@ifpackageloaded{subfigure}{
\newcommand{\subfigureautorefname}{\figureautorefname} \newcommand{\subfigureautorefname}{\figureautorefname}
}{}% }
\InputIfFileExists{config.tex}{ \InputIfFileExists{config.tex}{
\ClassInfo{\myClassName}{config.tex was found. Using it...} \ClassInfo{\myClassName}{config.tex was found. Using it...}
}{ }{
......
...@@ -192,10 +192,10 @@ ...@@ -192,10 +192,10 @@
\makeatletter \makeatletter
\@ifpackageloaded{biblatex}{ \@ifpackageloaded{biblatex}{
\renewcommand*{\mkbibacro}[1]{\MakeUppercase{#1}} % solves fontype warning in San-Serif \renewcommand*{\mkbibacro}[1]{\MakeUppercase{#1}} % solves fontype warning in San-Serif
}{}% }
\@ifpackageloaded{subfigure}{ \@ifpackageloaded{subfigure}{
\newcommand{\subfigureautorefname}{\figureautorefname} \newcommand{\subfigureautorefname}{\figureautorefname}
}{}% }
\InputIfFileExists{config.tex}{ \InputIfFileExists{config.tex}{
\ClassInfo{\myClassName}{config.tex was found. Using it...} \ClassInfo{\myClassName}{config.tex was found. Using it...}
}{ }{
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
\makeatletter \makeatletter
\@ifpackageloaded{subfigure}{ \@ifpackageloaded{subfigure}{
\newcommand{\subfigureautorefname}{\figureautorefname} \newcommand{\subfigureautorefname}{\figureautorefname}
}{}% }
\InputIfFileExists{config.tex}{ \InputIfFileExists{config.tex}{
\ClassInfo{\myClassName}{config.tex was found. Using it...} \ClassInfo{\myClassName}{config.tex was found. Using it...}
}{ }{
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
url=true, url=true,
isbn=false, isbn=false,
} }
}{}% }
\@ifpackageloaded{siunitx}{ \@ifpackageloaded{siunitx}{
\if@german % if german \if@german % if german
\sisetup{output-decimal-marker={,}} % use comma as dezimal \sisetup{output-decimal-marker={,}} % use comma as dezimal
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
round-mode = places, % round numbers round-mode = places, % round numbers
round-precision = 3, % to 3 places round-precision = 3, % to 3 places
} }
}{}% }
\@ifpackageloaded{listings}{ \@ifpackageloaded{listings}{
\lstset{ \lstset{
commentstyle=\color{gray}, commentstyle=\color{gray},
...@@ -43,16 +43,16 @@ ...@@ -43,16 +43,16 @@
literate={Ö}{{\"O}}1{Ä}{{\"A}}1{Ü}{{\"U}}1{ß}{{\ss}}1{ü}{{\"u}}1{ä}{{\"a}}1{ö}{{\"o}}1, literate={Ö}{{\"O}}1{Ä}{{\"A}}1{Ü}{{\"U}}1{ß}{{\ss}}1{ü}{{\"u}}1{ä}{{\"a}}1{ö}{{\"o}}1,
escapeinside={(*@}{@*)}, escapeinside={(*@}{@*)},
} }
}{}% }
\@ifpackageloaded{csvsimple}{ \@ifpackageloaded{csvsimple}{
\csvstyle{every csv}{separator=semicolon} \csvstyle{every csv}{separator=semicolon}
}{}% }
\@ifpackageloaded{circuitikz}{ \@ifpackageloaded{circuitikz}{
\ctikzset{ \ctikzset{
font=\footnotesize, font=\footnotesize,
bipole annotation style/.style={font=\tiny ,inner sep=1pt}, bipole annotation style/.style={font=\tiny ,inner sep=1pt},
} }
}{}% }
\@ifpackageloaded{pgfplots}{ \@ifpackageloaded{pgfplots}{
\usepgfplotslibrary{fillbetween} % mark areas under or between graphs \usepgfplotslibrary{fillbetween} % mark areas under or between graphs
\usetikzlibrary{patterns} % for using pattern in plots \usetikzlibrary{patterns} % for using pattern in plots
...@@ -78,9 +78,10 @@ ...@@ -78,9 +78,10 @@
error mark options={mark size=1pt,rotate=90}}, error mark options={mark size=1pt,rotate=90}},
} }
} }
}{}% }
\@ifpackageloaded{pgfplotstable}{ \@ifpackageloaded{pgfplotstable}{
\pgfplotstableset{ \pgfplotstableset{
col sep=semicolon, % global seperator for csv files col sep=semicolon, % global seperator for csv files
} }
}{}% }
\endinput % needed to end lats \@ifpackageloaded
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment