texlive[61382] Master/texmf-dist: srdp-mathematik (22dec21)

commits+karl at tug.org commits+karl at tug.org
Wed Dec 22 22:19:16 CET 2021


Revision: 61382
          http://tug.org/svn/texlive?view=revision&revision=61382
Author:   karl
Date:     2021-12-22 22:19:16 +0100 (Wed, 22 Dec 2021)
Log Message:
-----------
srdp-mathematik (22dec21)

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	2021-12-22 21:19:02 UTC (rev 61381)
+++ trunk/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt	2021-12-22 21:19:16 UTC (rev 61382)
@@ -2,9 +2,9 @@
 
                 The
           srdp-mathematik package
-               v1.9.2
+               v1.9.3
 
-            2021/11/09
+            2021/12/22
 ___________________________________
 
 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	2021-12-22 21:19:02 UTC (rev 61381)
+++ trunk/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex	2021-12-22 21:19:16 UTC (rev 61382)
@@ -55,7 +55,7 @@
 
 \vfill
 
-\Huge The \textit{srdp-mathematik} package v1.9.2\\[1cm]
+\Huge The \textit{srdp-mathematik} package v1.9.3\\[1cm]
 
 Documentation \\ [1cm]
 
@@ -68,7 +68,7 @@
 
 \centering
 \normalsize 
-Befehle und Unterstützung zur Erstellung von Beispielformaten im Rahmen der standardisierten schriftlichen Reife und Diplomprüfung (sRDP) in Mathematik, gemäß den Vorlagen des Bundesministeriums für Bildung, Wissenschaft und Forschung (bmbwf). 
+Befehle und Unterstützung zur Erstellung von Beispielformaten im Rahmen der standardisierten schriftlichen Reife- und Diplomprüfung (sRDP) in Mathematik, gemäß den Vorlagen des Bundesministeriums für Bildung, Wissenschaft und Forschung (bmbwf). 
 \vfill 
 
 \begingroup
@@ -202,7 +202,7 @@
 
 \subsubsection*{\texttt{\textbackslash notenschluessel} -- Option 3: Standard der Mittelschule}
 
-Die option 3 \texttt{ms} ermöglicht die Darstellung des Notenschlüssels entsprechend des Standards der Mittelschule.
+Die Option 3 \texttt{ms} ermöglicht die Darstellung des Notenschlüssels entsprechend des Standards der Mittelschule.
 
 \textsc{Eingabe:}
 \begin{verbatim}

Modified: trunk/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty	2021-12-22 21:19:02 UTC (rev 61381)
+++ trunk/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty	2021-12-22 21:19:16 UTC (rev 61382)
@@ -10,7 +10,7 @@
 %
 
 \NeedsTeXFormat{LaTeX2e}[1996/12/26]
-\ProvidesPackage{srdp-mathematik}[2021/11/09 v1.9.2 Standard-Schularbeitsformate]
+\ProvidesPackage{srdp-mathematik}[2021/12/22 v1.9.3 Standard-Schularbeitsformate]
 
 
 \usepackage{color}
@@ -116,10 +116,10 @@
 
 \ProcessOptions\relax
 
-\newcommand{\antwort}[2][]{\ifthenelse{\theAntworten=1}{\color[rgb]{1,0,0}#2\color[rgb]{0,0,0}}{#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}\color[rgb]{0,0,0}
+{\color[rgb]{0,0,1}#2}
 }{#1}}
 
 
@@ -169,10 +169,29 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \newcounter{number}
+\newcommand*\rfrac[2]{{}^{#1}\!/_{#2}}
 
 \makeatletter
+\def\addifisinteger#1{%
+  \sbox\z@{\@tempcnta=0#1\relax}%
+  \expandafter\ifdim\wd\z@>\z@\relax
+  {}\else
+  \addtocounter{punkte}{#1}\fi}
+\makeatother
 
-\NewEnviron{beispiel}[2][\unskip]{\begin{minipage}[t]{0.88\textwidth}
+\makeatletter
+\def\checkifinteger#1#2{%
+  \sbox\z@{\@tempcnta=0#1\relax}%
+  \expandafter\ifdim\wd\z@>\z@\relax
+  \scriptsize$\rfrac{#2}{2}$\small\else#1\fi}
+\makeatother
+
+\makeatletter
+
+\NewEnviron{beispiel}[2][\unskip]{\renewcommand{\arraystretch}{0}\tiny%
+\begin{spreadtab}[\STsavecell\halbepunkte{a1} \STsavecell\halbepunktetrunc{b1}]{{tabular}{ccc}}\SThidecol#2/2&\SThidecol trunc(a1,0)\\\end{spreadtab}\normalsize\renewcommand{\arraystretch}{1}%
+
+\begin{minipage}[t]{0.88\textwidth}
 	\addtocounter{number}{1}
 	\begin{enumerate}
 		\item[\thenumber.] {\BODY}
@@ -180,17 +199,19 @@
 	
 	
 	\end{minipage} 
-	\begin{minipage}[t]{0.1\textwidth} \raggedleft \small{\_\_\_/#2\addtocounter{punkte}{#2}\\\ifthenelse{\equal{#1}{\string 1/2}}
-		{$\left[{}^1{\mskip -5mu/\mskip -3mu}_2\right]$}
-		{\antwort{\footnotesize #1 \normalsize}}}
+	\begin{minipage}[t]{0.11\textwidth} \raggedleft \small{\_\_\_/\ifthenelse{\equal{#1}{\string 1/2}}{\checkifinteger{\halbepunkte}{#2}/}{\ifthenelse{\equal{#1}{\string 1}}{1/}{}}#2\addifisinteger{#2}\\
+		\ifthenelse{\equal{#1}{\string 1/2}}{}{\antwort{\footnotesize #1 \normalsize}}}
 	\end{minipage}
 	\vspace{\baselineskip}
 	
 	}
+% \scriptsize$\rfrac{1}{2}$\small
+%\ifthenelse{\equal{#1}{\string 1/2}}
+%{$\left[{}^1{\mskip -5mu/\mskip -3mu}_2\right]$}
 
+% \newcommand{\pkte}[2][]{\hfill[0\,/\,\ifthenelse{\equal{#1}{\string 1/2}}{${}^1{\mskip -5mu/\mskip -3mu}_2$\,/\,}{}#2]}
 
-\newcommand{\pkte}[2][]{\hfill[0\,/\,\ifthenelse{\equal{#1}{\string 1/2}}{${}^1{\mskip -5mu/\mskip -3mu}_2$\,/\,}{}#2]}
-
+\newcommand{\defgesamtpunkte}[1]{\setcounter{punkte}{#1}}
 %
 %
 %



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