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

config für pgfplots und ctikz

parent b39e6e36
Branches
Tags
1 merge request!2make Master runable
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
\PassOptionsToPackage{babel, german=quotes}{csquotes} \PassOptionsToPackage{babel, german=quotes}{csquotes}
\PassOptionsToPackage{headsepline}{scrlayer-scrpage} \PassOptionsToPackage{headsepline}{scrlayer-scrpage}
\PassOptionsToPackage{free-standing-units}{siunitx} \PassOptionsToPackage{free-standing-units}{siunitx}
\PassOptionsToPackage{european,EFvoltages,straightvoltages}{circuitikz}
%used packages: %used packages:
\RequirePackage{inputenc} % inputencoding, utf8 recomendet \RequirePackage{inputenc} % inputencoding, utf8 recomendet
......
\renewcommand\abstractname{Abstract} %Abstract \renewcaptionname{ngerman}{\abstractname}{Abstract} %Abstract
\@ifpackageloaded{biblatex}{ \@ifpackageloaded{biblatex}{
\ExecuteBibliographyOptions{ \ExecuteBibliographyOptions{
sorting=nyt, sorting=nyt,
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
escapeinside={(*@}{@*)}, escapeinside={(*@}{@*)},
} }
}{}% }{}%
\@ifpackageloaded{listings}{ \@ifpackageloaded{circuitikz}{
\ctikzset{ \ctikzset{
font=\footnotesize, font=\footnotesize,
resistors/scale=0.7, resistors/scale=0.7,
...@@ -41,3 +41,30 @@ ...@@ -41,3 +41,30 @@
bipole annotation style/.style={font=\tiny ,inner sep=1pt}, bipole annotation style/.style={font=\tiny ,inner sep=1pt},
} }
}{}% }{}%
\@ifpackageloaded{pgfplots}{
\usepackage{pgfplotstable}
\usepgfplotslibrary{fillbetween} % mark areas under or between graphs
\pgfplotsset{
compat=1.16,
/pgf/number format/use comma,
/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}},
}
}
\pgfplotstableset{
col sep=semicolon, % global seperator for csv files
}
}{}%
\documentclass[11pt,a4paper,twoside,f1]{HsH-report} \documentclass[11pt,a4paper,twoside,f1,ngerman]{HsH-report}
\usepackage{color} \usepackage{color}
\usepackage{lipsum} \usepackage{lipsum}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment