From 333540a9182285f9d72d7d39be3fa730c135d664 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 6 Apr 2022 03:01:01 +0000 Subject: CTAN sync 202204060301 --- macros/latex/contrib/srdp-mathematik/README.md | 20 +++++ macros/latex/contrib/srdp-mathematik/README.txt | 28 ------- .../contrib/srdp-mathematik/srdp-mathematik.pdf | Bin 178836 -> 175330 bytes .../contrib/srdp-mathematik/srdp-mathematik.sty | 17 ++++- .../contrib/srdp-mathematik/srdp-mathematik.tex | 82 ++++++++++++++++----- 5 files changed, 100 insertions(+), 47 deletions(-) create mode 100644 macros/latex/contrib/srdp-mathematik/README.md delete mode 100644 macros/latex/contrib/srdp-mathematik/README.txt (limited to 'macros/latex/contrib/srdp-mathematik') diff --git a/macros/latex/contrib/srdp-mathematik/README.md b/macros/latex/contrib/srdp-mathematik/README.md new file mode 100644 index 0000000000..be20314ea2 --- /dev/null +++ b/macros/latex/contrib/srdp-mathematik/README.md @@ -0,0 +1,20 @@ +# srdp-mathematik.sty v1.9.6 + +This package provides basic commands for the defined formats of the Austrian sRDP in mathematics. +Furthermore, it includes ways to implement answers in the tex file, which can be voluntarily displayed in the pdf file and +it offers a way of varying the answers in order to create different groups (e.g. for tests) easily. + +---------------------------------------------------------------------- + +Dieses Paket bietet grundlegende Befehle für die vorgegebenen Formate der österreichischen, standardisierten +Reife- und Diplomprüfung (sRDP) in Mathematik. +Es bietet darüber hinaus die Möglichkeit, Antworten in die tex Datei zu implentieren und diese bei Bedarf in der pdf Datei anzuzeigen. +Außerdem können die eingegeben Antwortmöglichkeiten variiert werden, um mehrere Gruppe für zum Beispiel Schularbeiten einfach zu erstellen. + +---------------------------------------------------------------------- + +Maintainer: Christoph Weberndorfer + + + + diff --git a/macros/latex/contrib/srdp-mathematik/README.txt b/macros/latex/contrib/srdp-mathematik/README.txt deleted file mode 100644 index 5ebd2ac109..0000000000 --- a/macros/latex/contrib/srdp-mathematik/README.txt +++ /dev/null @@ -1,28 +0,0 @@ -__________________________________ - - The - srdp-mathematik package - v1.9.5 - - 2022/03/04 -___________________________________ - -Maintainer: Christoph Weberndorfer -E-mail : c.weberndorfer@gmail.com - Comments, bug reports and suggestions are welcome. -Licence : Released under the LaTeX Project Public License 1.3c or - later, see http://www.latex-project.org/lppl.txt - ----------------------------------------------------------------------- - -This package provides basic commands for the defined formats of the Austrian sRDP in mathematics. -Furthermore, it includes ways to implement answers in the tex file, which can be voluntarily displayed in the pdf file and -it offers a way of varying the answers in order to create different groups (e.g. for tests) easily. - ----------------------------------------------------------------------- - -Dieses Paket bietet grundlegende Befehle für die vorgegebenen Formate der österreichischen, standardisierten -Reife- und Diplomprüfung (sRDP) in Mathematik. -Es bietet darüber hinaus die Möglichkeit, Antworten in die tex Datei zu implentieren und diese bei Bedarf in der pdf Datei anzuzeigen. -Außerdem können die eingegeben Antwortmöglichkeiten variiert werden, um mehrere Gruppe für zum Beispiel Schularbeiten einfach zu erstellen. - diff --git a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.pdf b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.pdf index c2dff7ff86..c9bada9a13 100644 Binary files a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.pdf and b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.pdf differ diff --git a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.sty b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.sty index 4209fa9c14..1b1bbde374 100644 --- a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.sty +++ b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.sty @@ -10,7 +10,7 @@ % \NeedsTeXFormat{LaTeX2e}[1996/12/26] -\ProvidesPackage{srdp-mathematik}[2022/03/04 v1.9.5 Standard-Schularbeitsformate] +\ProvidesPackage{srdp-mathematik}[2022/04/05 v1.9.6 Standard-Schularbeitsformate] \usepackage{color} @@ -129,6 +129,18 @@ }}}}}}}}} +\ExplSyntaxOn +\NewDocumentCommand{\stringprocess}{ m m } +{\egreg_string_process:nn{#1}{#2}} +\cs_new_protected:Npn \egreg_string_process:nn#1#2 +{\tl_map_inline:nn{#2}{#1{##1}}} +\ExplSyntaxOff + +\newcommand{\boxchar}[2]{\strut#2#1} +\newcommand{\stretchstring}[2][\ \ ]{\stringprocess{\boxchar{#1}}{#2}} + + + \newcommand{\antwort}[2][]{\ifthenelse{\theAntworten=1}{{\color[rgb]{1,0,0}#2}}{#1}} \newcommand{\info}[2][]{\ifthenelse{\theinfo=1}{ @@ -141,9 +153,10 @@ \ifthenelse{\theAntworten=1}{\switchon}{} + \def\antwortzeile #1\\{% \ifswitch% -{\color[rgb]{1,0,0}#1}\\ +\color[rgb]{1,0,0}#1\\ \fi% } diff --git a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.tex b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.tex index ece0c2195a..5e4ef530bc 100644 --- a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.tex +++ b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.tex @@ -55,7 +55,7 @@ hidelinks \vfill -\Huge The \textit{srdp-mathematik} package v1.9.5\\[1cm] +\Huge The \textit{srdp-mathematik} package v1.9.6\\[1cm] Documentation \\ [1cm] @@ -235,29 +235,24 @@ Die Option 3 \texttt{ms} ermöglicht die Darstellung des Notenschlüssels entspr %\textsc{Ausgabe:} %\notenschluessel[1/2]{0.91}{0.8}{0.64}{0.5} -\subsubsection{\texttt{\textbackslash beurteilungsraster}} +\subsubsection{\texttt{\textbackslash beurteilung}} -Der Befehl \texttt{beurteilungsraster} entspricht der aktuellen Vorgabe der Beurteilung der standardisierten Reifeprüfung (Stand 2019). Dabei müssen die Punkte für Teil 1, Ausgleichspunkte und Teil 2 angegeben werden. Die in Klammer angegebenen Werte entsprechen der bei der Reifeprüfung verwendeten prozentuellen Notenverteilung, können jedoch jederzeit verändert werden. \leer +Der Befehl \texttt{\textbackslash beurteilung} ist ein für Schularbeiten angepasstes Beurteilungsschema der standardisierten Reifeprüfung und ist für das Deckblatt der Schularbeit vorgesehen. Dabei müssen die Punkte für Teil 1 und Teil 2 angegeben werden. Die in Klammer angegebenen Werte entsprechen der empfohlenen prozentuellen Notenverteilung, die jedoch jederzeit individuell angepasst werden können. \leer \textsc{Eingabe:} \begin{verbatim} -\beurteilungsraster{0.85}{0.68}{0.5}{1/3}{ % Prozentschluessel - T1={24}, % Punkte im Teil 1 - AP={4}, % Ausgleichspunkte aus Teil 2 - T2={20}, % Punkte im Teil 2 - } +\beurteilung{0.875}{0.75}{0.625}{1/2}{ % Prozentschluessel + T1={16}, % Punkte im Teil 1 + T2={8}, % Punkte im Teil 2 + } \end{verbatim} \textsc{Ausgabe:}\leer -siehe nächste Seite \newpage - - -\beurteilungsraster{0.85}{0.68}{0.5}{1/3}{ % Prozentschluessel - T1={24}, % Punkte im Teil 1 - AP={4}, % Ausgleichspunkte aus Teil 2 - T2={20}, % Punkte im Teil 2 +\beurteilung{0.875}{0.75}{0.625}{1/2}{ % Prozentschluessel + T1={16}, % Punkte im Teil 1 + T2={8}, % Punkte im Teil 2 } \newpage @@ -312,6 +307,20 @@ wird.] {Dies ist die notwendige Eingabe und wird in rot angezeigt und nur wenn \texttt{'solution\_on'} eingestellt ist.} +\subsubsection{\texttt{\textbackslash antwortzeile}} +In manchen Fällen ist es notwendig, dass ganze Zeilen einer Tabelle als Lösung ein- und ausgeblendet werden können. Zu diesem Zweck kann der Befehl \texttt{\textbackslash antwortzeile} verwendet werden.\leer + +\textsc{Eingabe:} + +\begin{verbatim} +\begin{tabular}{c|c} +$x$ & $f(x)$ \\ \hline +0 & 2 \\ +2 & 4 \\ +\antwortzeile 4 & 16 \\ +\end{tabular} +\end{verbatim} + \subsection{Paketoption -- Erstellung von Gruppen: \texttt{[random=0,1,2,\ldots]}} Das \texttt{srdp-mathematik}-Paket ermöglicht auch die automatische Erstellung von Gruppen für Schularbeiten, durch Vertauschung der Antwortmöglichkeiten aller Typ-1-Aufgaben. Dazu kann die \texttt{random}-Option im \texttt{srdp-mathematik}-Paket eingebunden geladen werden. Also: @@ -469,6 +478,47 @@ Der Winkel Alpha ist 30\degre. ($\alpha = 30 \degre$) Der Winkel Alpha ist 30\degre. ($\alpha = 30 \degre$) +\subsubsection{\texttt{\textbackslash stretchstring}} +Der Befehl \texttt{\textbackslash stretchstring} erleichtert es, einen Text (oder Zahlen) durch Leerzeichen zu trennen, um etwa Rechnungen auf Arbeitsblättern zum Ausfüllen zu erstellen. + +\textsc{Eingabe:} +\begin{verbatim} +\begin{tabular}{r} +\stretchstring{35}\\ +\stretchstring{724}\\ +\stretchstring{28}\\ +\stretchstring{436}\\ \hline +\stretchstring{1223}\\ +\end{tabular} +\end{verbatim} + +\textsc{Ausgabe:}\\ +\begin{tabular}{r} +\stretchstring{35}\\ +\stretchstring{724}\\ +\stretchstring{28}\\ +\stretchstring{436}\\ \hline +\stretchstring{1223}\\ +\end{tabular}\leer + +Es ist außerdem möglich, den Abstand zwischen den Zeichen individuell anzugeben.\leer + +\textsc{Eingabe:} +\begin{verbatim} +\stretchstring[\,]{4126} + +\stretchstring[\quad]{4126} + +\stretchstring[\hspace{2cm}]{4126} +\end{verbatim} + +\textsc{Ausgabe:}\\ +\stretchstring[\,]{4126} + +\stretchstring[\quad]{4126} + +\stretchstring[\hspace{2cm}]{4126} + \section{Typ-1-Aufgaben} Das \texttt{srdp-mathematik}-Paket ermöglicht die Verwendung vorgefertigter Aufgabenformate, die bei der österreichischen, standardisierten Reifeprüfung Anwendung finden. @@ -635,8 +685,6 @@ Wichtig zu erwähnen ist dabei, dass ausschließlich die Zahl in eckigen Klammer } -\newpage - Die Eingabe in eckiger Klammer ist dabei optional. Wird sie nicht angegeben, wird der Standard von 5 angenommen. \leer -- cgit v1.2.3