texlive[62417] Master/texmf-dist: srdp-mathematik (4mar22)

commits+karl at tug.org commits+karl at tug.org
Fri Mar 4 22:59:45 CET 2022


Revision: 62417
          http://tug.org/svn/texlive?view=revision&revision=62417
Author:   karl
Date:     2022-03-04 22:59:45 +0100 (Fri, 04 Mar 2022)
Log Message:
-----------
srdp-mathematik (4mar22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt
    trunk/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf
    trunk/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex
    trunk/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty

Modified: trunk/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt	2022-03-04 21:59:23 UTC (rev 62416)
+++ trunk/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt	2022-03-04 21:59:45 UTC (rev 62417)
@@ -2,9 +2,9 @@
 
                 The
           srdp-mathematik package
-               v1.9.4
+               v1.9.5
 
-            2022/01/02
+            2022/03/04
 ___________________________________
 
 Maintainer: Christoph Weberndorfer

Modified: trunk/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex	2022-03-04 21:59:23 UTC (rev 62416)
+++ trunk/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex	2022-03-04 21:59:45 UTC (rev 62417)
@@ -55,7 +55,7 @@
 
 \vfill
 
-\Huge The \textit{srdp-mathematik} package v1.9.4\\[1cm]
+\Huge The \textit{srdp-mathematik} package v1.9.5\\[1cm]
 
 Documentation \\ [1cm]
 
@@ -335,7 +335,24 @@
 Die Erstellung der Gruppen ist dabei reproduzierbar. Die Reihenfolge der Antwortmöglichkeiten einer Gruppe bleibt daher immer gleich. Mithilfe des Befehls \texttt{\textbackslash Gruppe} kann die Gruppennummer innerhalb der \texttt{PDF}-Datei (z.B. am Deckblatt) angezeigt werden. (verwendeter counter: \texttt{Zufall=0, 1, 2, \ldots})
 
 
+\subsubsection{Gruppenvariation von offenen Aufgabenformaten}
+Da es bei offenen Antwortformaten keine Vertauschung der Antwortmöglichkeiten gibt, bietet das \texttt{srdp-mathematik}-Paket die Möglichkeit eine individuelle Gruppenvariation einzugeben. Mithilfe des Befehls \texttt{variation\{\ldots\}\{\}} können unterschiedliche Anzeigen -- abhängig von der ausgewählten Gruppe -- erstellt werden.
 
+\textsc{Eingabe:}
+\begin{verbatim}
+\variation{Anzeige bei Gruppe A}{bei Gruppe B sichtbar}
+\end{verbatim}
+
+\textsc{Ausgabe:}
+
+\texttt{[random=0]}: Anzeige bei Gruppe A
+
+\texttt{[random=1]}: bei Gruppe B sichtbar
+
+
+
+
+
 \subsection{Paketoption -- Informationseingabe: \texttt{[info\_on/off]}}
 Es ist darüber hinaus möglich zusätzliche Informationen (Erläuterungen, Hilfestellungen, \ldots) hinzuzufügen und einzublenden. Dazu kann die Option \texttt{info\_on/off} im \texttt{srdp-mathematik}-Paket eingebunden werden. Die Infos werden in \textcolor[rgb]{0,0,1}{blau} angegeben und nur dann angezeigt, wenn die Option \texttt{info\_on} gewählt wurde (verwendeter counter: \texttt{info=0,1}). Also:
 

Modified: trunk/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty	2022-03-04 21:59:23 UTC (rev 62416)
+++ trunk/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty	2022-03-04 21:59:45 UTC (rev 62417)
@@ -10,7 +10,7 @@
 %
 
 \NeedsTeXFormat{LaTeX2e}[1996/12/26]
-\ProvidesPackage{srdp-mathematik}[2022/01/02 v1.9.4 Standard-Schularbeitsformate]
+\ProvidesPackage{srdp-mathematik}[2022/03/04 v1.9.5 Standard-Schularbeitsformate]
 
 
 \usepackage{color}
@@ -115,6 +115,20 @@
 
 \ProcessOptions\relax
 
+
+\NewDocumentCommand{\variation}{ m m O{#1} O{#2} O{#1} O{#2} O{#1} O{#2} O{#1}}{%
+\ifthenelse{\theZufall=0}{#1}{%
+\ifthenelse{\theZufall=1}{#2}{%
+\ifthenelse{\theZufall=2}{#3}{%
+\ifthenelse{\theZufall=3}{#4}{%
+\ifthenelse{\theZufall=4}{#5}{%
+\ifthenelse{\theZufall=5}{#6}{%
+\ifthenelse{\theZufall=6}{#7}{%
+\ifthenelse{\theZufall=7}{#8}{%
+\ifthenelse{\theZufall=8}{#9}{#1}%
+}}}}}}}}}
+
+
 \newcommand{\antwort}[2][]{\ifthenelse{\theAntworten=1}{{\color[rgb]{1,0,0}#2}}{#1}}
 
 \newcommand{\info}[2][]{\ifthenelse{\theinfo=1}{
@@ -121,8 +135,18 @@
 {\color[rgb]{0,0,1}#2}
 }{#1}}
 
+\newif\ifswitch
+\let\switchon\switchtrue
+\let\switchoff\switchfalse
 
+\ifthenelse{\theAntworten=1}{\switchon}{}
 
+\def\antwortzeile #1\\{%
+\ifswitch%
+{\color[rgb]{1,0,0}#1}\\
+\fi%
+}
+
 \newcounter{A1}
 \newcounter{A2}
 



More information about the tex-live-commits mailing list.