\documentclass[a4paper]{article}

%----------------------------------------------------------------------------
%Alle Einstellungen die mit den Schriften zu tun haben:
%----------------------------------------------------------------------------

%Für die Schrifteinstellungen notwendige Pakete laden.
\usepackage{amsmath}  %Paket für mathematische Ausdrücke
\usepackage{amssymb}  %Pakte für zusätzliche mathematische Symbole
\usepackage{mathspec} %Paket für Schriftverwaltung
\usepackage{units}    %Paket für Einheiten

%Die Hauptschriftarten festlegen.
\setsansfont[ItalicFont=ISOCPEUR]{ISOCPEUR}
\setmainfont[Scale=1]{ISOCPEUR}
\setmathsfont(Digits,Latin)[Uppercase=Regular,Lowercase=Regular]{ISOCPEUR}
\setmathsfont(Greek)[Uppercase=Regular,Lowercase=Regular]{STIXGeneral}
\setmathrm{ISOCPEUR}
\newfontfamily\Calibri[Ligatures=TeX]{Calibri}

%Standardisierte Schriftgrößen definieren.
\renewcommand{\tiny}{\fontsize{11.0pt}{0pt}\selectfont}  %2.5mm Normschrift
\renewcommand{\small}{\fontsize{15.4pt}{0pt}\selectfont} %3.5mm Normschrift
\newcommand{\normal}{\fontsize{22.0pt}{0pt}\selectfont}  %5mm Normschrift
\renewcommand{\large}{\fontsize{30.8pt}{0pt}\selectfont} %7mm Normschrift
\renewcommand{\huge}{\fontsize{22.0pt}{0pt}\selectfont}  %10mm Normschrift
%\newcommand{\setDocumentFont}{\fontsize{12pt}{16pt}\selectfont}

%Das Hoch- und Tiefstellen der Zeichen anpassen.
\newcommand{\upsup}[1]{\sp{\raisebox{0.4ex}{\scalebox{0.33}{$#1$}}}}
\newcommand{\upsub}[1]{\sb{\raisebox{-0.1ex}{\scalebox{0.5}{$#1$}}}}
\begingroup\lccode`~=`^\lowercase{\endgroup\let~\upsup}
\begingroup\lccode`~=`_\lowercase{\endgroup\let~\upsub}
\AtBeginDocument{%
   \catcode`^=12
   \catcode`_=12
   \mathcode`^="8000
   \mathcode`_="8000
}
%Das Istgleich anpassen.
\newcommand{\eq}{\scalebox{.5}[1]{$\texttt{=}$}}
\newcommand{\ms}{\scalebox{.5}[1]{$\texttt{-}$}}
\newcommand{\overbar}[1]{\mkern 1mu\overline{\mkern-1.1mu#1\mkern-1.1mu}\mkern 1mu}

%----------------------------------------------------------------------------
%Alle Einstellungen die mit Grafiken zu tun haben:
%----------------------------------------------------------------------------

%Für das Erstellen der Grafiken notwendige Pakete laden.
\usepackage{ifthen}      %Paket für Verzweigungen
\usepackage{tkz-euclide} %Paket für euklidsches Konstruieren (inkludiert tikz)
\usetkzobj{all}
\usetikzlibrary{arrows,arrows.meta,backgrounds,bending,calc,decorations.markings,intersections}

%Allgemeine Einstellungen für das Bild.
\tikzset{every picture/.append style={font=\tiny,line join=round,line cap=round}}

%Anordnung der Layer festlegen.
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}

%Verschiedenene Linienformate definieren.
\tikzset{hline/.style={line width=0.1pt}}
\tikzset{dline/.style={densely dotted,line width=0.2mm}}
\tikzset{pline/.style={dash pattern=on 8mm off 1mm on 1mm off 1mm,line width=0.35mm}}
\tikzset{uline/.style={dash pattern=on 4mm off 1mm,line width=0.5mm}}
\tikzset{aline/.style={line width=0.35mm}}
\tikzset{bline/.style={line width=0.35mm}}
\tikzset{tline/.style={line width=0.35mm,color=blue}}
\tikzset{vline/.style={line width=0.7mm}}
\tikzset{kline/.style={line width=0.35mm,-{Triangle[angle=15:3.5mm]}}}

%Format der Punkte, Beschriftungen und Kreise festlegen.
\tikzset{point style/.style={shape=circle,minimum size=3pt,draw=black,fill=white,inner sep=0pt}}
\tikzset{label style/.style={}}
\tikzset{compass style/.append style={color=black}}

%Eigene Schraffuren definieren.
\pgfdeclarepatternformonly{tup}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{11mm}{6.774mm}}{\pgfqpoint{10mm}{5.774mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{0mm}}
  \pgfpathlineto{\pgfqpoint{10mm}{5.774mm}}
  \pgfusepath{stroke}
}

\pgfdeclarepatternformonly{fup}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{8.071mm}{8.071mm}}{\pgfqpoint{7.071mm}{7.071mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{0mm}}
  \pgfpathlineto{\pgfqpoint{7.071mm}{7.071mm}}
  \pgfusepath{stroke}
}

\pgfdeclarepatternformonly{sup}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{6.774mm}{11mm}}{\pgfqpoint{5.774mm}{10mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{0mm}}
  \pgfpathlineto{\pgfqpoint{5.774mm}{10mm}}
  \pgfusepath{stroke}
}

\pgfdeclarepatternformonly{tdown}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{11mm}{6.774mm}}{\pgfqpoint{10mm}{5.774mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{5.774mm}}
  \pgfpathlineto{\pgfqpoint{10mm}{0mm}}
  \pgfusepath{stroke}
}

\pgfdeclarepatternformonly{fdown}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{8.071mm}{8.071mm}}{\pgfqpoint{7.071mm}{7.071mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{7.071mm}}
  \pgfpathlineto{\pgfqpoint{7.071mm}{0mm}}
  \pgfusepath{stroke}
}

\pgfdeclarepatternformonly{sdown}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{6.774mm}{11mm}}{\pgfqpoint{5.774mm}{10mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{10mm}}
  \pgfpathlineto{\pgfqpoint{5.774mm}{0mm}}
  \pgfusepath{stroke}
}

%%Schraffur
%\makeatletter
%\pgfdeclarepatternformonly[\hatchwidth,\hatchheight,\hatchthickness]{flexible hatch}
%{\pgfqpoint{-1mm}{-1pt}}
%{\pgfqpoint{\hatchwidth}{\hatchheight}}
%{\pgfqpoint{\hatchwidth+1pt}{\hatchheight+1pt}}
%{\pgfsetcolor{\tikz@pattern@color}
% \pgfsetlinewidth{\hatchthickness}
% \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
% \pgfpathlineto{\pgfqpoint{\hatchwidth+1pt}{\hatchheight+1pt}}
% \pgfusepath{stroke}
%}
%\makeatother
%\tikzset{
% hatch width/.store in=\hatchwidth,
% hatch height/.store in=\hatchheight,
% hatch thickness/.store in=\hatchthickness}

\makeatletter
%Textbausteine für die Beschriftung der Dokumente definieren.
\newcommand{\tkzTextHead}[2][]{\def\tmp{0.5} \ifthenelse{\equal{#1}{}}{}{\def\tmp{#1}} \node[anchor=north,font=\fontsize{22pt}{26.4pt}\fontseries{b}\selectfont,inner sep=0pt,text height=7.4mm,text depth=2.6mm] at ($(current bounding box.north west)!\tmp!(current bounding box.north east)+(0,-0.12)$) {#2};}
\newcommand{\tkzTextData}[2][]{\def\tmp{0.0} \ifthenelse{\equal{#1}{}}{}{\def\tmp{#1}} \node[anchor=north west,font=\fontsize{11pt}{13.2pt}\selectfont,inner sep=0pt,text depth=17.5mm,text width=202mm] at ($(current bounding box.north west)!\tmp!(current bounding box.north east)+(0.4,-1.5)$) {#2};}
\newcommand{\tkzTextName}[2][]{\def\tmp{1.0} \ifthenelse{\equal{#1}{}}{}{\def\tmp{#1}} \node[anchor=south east,font=\fontsize{11pt}{13.2pt}\selectfont,inner sep=0pt] at ($(current bounding box.south west)!\tmp!(current bounding box.south east)+(-0.3,0.3)$) {\textcopyright{} by #2};}
\newcommand{\tkzTextStep}[2][]{\def\tmp{0.0} \ifthenelse{\equal{#1}{}}{}{\def\tmp{#1}} \node[anchor=south west,draw=black,fill=white,font=\fontsize{11pt}{13.2pt}\selectfont,inner sep=3mm,line width=0.25mm,rectangle,rounded corners=2mm,text depth=11mm,text width=196mm] at ($(current bounding box.south west)!\tmp!(current bounding box.south east)+(0.4,1.1)$) {#2};}
\makeatother

%----------------------------------------------------------------------------
%Alle Einstellungen die mit dem Seitenlayout zu tun haben:
%----------------------------------------------------------------------------

%Für das Seitenlayout notwendige Pakete laden.
\usepackage{geometry} %Paket für die Seiten

%Die Seitengröße festlegen.
\geometry{left=0mm,top=0mm,right=0mm,bottom=0mm}

%Die Seitengröße auf ein Minimum zusammenschneiden.
\usepackage[active,tightpage]{preview} %Paket für minimale Seitengröße
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0mm}