summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-03-04 21:59:54 +0000
committerKarl Berry <karl@freefriends.org>2022-03-04 21:59:54 +0000
commit9ed7f8da344dcde469b4f9671d4809947ca2baf4 (patch)
tree4e75385e05d3ddb27e1d31ff8db9a1228f9c9f68 /Master/texmf-dist
parent815c00b5e712bcf5f934687398f6284cd5f9fc97 (diff)
srdp-mathematik (4mar22) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62418 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/srdp-mathematik/README.txt4
-rw-r--r--Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdfbin176406 -> 178836 bytes
-rw-r--r--Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex19
-rw-r--r--Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty26
4 files changed, 45 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt b/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt
index 553c175e9aa..5ebd2ac1094 100644
--- a/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt
+++ b/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt
@@ -2,9 +2,9 @@ __________________________________
The
srdp-mathematik package
- v1.9.4
+ v1.9.5
- 2022/01/02
+ 2022/03/04
___________________________________
Maintainer: Christoph Weberndorfer
diff --git a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf
index c4b743bcacc..c2dff7ff862 100644
--- a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf
+++ b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex
index f6ab329c458..ece0c2195ae 100644
--- a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex
+++ b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex
@@ -55,7 +55,7 @@ hidelinks
\vfill
-\Huge The \textit{srdp-mathematik} package v1.9.4\\[1cm]
+\Huge The \textit{srdp-mathematik} package v1.9.5\\[1cm]
Documentation \\ [1cm]
@@ -335,6 +335,23 @@ Durch das Ersetzen der Zahl "`0"' durch die Zahlen $1, 2, 3, \ldots$ (und anschl
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:
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 b0b716daa8f..4209fa9c146 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/01/02 v1.9.4 Standard-Schularbeitsformate]
+\ProvidesPackage{srdp-mathematik}[2022/03/04 v1.9.5 Standard-Schularbeitsformate]
\usepackage{color}
@@ -115,13 +115,37 @@
\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}{
{\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}