From 1893c64383b19ee50176ff757d31d519b5a38dbc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 22 Dec 2021 21:19:16 +0000 Subject: srdp-mathematik (22dec21) git-svn-id: svn://tug.org/texlive/trunk@61382 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/srdp-mathematik/README.txt | 4 +-- .../doc/latex/srdp-mathematik/srdp-mathematik.pdf | Bin 176907 -> 176798 bytes .../doc/latex/srdp-mathematik/srdp-mathematik.tex | 6 ++-- .../tex/latex/srdp-mathematik/srdp-mathematik.sty | 39 ++++++++++++++++----- 4 files changed, 35 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt b/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt index 28ce8099a11..def139a7510 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.2 + v1.9.3 - 2021/11/09 + 2021/12/22 ___________________________________ 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 a473b83aa74..68a8b1f849b 100644 Binary files a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf and b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf 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 321fe903004..5da57f45332 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.2\\[1cm] +\Huge The \textit{srdp-mathematik} package v1.9.3\\[1cm] Documentation \\ [1cm] @@ -68,7 +68,7 @@ Documentation \\ [1cm] \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 @@ Die Option 2 \texttt{[prozent]} ergänzt die erste Zeile des Notenschlüssel mit \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} 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 9b9226b916f..2db76e9e25a 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}[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 + +\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 -\NewEnviron{beispiel}[2][\unskip]{\begin{minipage}[t]{0.88\textwidth} +\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}} % % % -- cgit v1.2.3