texlive[61482] Master/texmf-dist: srdp-mathematik (3jan22)
commits+karl at tug.org
commits+karl at tug.org
Mon Jan 3 22:00:37 CET 2022
Revision: 61482
http://tug.org/svn/texlive?view=revision&revision=61482
Author: karl
Date: 2022-01-03 22:00:37 +0100 (Mon, 03 Jan 2022)
Log Message:
-----------
srdp-mathematik (3jan22)
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-01-03 21:00:22 UTC (rev 61481)
+++ trunk/Master/texmf-dist/doc/latex/srdp-mathematik/README.txt 2022-01-03 21:00:37 UTC (rev 61482)
@@ -2,9 +2,9 @@
The
srdp-mathematik package
- v1.9.3
+ v1.9.4
- 2021/12/22
+ 2022/01/02
___________________________________
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-01-03 21:00:22 UTC (rev 61481)
+++ trunk/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex 2022-01-03 21:00:37 UTC (rev 61482)
@@ -55,7 +55,7 @@
\vfill
-\Huge The \textit{srdp-mathematik} package v1.9.3\\[1cm]
+\Huge The \textit{srdp-mathematik} package v1.9.4\\[1cm]
Documentation \\ [1cm]
Modified: trunk/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty 2022-01-03 21:00:22 UTC (rev 61481)
+++ trunk/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty 2022-01-03 21:00:37 UTC (rev 61482)
@@ -10,7 +10,7 @@
%
\NeedsTeXFormat{LaTeX2e}[1996/12/26]
-\ProvidesPackage{srdp-mathematik}[2021/12/22 v1.9.3 Standard-Schularbeitsformate]
+\ProvidesPackage{srdp-mathematik}[2022/01/02 v1.9.4 Standard-Schularbeitsformate]
\usepackage{color}
@@ -22,7 +22,6 @@
\usepackage{pdflscape}
\usepackage{varwidth}
\usepackage{wasysym}
-% \usepackage{microtype}
\usepackage{pstricks-add}
\usepackage{trimspaces}
\usepackage{colortbl}
@@ -186,12 +185,8 @@
\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}
+\NewEnviron{beispiel}[2][\unskip]{\FPeval{\halbepunkte}{clip(#2/2)}%
+ \begin{minipage}[t]{0.88\textwidth}
\addtocounter{number}{1}
\begin{enumerate}
\item[\thenumber.] {\BODY}
@@ -205,12 +200,7 @@
\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{\defgesamtpunkte}[1]{\setcounter{punkte}{#1}}
%
%
@@ -363,6 +353,27 @@
\end{tabular}
\end{center}\STautoround{}\normalsize}
+
+
+\NewDocumentCommand{\punkteverteilung}{ O{} O{} O{} m m m m}{
+\null\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*#4 &a1*#5 & a1*#6 & a1*#7 \\
+ &trunc(a1*#4,0) & trunc(a1*#5,0) &trunc(a1*#6,0) &trunc(a1*#7,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}
+\begin{tabular}{|C{3cm}C{3cm}C{3cm}C{3cm}C{3cm}|}\hline
+\ifthenelse{\equal{#3}{ms}}{}{\scriptsize{Sehr gut}} & \ifthenelse{\equal{#3}{ms}}{}{\scriptsize{Gut}} & \scriptsize{Befriedigend} & \scriptsize{Gen\"ugend} & \scriptsize{Nicht gen\"ugend} \\
+\ifthenelse{\equal{#3}{ms}}{}{\scriptsize{\thepunkte ~ - \ifdim\gut pt=\gutgenau pt \gut\else\gutpluseins\fi}}& \ifthenelse{\equal{#3}{ms}}{}{\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}
% for legacy reason
\newcommand{\notenschluesselop}[5][1]{\notenschluessel[#1]{#2}{#3}{#4}{#5}}
%%%%%%%%%%%%%%%%%
@@ -443,7 +454,32 @@
%
\newcounter{teileins}
\newcounter{ausgleichspkte}
-\newcounter{teilzwei}
+\newcounter{teilzwei}
+
+
+\newcommand{\beurteilung}[5]{
+\bgroup
+\jeroen at set@keys{#5}%
+\setcounter{teileins}{\jeroen at get{T1}}%
+\setcounter{teilzwei}{\jeroen at get{T2}}%
+\FPeval{total}{clip(\jeroen at get{T1}+\jeroen at get{T2})}%
+
+\begin{center}
+\renewcommand{\arraystretch}{1.5}
+\begin{tabular}{p{5cm}p{4cm}l}
+&Punkte&davon erreicht\\ \hline
+Teil 1&\jeroen at get{T1}&\\\hline
+Teil 2 &\jeroen at get{T2} &\\\hline
+& $\Sigma= \total$ & \\\hline
+\end{tabular}\vspace{1.5cm}
+
+Beurteilung: \rule{10.5cm}{0.4pt}
+\end{center}
+
+\defgesamtpunkte{\total}\punkteverteilung[1/2]{#1}{#2}{#3}{#4}\defgesamtpunkte{0}
+\egroup
+}
+
\newcommand{\beurteilungsraster}[5]{
\bgroup
\jeroen at set@keys{#5}
More information about the tex-live-commits
mailing list.