diff options
author | Karl Berry <karl@freefriends.org> | 2022-04-06 20:10:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-04-06 20:10:58 +0000 |
commit | ad6b4827c53f928d072396b8e6a74a72a36f95c3 (patch) | |
tree | d40484cba05872ae5370da19e875a4d80ad1181d /Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty | |
parent | 41e335a5b71f1601c5b4655809c189968c53896a (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.sty | 17 |
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% } |