Skip to content
Snippets Groups Projects
config.tex 2.17 KiB
Newer Older
  • Learn to ignore specific revisions
  • Jan Wille's avatar
    Jan Wille committed
    \renewcommand{\abstractname}{Abstract} %Abstract
    
    Jan Wille's avatar
    Jan Wille committed
    \@ifpackageloaded{biblatex}{
    	\ExecuteBibliographyOptions{
    		bibwarn=true,
    		isbn=false,
    
    Jan Wille's avatar
    Jan Wille committed
    		url=false
    
    Jan Wille's avatar
    Jan Wille committed
    	}
    }{}%
    \@ifpackageloaded{csquotes}{
    	\MakeOuterQuote{"}
    }{}%
    
    Jan Wille's avatar
    Jan Wille committed
    \@ifpackageloaded{siunitx}{
    
    Jan Wille's avatar
    Jan Wille committed
    	\if@german
    		\sisetup{output-decimal-marker={,}}
    	\fi
    
    Jan Wille's avatar
    Jan Wille committed
    	\sisetup{
    		free-standing-units,
    		tight-spacing=true,
    		per-mode=symbol,
    		scientific-notation=engineering,
    		round-mode = places,
    		round-precision = 3,
    	}
    }{}%
    \@ifpackageloaded{listings}{
    	\lstset{
    		commentstyle=\color{gray},
    		keywordstyle=\color{red},
    		stringstyle=\color{blue},
    		showstringspaces=false,
    		basicstyle=\footnotesize,
    
    		literate={Ö}{{\"O}}1{Ä}{{\"A}}1{Ü}{{\"U}}1{ß}{{\ss}}1{ü}{{\"u}}1{ä}{{\"a}}1{ö}{{\"o}}1,
    		escapeinside={(*@}{@*)},
    
    Jan Wille's avatar
    Jan Wille committed
    	}
    }{}%
    
    \@ifpackageloaded{circuitikz}{
    
    	\ctikzset{
    		font=\footnotesize,
    		resistors/scale=0.7,
    		transistors/scale=0.75,
    		default/scale=0.5,
    		bipole annotation style/.style={font=\tiny ,inner sep=1pt},
    	}
    }{}%
    
    \@ifpackageloaded{pgfplots}{
    	\usepgfplotslibrary{fillbetween} % mark areas under or between graphs
    
    Jan Wille's avatar
    Jan Wille committed
    	\if@german
    		\pgfplotsset{/pgf/number format/use comma}
    	\fi
    
    	\pgfplotsset{
    		compat=1.16,
    		/pgf/number format/read comma as period,
    		every tick label/.append style={font=\tiny},
    		every axis legend/.append style={font=\footnotesize},
    		MyPlots/.style = {		% Style für alle Plots
    			width=.6\textwidth,
    			grid=major,												% Gitter für haupt Ticks
    			grid style={dashed,gray!50},							% Hinergrund Gitter
    			legend pos=outer north east,							% Positon der Legende
    			FM1/.style = {blue, thick, mark=x, mark size=1.5,samples=100},  	% Format 1
    			FM2/.style = {orange, thick, mark=*, mark size=1,samples=100}, 		% Format 2
    			FM3/.style = {green, thick, mark=square*, mark size=1,samples=100}, % Format 3
    			FM4/.style = {red, thick, mark=diamond*, mark size=1,samples=100}, 	% Format 4
    			FM5/.style = {pink, thick, mark=triangel*, mark size=1,samples=100},% Format 5
    			errBars/.style = {error bars/.cd, y dir=both, y explicit, % ermöglich Fehlerbalken
    							error mark options={mark size=1pt,rotate=90}},
    		}
    	}
    
    Jan Wille's avatar
    Jan Wille committed
    }{}%
    \@ifpackageloaded{pgfplotstable}{
    
    	\pgfplotstableset{
    		col sep=semicolon, % global seperator for csv files
    	}
    }{}%