summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-06 20:10:58 +0000
committerKarl Berry <karl@freefriends.org>2022-04-06 20:10:58 +0000
commitad6b4827c53f928d072396b8e6a74a72a36f95c3 (patch)
treed40484cba05872ae5370da19e875a4d80ad1181d /Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty
parent41e335a5b71f1601c5b4655809c189968c53896a (diff)
srdp-mathematik (6apr22)
git-svn-id: svn://tug.org/texlive/trunk@62970 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty')
-rw-r--r--Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty17
1 files changed, 15 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty b/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty
index 4209fa9c146..1b1bbde3746 100644
--- a/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty
+++ b/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty
@@ -10,7 +10,7 @@
%
\NeedsTeXFormat{LaTeX2e}[1996/12/26]
-\ProvidesPackage{srdp-mathematik}[2022/03/04 v1.9.5 Standard-Schularbeitsformate]
+\ProvidesPackage{srdp-mathematik}[2022/04/05 v1.9.6 Standard-Schularbeitsformate]
\usepackage{color}
@@ -129,6 +129,18 @@
}}}}}}}}}
+\ExplSyntaxOn
+\NewDocumentCommand{\stringprocess}{ m m }
+{\egreg_string_process:nn{#1}{#2}}
+\cs_new_protected:Npn \egreg_string_process:nn#1#2
+{\tl_map_inline:nn{#2}{#1{##1}}}
+\ExplSyntaxOff
+
+\newcommand{\boxchar}[2]{\strut#2#1}
+\newcommand{\stretchstring}[2][\ \ ]{\stringprocess{\boxchar{#1}}{#2}}
+
+
+
\newcommand{\antwort}[2][]{\ifthenelse{\theAntworten=1}{{\color[rgb]{1,0,0}#2}}{#1}}
\newcommand{\info}[2][]{\ifthenelse{\theinfo=1}{
@@ -141,9 +153,10 @@
\ifthenelse{\theAntworten=1}{\switchon}{}
+
\def\antwortzeile #1\\{%
\ifswitch%
-{\color[rgb]{1,0,0}#1}\\
+\color[rgb]{1,0,0}#1\\
\fi%
}