Skip to content
Snippets Groups Projects
Commit ba245738 authored by mirabilos's avatar mirabilos
Browse files

Makros auf Niks Wunsch eingeënglischt

parent ddd75a79
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
% of said person’s immediate fault when using the work as intended. % of said person’s immediate fault when using the work as intended.
\NeedsTeXFormat{LaTeX2e}% \NeedsTeXFormat{LaTeX2e}%
\ProvidesPackage{teckidsfdanleitung}[2018/02/17 1.0 Freedroidz-Bauanleitungsmakros]% \ProvidesPackage{teckidsfdanleitung}[2018/02/18 2.0 Freedroidz-Bauanleitungsmakros]%
\RequirePackage{marginnote}% \RequirePackage{marginnote}%
% From Bernd Raichle via http://www.gust.org.pl/projects/pearls/2006p/index_html % From Bernd Raichle via http://www.gust.org.pl/projects/pearls/2006p/index_html
...@@ -31,27 +31,27 @@ ...@@ -31,27 +31,27 @@
\geometry{includemp,marginparwidth=1cm}% \geometry{includemp,marginparwidth=1cm}%
\setlength{\fboxsep}{2ex}% \setlength{\fboxsep}{2ex}%
\newcommand{\tbVorher}{}% \newcommand{\tkFdAnlPrefix}{}%
\newcommand{\tbNachTeilen}{}% \newcommand{\tkFdAnlParts}{}%
\newcommand{\tbHinterher}{}% \newcommand{\tkFdAnlPostfix}{}%
\newcommand{\vorher}[1]{% \newcommand{\leoPrefix}[1]{%
\renewcommand{\tbVorher}{#1}% \renewcommand{\tkFdAnlPrefix}{#1}%
}% }%
\newcommand{\nachteilen}[1]{% \newcommand{\leoParts}[1]{%
\renewcommand{\tbNachTeilen}{#1}% \renewcommand{\tkFdAnlParts}{#1}%
}% }%
\newcommand{\hinterher}[1]{% \newcommand{\leoPostfix}[1]{%
\renewcommand{\tbHinterher}{#1}% \renewcommand{\tkFdAnlPostfix}{#1}%
}% }%
\newcommand{\schritt}[2]{% \newcommand{\leoStep}[2]{%
\tbifdef{tbS#1}{% \tbifdef{tkFdStepText#1}{%
\PackageError{teckidsfdanleitung}% \PackageError{teckidsfdanleitung}%
{Schritt \##1 bereits definiert!}{}% {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}{% \fbox{\parbox{\linewidth-3.5ex}{%
\marginnote{\Huge\ttfamily\color[HTML]{444444}#2}% \marginnote{\Huge\ttfamily\color[HTML]{444444}#2}%
{% {%
...@@ -60,8 +60,8 @@ ...@@ -60,8 +60,8 @@
}% }%
\tbifdef{tbS#2}{% \tbifdef{tkFdStepText#2}{%
\csname tbS#2\endcsname% \csname tkFdStepText#2\endcsname%
}{% }{%
\textbf{ACHTUNG: Schritt \##2 nicht definiert ⚠}% \textbf{ACHTUNG: Schritt \##2 nicht definiert ⚠}%
}% }%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment