Commits (8)
......@@ -5,6 +5,9 @@
\usepackage{amsmath, amssymb, amsfonts, mathtools}
% Mathepakete
\usepackage{setspace}
% Font: microtype requires that cm-super (installed by default on most Linuxes, but not on Windows-MikTeX) is installed or another scalable font is explicitly selected (e.g. lmodern).
% However, Windows-MikTeX installs a package as soon as you check for it with \IfFileExists.
\IfFileExists{type1ec.sty}{}{\ClassWarning{}{Please install the cm-super package if you get 'auto expansion not possible' errors.}}
%\usepackage{lmodern} % Schriftart höher aufgelöst
% PROBLEM: Bei beamer funktioniert \setbeamertemplate{itemize items}[circle] mit lmodern nicht! Außerdem wird \textbullet quadratisch statt rund. Paket scheint mehr Probleme zu machen, als es bringt.
\usepackage{xcolor}
......
......@@ -73,6 +73,7 @@
execute at end picture={
\path (current bounding box.east) ++(\pgfkeysvalueof{/tikz/ams matrix xsep},0) (current bounding box.west) ++(-\pgfkeysvalueof{/tikz/ams matrix xsep},0);
},
text width=,
},
leftshift/.style={xshift=0pt},
rightshift/.style={xshift=0pt},
......
%%%%%%%%%%%%%%%%%%%%
% neuer Befehl: \ifchoice : switch case
% http://tex.stackexchange.com/questions/20679/define-macros-depending-on-argument
% http://tex.stackexchange.com/questions/20679/define-macros-depending-on-argument:
%\ifchoice{ud, du, lr, rl}{#2}%
% %-------------------- 0 = ud
% \def\ORIENTA{Up}%
% \def\ORIENTB{Down}%
% \or%-------------------- 1 = du
% \def\ORIENTA{Down}%
% \def\ORIENTB{Up}%
% \or%-------------------- 2 = lr
% \def\ORIENTA{Left}%
% \def\ORIENTB{Right}%
% \or%-------------------- 3 = rl
% \def\ORIENTA{Right}%
% \def\ORIENTB{Left}%
% \else%------------------ 99 = default
% \def\ORIENTA{Left}%
% \def\ORIENTB{Right}%
% \fi
% (#1)(#2)[\ORIENTA][\ORIENTB]}%--- Test output
\makeatletter
\newcommand*\@testlist{}
\newcommand*\@invalue{}
......
......@@ -16,7 +16,7 @@
/pgfplots/ticklabel style={font=\scriptsize}, % kleinere Schriftart
}
\providecommand{\tikzmarknode}[3][3pt]{\tikz[remember picture,baseline=(#2.base)]
\DeclareDocumentCommand\tikzmarknode {O{3pt} m m}{\tikz[remember picture,baseline=(#2.base)]
\node[inner sep=#1,outer sep=0pt] (#2) {#3};}
%tikzmark: markiert inhalt als tikznode: 1(optional): inner sep der node
% 2: name der Node
......
\newcommand\getheightofnode[2]{%
% \newlength{\myLength}
% \getheightofnode{\myLength}{nodeName} speichert die Hhe der Node als Lnge ab.
% \newlength{\myLength}
% \getheightofnode{\myLength}{nodeName} speichert die Hhe der Node als Lnge ab.
\pgfextracty{#1}{\pgfpointanchor{#2}{north}}%
\pgfextracty{\pgf@xa}{\pgfpointanchor{#2}{south}}% \pgf@xa is a length defined by PGF for temporary storage. No need to create a new temporary length.
\addtolength{#1}{-\pgf@xa}%
\global#1=#1
% \GenericWarning{#1}
}
\newcommand\getwidthofnode[2]{%
% \newlength{\myLength}
% \gethwidthofnode{\myLength}{nodeName} speichert die Breite der Node als Lnge ab.
% \getwidthofnode{\myLength}{nodeName} speichert die Breite der Node als Lnge ab.
\pgfextractx{#1}{\pgfpointanchor{#2}{east}}%
\pgfextractx{\pgf@xa}{\pgfpointanchor{#2}{west}}% \pgf@xa is a length defined by PGF for temporary storage. No need to create a new temporary length.
\addtolength{#1}{-\pgf@xa}%
\global#1=#1
}
\newcommand{\tikzdoubleul}[1]{
......