diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-12 23:03:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-12 23:03:09 +0000 |
commit | c2a74d4c38b7749e5100b884bdf2468404743945 (patch) | |
tree | 81711981913a682f21f603c6c43dd8e4247db6a3 /Master | |
parent | f496bab7265765d18edcab194a450bb266636eb2 (diff) |
srdp-mathematik (12mar21) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58303 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/srdp-mathematik/README.txt | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf | bin | 167139 -> 169051 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex | 28 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty | 101 |
4 files changed, 74 insertions, 59 deletions
diff --git a/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt b/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt index d8a0223c99c..f1435cb61f0 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.6 + v1.7 - 2020/04/03 + 2021/03/12 ___________________________________ 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 Binary files differindex f42b398cc08..f4c3f26c31c 100644 --- a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf +++ b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf 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 1e51f36218e..370fa9b3f91 100644 --- a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex +++ b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex @@ -1,7 +1,7 @@ \documentclass[a4paper,12pt]{article} \usepackage{geometry} -\geometry{a4paper,left=18mm,right=18mm, top=3cm, bottom=2cm} +\geometry{a4paper,left=18mm,right=18mm, top=2.5cm, bottom=2cm} \usepackage{lmodern} @@ -51,9 +51,11 @@ hidelinks \begin{titlepage} \thispagestyle{empty} \begin{center} +~ + \vfill -\Huge The \textit{srdp-mathematik} package v1.6\\[1cm] +\Huge The \textit{srdp-mathematik} package v1.7\\[1cm] Documentation \\ [1cm] @@ -175,6 +177,28 @@ Werden für alle Beispiele die \texttt{beispiel}- oder die \texttt{langesbeispie \normalsize +\paragraph{Notenschlüssel - Ohne Prozentangabe} +Analog zum \texttt{notenschluessel} funktioniert auch der Befehl \texttt{notenschluesselop}. Es wird dabei jedoch die Prozentspalte nicht angezeigt. + +\textsc{Eingabe:} +\begin{verbatim} +\notenschluesselop{0.91}{0.8}{0.64}{0.5} +\end{verbatim} + +\textsc{Ausgabe:} +\notenschluessel{0.91}{0.8}{0.64}{0.5} + +\paragraph{Notenschlüssel - Option: [1/2]} + +Die Option 1/2 ermöglicht die Anzeige des Notenschlüssel (mit oder ohne Prozentspalte) mit halben Punkten. + +\textsc{Eingabe:} +\begin{verbatim} +\notenschluessel[1/2]{0.91}{0.8}{0.64}{0.5} +\end{verbatim} + +\textsc{Ausgabe:} +\notenschluessel[1/2]{0.91}{0.8}{0.64}{0.5} \subsubsection{Beurteilungsraster} 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 8e03953a0a3..aa637514361 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}[2020/04/03 v1.6 Standard-Schularbeitsformate] +\ProvidesPackage{srdp-mathematik}[2021/03/12 v1.7 Standard-Schularbeitsformate] \usepackage{color} @@ -53,7 +53,6 @@ \renewcommand{\vec}[1]{\vv{#1}} \usepackage{graphicx} \usepackage{setspace} -%\usepackage{enumerate} \usepackage[inline, shortlabels]{enumitem} \usepackage{xparse} \usepackage{eurosym, xspace} @@ -124,11 +123,6 @@ }{#1}} -%\NewEnviron{antwort}[1][hallo]{\textcolor{red}{\BODY}} -%\NewEnviron{antwort}[2][]{\ifthenelse{\theAntworten=1}{\color[rgb]{1,0,0}#1\color[rgb]{0,0,0}}{#2}} -%\newenvironment{antwort}[2][]{\color[rgb]{1,0,0}{#1}}{\color[rgb]{0,0,0}} - - \newcounter{A1} \newcounter{A2} @@ -297,7 +291,6 @@ % %%%%%%%%%%%%%%%%%%%% INTEGRAL BEFEHL -%\newcommand{\dx}{\,\text{d}x} \newcommand{\dx}[1][x]{\,\text{d}#1} \newcommand{\dint}{\displaystyle\int} @@ -317,15 +310,15 @@ %%%%%%%%%%%% NOTENSCHLUESSEL %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % -\newcommand{\notenschluessel}[4]{ +\newcommand{\notenschluessel}[5][]{ \vfill \STautoround{3}\renewcommand{\arraystretch}{0}\tiny \begin{spreadtab}[\STsavecell\gutgenau{b2} \STsavecell\befriedigendgenau{c2} \STsavecell\genuegendgenau{d2} \STsavecell\nichtgenuegendgenau{e2} \STsavecell\gut{b3} \STsavecell\befriedigend{c3} \STsavecell\genuegend{d3} \STsavecell\nichtgenuegend{e3} \STsavecell\gutpluseins{b4} \STsavecell\befriedigendpluseins{c4} \STsavecell\genuegendpluseins{d4} \STsavecell\nichtgenuegendpluseins{e4} \STsavecell\gutminuseins{b5} \STsavecell\befriedigendminuseins{c5} \STsavecell\genuegendminuseins{d5} \STsavecell\nichtgenuegendminuseins{e5}]{{tabular}{ccccc}} \SThidecol\thepunkte &\SThidecol 1 &\SThidecol2 &\SThidecol 3 &\SThidecol 4 \\ - & a1*#1 &a1*#2 & a1*#3 & a1*#4 \\ - &trunc(a1*#1,0) & trunc(a1*#2,0) &trunc(a1*#3,0) &trunc(a1*#4,0) \\ + & a1*#2 &a1*#3 & a1*#4 & a1*#5 \\ + &trunc(a1*#2,0) & trunc(a1*#3,0) &trunc(a1*#4,0) &trunc(a1*#5,0) \\ &b3+1 &c3+1 &d3+1 & e3+1\\ &b3-1 &c3-1 &d3-1 & e3-1\\ \end{spreadtab} @@ -336,21 +329,21 @@ Erreichte Punkte & Prozent & Gesamt & \multicolumn{2}{c|}{Note} \\ && \multirow{2}{*}{\thepunkte} && \\ &&&& \\ \hline \hline \scriptsize{Sehr gut} & \scriptsize{Gut} & \scriptsize{Befriedigend} & \scriptsize{Gen\"ugend} & \scriptsize{Nicht gen\"ugend} \\ -\scriptsize{\thepunkte ~ - \ifdim\gut pt=\gutgenau pt \gut\else\gutpluseins\fi}& \scriptsize{\ifdim\gut pt=\gutgenau pt \gutminuseins\else\gut\fi ~ - \ifdim\befriedigend pt=\befriedigendgenau pt \befriedigend\else\befriedigendpluseins\fi} & \scriptsize{\ifdim\befriedigend pt=\befriedigendgenau pt \befriedigendminuseins\else\befriedigend\fi ~ - \ifdim\genuegend pt=\genuegendgenau pt \genuegend\else\genuegendpluseins\fi} & \scriptsize{\ifdim\genuegend pt=\genuegendgenau pt \genuegendminuseins\else\genuegend\fi ~ - \ifdim\nichtgenuegend pt=\nichtgenuegendgenau pt \nichtgenuegend\else\nichtgenuegendpluseins\fi} & \scriptsize{unter \ifdim\nichtgenuegend pt=\nichtgenuegendgenau pt \nichtgenuegend\else\nichtgenuegendpluseins\fi} \\ \hline +\scriptsize{\thepunkte ~ - \ifdim\gut pt=\gutgenau pt \gut\else\gutpluseins\fi}& \scriptsize{\ifdim\gut pt=\gutgenau pt \gutminuseins\else\gut\fi \ifthenelse{\equal{#1}{1/2}}{,5}{} ~ - \ifdim\befriedigend pt=\befriedigendgenau pt \befriedigend\else\befriedigendpluseins\fi} & \scriptsize{\ifdim\befriedigend pt=\befriedigendgenau pt \befriedigendminuseins\else\befriedigend\fi \ifthenelse{\equal{#1}{1/2}}{,5}{} ~ - \ifdim\genuegend pt=\genuegendgenau pt \genuegend\else\genuegendpluseins\fi} & \scriptsize{\ifdim\genuegend pt=\genuegendgenau pt \genuegendminuseins\else\genuegend\fi \ifthenelse{\equal{#1}{1/2}}{,5}{} ~ - \ifdim\nichtgenuegend pt=\nichtgenuegendgenau pt \nichtgenuegend\else\nichtgenuegendpluseins\fi} & \scriptsize{unter \ifdim\nichtgenuegend pt=\nichtgenuegendgenau pt \nichtgenuegend\else\nichtgenuegendpluseins\fi} \\ \hline \end{tabular} \end{center}\STautoround{}\normalsize} -\newcommand{\notenschluesselop}[4]{ +\newcommand{\notenschluesselop}[5][]{ \vfill \STautoround{3}\renewcommand{\arraystretch}{0}\tiny \begin{spreadtab}[\STsavecell\gutgenau{b2} \STsavecell\befriedigendgenau{c2} \STsavecell\genuegendgenau{d2} \STsavecell\gut{b3} \STsavecell\befriedigend{c3} \STsavecell\genuegend{d3} \STsavecell\nichtgenuegend{e3} \STsavecell\gutpluseins{b4} \STsavecell\befriedigendpluseins{c4} \STsavecell\genuegendpluseins{d4} \STsavecell\gutminuseins{b5} \STsavecell\befriedigendminuseins{c5} \STsavecell\genuegendminuseins{d5}]{{tabular}{ccccc}} \SThidecol \thepunkte &\SThidecol 1 &\SThidecol 2 &\SThidecol 3 &\SThidecol 4 \\ - & a1*#1 &a1*#2 & a1*#3 & a1*#4 \\ - &trunc(a1*#1,0) & trunc(a1*#2,0) &trunc(a1*#3,0) &trunc(a1*#4,0) \\ - &b3+1 &c3+1 &d3+1 &\\ - &b3-1 &c3-1 &d3-1 &\\ + & a1*#2 &a1*#3 & a1*#4 & a1*#5 \\ + &trunc(a1*#2,0) & trunc(a1*#3,0) &trunc(a1*#4,0) &trunc(a1*#5,0) \\ + &b3+1 &c3+1 &d3+1 & e3+1\\ + &b3-1 &c3-1 &d3-1 & e3-1\\ \end{spreadtab} \footnotesize\renewcommand{\arraystretch}{1} \begin{center} @@ -359,7 +352,7 @@ Erreichte Punkte &Gesamt&\multicolumn{2}{c}{Note}& \\ &\multirow{2}{*}{\thepunkte} &&& \\ &&&& \\ \hline \hline \scriptsize{Sehr gut} & \scriptsize{Gut} & \scriptsize{Befriedigend} & \scriptsize{Gen\"ugend} & \scriptsize{Nicht gen\"ugend} \\ -\scriptsize{\thepunkte ~ - \ifdim\gut pt=\gutgenau pt \gut\else\gutpluseins\fi}& \scriptsize{\ifdim\gut pt=\gutgenau pt \gutminuseins\else\gut\fi ~ - \ifdim\befriedigend pt=\befriedigendgenau pt \befriedigend\else\befriedigendpluseins\fi} & \scriptsize{\ifdim\befriedigend pt=\befriedigendgenau pt \befriedigendminuseins\else\befriedigend\fi ~ - \ifdim\genuegend pt=\genuegendgenau pt \genuegend\else\genuegendpluseins\fi} & \scriptsize{\ifdim\genuegend pt=\genuegendgenau pt \genuegendminuseins\else\genuegend\fi ~ - \nichtgenuegend} & \scriptsize{unter \nichtgenuegend} \\ \hline +\scriptsize{\thepunkte ~ - \ifdim\gut pt=\gutgenau pt \gut\else\gutpluseins\fi}& \scriptsize{\ifdim\gut pt=\gutgenau pt \gutminuseins\else\gut\fi \ifthenelse{\equal{#1}{1/2}}{,5}{} ~ - \ifdim\befriedigend pt=\befriedigendgenau pt \befriedigend\else\befriedigendpluseins\fi} & \scriptsize{\ifdim\befriedigend pt=\befriedigendgenau pt \befriedigendminuseins\else\befriedigend\fi \ifthenelse{\equal{#1}{1/2}}{,5}{} ~ - \ifdim\genuegend pt=\genuegendgenau pt \genuegend\else\genuegendpluseins\fi} & \scriptsize{\ifdim\genuegend pt=\genuegendgenau pt \genuegendminuseins\else\genuegend\fi \ifthenelse{\equal{#1}{1/2}}{,5}{} ~ - \ifdim\nichtgenuegend pt=\nichtgenuegendgenau pt \nichtgenuegend\else\nichtgenuegendpluseins\fi} & \scriptsize{unter \ifdim\nichtgenuegend pt=\nichtgenuegendgenau pt \nichtgenuegend\else\nichtgenuegendpluseins\fi} \\ \hline \end{tabular} \end{center}\STautoround{}\normalsize} @@ -721,20 +714,21 @@ Complete the following sentence by putting a cross next to one of the given poss \newcommand\multiplechoice[2][5]{ %Anzahl der Antwortmoeglichkeiten, Standard: 5 \bgroup \jeroen@set@keys{#2}%% - + \centering \tabulinesep=3mm \pgfmathsetseed{\theZufall} \declarenumlist{group}{1}{#1} \pgfmathrandomitem\z{group}\setcounter{antworta}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortb}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortc}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortd}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworte}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortf}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortg}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworth}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworti}{\z}\prunelist{group} +\ifthenelse{\numexpr#1 > 1}{\pgfmathrandomitem\z{group}\setcounter{antwortb}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 2}{\pgfmathrandomitem\z{group}\setcounter{antwortc}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 3}{\pgfmathrandomitem\z{group}\setcounter{antwortd}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 4}{\pgfmathrandomitem\z{group}\setcounter{antworte}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 5}{\pgfmathrandomitem\z{group}\setcounter{antwortf}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 6}{\pgfmathrandomitem\z{group}\setcounter{antwortg}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 7}{\pgfmathrandomitem\z{group}\setcounter{antworth}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 8}{\pgfmathrandomitem\z{group}\setcounter{antworti}{\z}\prunelist{group}}{} + \begin{tabu}{|T|c|} \hline @@ -772,15 +766,14 @@ Complete the following sentence by putting a cross next to one of the given poss \jeroen@set@keys{#2}%% \pgfmathsetseed{\theZufall} \declarenumlist{group}{1}{#1} -\pgfmathrandomitem\z{group}\setcounter{antworta}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortb}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortc}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortd}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworte}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortf}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortg}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworth}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworti}{\z}\prunelist{group} +\ifthenelse{\numexpr#1 > 1}{\pgfmathrandomitem\z{group}\setcounter{antwortb}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 2}{\pgfmathrandomitem\z{group}\setcounter{antwortc}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 3}{\pgfmathrandomitem\z{group}\setcounter{antwortd}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 4}{\pgfmathrandomitem\z{group}\setcounter{antworte}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 5}{\pgfmathrandomitem\z{group}\setcounter{antwortf}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 6}{\pgfmathrandomitem\z{group}\setcounter{antwortg}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 7}{\pgfmathrandomitem\z{group}\setcounter{antworth}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 8}{\pgfmathrandomitem\z{group}\setcounter{antworti}{\z}\prunelist{group}}{} \centering \tabulinesep=3mm @@ -838,20 +831,19 @@ Complete the following sentence by putting a cross next to one of the given poss \newcommand\rfmultiplechoice[3][5]{ %Anzahl der Antwortmoeglichkeiten, Standard: 5 \bgroup \jeroen@set@keys{#3}%% -\setcounter{counter}{0} +\setcounter{counter}{0}\setcounter{acheck}{0}\setcounter{bcheck}{0}\setcounter{ccheck}{0}\setcounter{dcheck}{0}\setcounter{echeck}{0}\setcounter{fcheck}{0}\setcounter{gcheck}{0}\setcounter{hcheck}{0}\setcounter{icheck}{0} \centering \tabulinesep=3mm \pgfmathsetseed{\theZufall} \declarenumlist{group}{1}{#1} -\pgfmathrandomitem\z{group}\setcounter{antworta}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortb}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortc}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortd}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworte}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortf}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortg}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworth}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworti}{\z}\prunelist{group} +\ifthenelse{\numexpr#1 > 1}{\pgfmathrandomitem\z{group}\setcounter{antwortb}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 2}{\pgfmathrandomitem\z{group}\setcounter{antwortc}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 3}{\pgfmathrandomitem\z{group}\setcounter{antwortd}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 4}{\pgfmathrandomitem\z{group}\setcounter{antworte}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 5}{\pgfmathrandomitem\z{group}\setcounter{antwortf}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 6}{\pgfmathrandomitem\z{group}\setcounter{antwortg}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 7}{\pgfmathrandomitem\z{group}\setcounter{antworth}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 8}{\pgfmathrandomitem\z{group}\setcounter{antworti}{\z}\prunelist{group}}{} %\begin{minipage}{0.85\linewidth} \begin{tabu}{|A|c|c|}% @@ -919,15 +911,14 @@ Complete the following sentence by putting a cross next to one of the given poss \tabulinesep=3mm \pgfmathsetseed{\theZufall} \declarenumlist{group}{1}{#1} -\pgfmathrandomitem\z{group}\setcounter{antworta}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortb}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortc}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortd}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworte}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortf}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antwortg}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworth}{\z}\prunelist{group} -\pgfmathrandomitem\z{group}\setcounter{antworti}{\z}\prunelist{group} +\ifthenelse{\numexpr#1 > 1}{\pgfmathrandomitem\z{group}\setcounter{antwortb}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 2}{\pgfmathrandomitem\z{group}\setcounter{antwortc}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 3}{\pgfmathrandomitem\z{group}\setcounter{antwortd}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 4}{\pgfmathrandomitem\z{group}\setcounter{antworte}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 5}{\pgfmathrandomitem\z{group}\setcounter{antwortf}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 6}{\pgfmathrandomitem\z{group}\setcounter{antwortg}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 7}{\pgfmathrandomitem\z{group}\setcounter{antworth}{\z}\prunelist{group}}{} +\ifthenelse{\numexpr#1 > 8}{\pgfmathrandomitem\z{group}\setcounter{antworti}{\z}\prunelist{group}}{} %\begin{minipage}{0.85\linewidth} \begin{tabu}{|A|c|c|}% |