diff --git a/teckidsfdanleitung.sty b/teckidsfdanleitung.sty index 04885496a475545e7ef37959750c5c313bd12949..89e91402768bca7edbc4614623c8331e94b2267f 100644 --- a/teckidsfdanleitung.sty +++ b/teckidsfdanleitung.sty @@ -19,7 +19,7 @@ % of said person’s immediate fault when using the work as intended. \NeedsTeXFormat{LaTeX2e}% -\ProvidesPackage{teckidsfdanleitung}[2018/02/17 1.0 Freedroidz-Bauanleitungsmakros]% +\ProvidesPackage{teckidsfdanleitung}[2018/02/18 2.0 Freedroidz-Bauanleitungsmakros]% \RequirePackage{marginnote}% % From Bernd Raichle via http://www.gust.org.pl/projects/pearls/2006p/index_html @@ -31,27 +31,27 @@ \geometry{includemp,marginparwidth=1cm}% \setlength{\fboxsep}{2ex}% -\newcommand{\tbVorher}{}% -\newcommand{\tbNachTeilen}{}% -\newcommand{\tbHinterher}{}% -\newcommand{\vorher}[1]{% - \renewcommand{\tbVorher}{#1}% +\newcommand{\tkFdAnlPrefix}{}% +\newcommand{\tkFdAnlParts}{}% +\newcommand{\tkFdAnlPostfix}{}% +\newcommand{\leoPrefix}[1]{% + \renewcommand{\tkFdAnlPrefix}{#1}% }% -\newcommand{\nachteilen}[1]{% - \renewcommand{\tbNachTeilen}{#1}% +\newcommand{\leoParts}[1]{% + \renewcommand{\tkFdAnlParts}{#1}% }% -\newcommand{\hinterher}[1]{% - \renewcommand{\tbHinterher}{#1}% +\newcommand{\leoPostfix}[1]{% + \renewcommand{\tkFdAnlPostfix}{#1}% }% -\newcommand{\schritt}[2]{% - \tbifdef{tbS#1}{% +\newcommand{\leoStep}[2]{% + \tbifdef{tkFdStepText#1}{% \PackageError{teckidsfdanleitung}% {Schritt \##1 bereits definiert!}{}% }{}% - \expandafter\newcommand\csname tbS#1\endcsname{#2}% + \expandafter\newcommand\csname tkFdStepText#1\endcsname{#2}% }% -\newcommand{\tbSchritt}[2]{% +\newcommand{\tkFdAnlStep}[2]{% \fbox{\parbox{\linewidth-3.5ex}{% \marginnote{\Huge\ttfamily\color[HTML]{444444}#2}% {% @@ -60,8 +60,8 @@ }% - \tbifdef{tbS#2}{% - \csname tbS#2\endcsname% + \tbifdef{tkFdStepText#2}{% + \csname tkFdStepText#2\endcsname% }{% \textbf{ACHTUNG: Schritt \##2 nicht definiert ⚠}% }%