summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/srdp-mathematik
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-11-10 22:18:51 +0000
committerKarl Berry <karl@freefriends.org>2018-11-10 22:18:51 +0000
commitf05f65c708e5ff321de0b1e6c25a7e50d41fe8a6 (patch)
treeddc38e275b84ff38b898e63c3ef3669ab0ccdbed /Master/texmf-dist/tex/latex/srdp-mathematik
parent2171135497f6825a5e7e421fc01bd0ac1aa2ca0e (diff)
srdp-mathematik (10nov18)
git-svn-id: svn://tug.org/texlive/trunk@49122 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/srdp-mathematik')
-rw-r--r--Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty153
1 files changed, 34 insertions, 119 deletions
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 4665995a14d..de2bc0bd598 100644
--- a/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty
+++ b/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}[1996/12/26]
-\ProvidesPackage{srdp-mathematik}[2018/10/11 v1.0 Standard-Schularbeitsformate]
+\ProvidesPackage{srdp-mathematik}[2018/11/10 v1.0 Standard-Schularbeitsformate]
\usepackage{color}
@@ -14,7 +14,6 @@
\usepackage{microtype}
\usepackage{menukeys}
\usepackage{pstricks-add}
-\usepackage{fancyhdr}
\usepackage{trimspaces}
\usepackage{colortbl}
\usepackage{chngcntr}
@@ -62,6 +61,7 @@
\newcounter{punkte}
+
%
%
%
@@ -77,6 +77,7 @@
\newcounter{marker}
\DeclareOption{solution_on}{\setcounter{Antworten}{1}}
\DeclareOption{solution_off}{\setcounter{Antworten}{0}}
+
\AtBeginDocument{\@ifpackagewith{mathematik}{solution_on}{
\AddToShipoutPictureBG{%
\AtPageUpperLeft{\color{red}\raisebox{-1.5cm}{%
@@ -88,13 +89,6 @@
\textsc{gen \forloop{marker}{0}{\themarker<12}{L\"osungen \hfill}}%
}}
}}{}}
-%\pagestyle{fancy}%
-%\let\oldheadrule\headrule%
-%\fancyhf{}%
-%\renewcommand{\headrule}{{\color{red}\oldheadrule}}%
-%\renewcommand{\footrule}{{\color{red}\oldheadrule}}%
-%\lfoot{\color{red}\textsc{L\"osungen \hfill L\"osungen \hfill L\"osungen \hfill L\"osungen \hfill L\"osungen \hfill L\"osungen \hfill L\"osungen \hfill L\"osungen}}%
-%\cfoot{\thepage}
\ProcessOptions\relax
@@ -125,9 +119,10 @@
-\newcommand{\meinlcr}[3]{\begin{minipage}[t]{0.32\textwidth}#1\end{minipage} \hfill
-\begin{minipage}[t]{0.32\linewidth} #2\end{minipage} \hfill
-\begin{minipage}[t]{0.32\linewidth}#3\end{minipage}}
+\newcommand{\meinlcr}[3]{\begin{minipage}[t]{0.32\textwidth}\vspace{0cm}
+#1\end{minipage}\hfill\begin{minipage}[t]{0.32\linewidth}\vspace{0cm}
+#2\end{minipage}\hfill\begin{minipage}[t]{0.32\linewidth}\vspace{0cm}
+#3\end{minipage}\leer}
\newcommand{\meinbild}[2]{\begin{minipage}{0.7\textwidth}#1\end{minipage} \hfill
\begin{minipage}{0.2\textwidth}#2\end{minipage}}
@@ -222,8 +217,8 @@
\newcommand{\vek}[1]{\overrightarrow{#1}}%
-\newcommand{\Vek}[3]{\left(\!\begin{array}{r}#1\\#2
-\ifthenelse{\equal{#3}{}}{}{\\#3}\end{array}\!\right)}
+\newcommand{\Vek}[3]{\left(\!\!\begin{array}{c}#1\\#2
+\ifthenelse{\equal{#3}{}}{}{\\#3}\end{array}\!\!\right)}
\newcommand{\textvek}[3]{\left(\!\begin{smallmatrix}#1\\#2
\ifthenelse{\equal{#3}{}}{}{\\#3}\end{smallmatrix}\!\right)}
@@ -258,32 +253,33 @@
%
\newcommand{\notenschluessel}[4]{
\vfill
-\STautoround{0}
-\begin{spreadtab}[\STsavecell\gut{b2} \STsavecell\befriedigend{c2} \STsavecell{\genuegend}{d2} \STsavecell{\nichtgenuegend}{e2} \STsavecell{\gutminuseins}{b3} \STsavecell{\befriedigendminuseins}{c3} \STsavecell{\genuegendminuseins}{d3}]{{tabular}{ccccc}}
- \SThidecol \thepunkte &\SThidecol 1 &\SThidecol 2 &\SThidecol 3 &\SThidecol 4 \\
- \SThiderow &a1*#1 &a1*#2 &a1*#3 &a1*#4 \\
- \SThiderow &b2-1 &c2-1 &d2-1 &\\
+\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 &\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) \\
+ &b3+1 &c3+1 &d3+1 &\\
+ &b3-1 &c3-1 &d3-1 &\\
\end{spreadtab}
\footnotesize
-\begin{center}
+\begin{center}\renewcommand{\arraystretch}{1}
\begin{tabular}{|C{3cm}C{3cm}C{3cm}C{3cm}C{3cm}|} \hline
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 ~ - \gut} & \scriptsize{\gutminuseins ~ - \befriedigend} & \scriptsize{\befriedigendminuseins ~ - \genuegend} & \scriptsize{\genuegendminuseins ~ - \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 ~ - \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
\end{tabular}
-\end{center}
-\STautoround{}
-}
+\end{center}\STautoround{}\normalsize}
-
-\newcommand{\notenschluesselneu}[4]{
+\newcommand{\notenschluesselop}[4]{
\vfill
-\STautoround{3}
+\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}]{{tabular}{ccccc}}
+\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) \\
@@ -291,44 +287,18 @@ Erreichte Punkte & Prozent & Gesamt & \multicolumn{2}{c|}{Note} \\
&b3-1 &c3-1 &d3-1 &\\
\end{spreadtab}
\footnotesize
-\begin{center}
+\begin{center}\renewcommand{\arraystretch}{1}
\begin{tabular}{|C{3cm}C{3cm}C{3cm}C{3cm}C{3cm}|} \hline
-Erreichte Punkte & Prozent & Gesamt & \multicolumn{2}{c|}{Note} \\
-&& \multirow{2}{*}{\thepunkte} && \\
+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
\end{tabular}
-\end{center}
-\STautoround{}
-}
+\end{center}\STautoround{}\normalsize}
+
+
-\newcommand{\notenschluesselop}[4]{
-\vfill
-\STautoround{0}
-\begin{spreadtab}[\STsavecell\gut{b2} \STsavecell\befriedigend{c2} \STsavecell{\genuegend}{d2} \STsavecell{\nichtgenuegend}{e2} \STsavecell{\gutminuseins}{b3} \STsavecell{\befriedigendminuseins}{c3} \STsavecell{\genuegendminuseins}{d3}]{{tabular}{ccccc}}
- \SThidecol \thepunkte &\SThidecol 1 &\SThidecol 2 &\SThidecol 3 &\SThidecol 4 \\
- \SThiderow &a1*#1 &a1*#2 &a1*#3 &a1*#4 \\
- \SThiderow &b2-1 &c2-1 &d2-1 &\\
-\end{spreadtab}
-\footnotesize
-\begin{center}
-\begin{tabular}{|C{3cm}C{3cm}C{3cm}C{3cm}C{3cm}|} \hline
-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 ~ - \gut} & \scriptsize{\gutminuseins ~ - \befriedigend} & \scriptsize{\befriedigendminuseins ~ - \genuegend} & \scriptsize{\genuegendminuseins ~ - \nichtgenuegend} & \scriptsize{unter \nichtgenuegend} \\ \hline
-\end{tabular}
-\end{center}
-\STautoround{}
-}
-%
-%
-%
-%
-%
-%
%
%%%%%%%%%%%%%%%%%% GAP DEFINITION
%
@@ -399,11 +369,6 @@ title1/.initial=,
%
%
%
-%
-%
-%
-%
-%
%%%%%%%%%%%%%%%%%%%%%%%%%% BEURTEILUNGSRASTER %%%%%%%%%%%%%%%%%%%%%%%%
%
%
@@ -554,15 +519,15 @@ a1+(#1) & (0.9-a2) \\
%
%
\newcommand\lueckentext[2][0]{Erg\"anze die Textl\"ucken im folgenden Satz durch Ankreuzen der jeweils
-richtigen Satzteile so, dass eine mathematisch korrekte Aussage
+richtigen Satzteile so, dass eine korrekte Aussage
entsteht! \vspace{0.3cm}
\bgroup \jeroen@set@keys{#2}
\jeroen@get{text}
\begin{spreadtab}[\STsavecell{\links}{b2}\STsavecell{\rechts}{c2}]{{tabular}{ccc}}
\SThidecol&\SThidecol 0.45& \SThidecol \\
- \SThiderow &b1+(#1) & (0.9-b2) \\
-\end{spreadtab}
+&b1+(#1) & (0.9-b2) \\
+\end{spreadtab}\vspace{0.5cm}
\begin{minipage}{1\linewidth}
\begin{minipage}[t][][b]{\links\linewidth} \vspace{0pt}
@@ -606,56 +571,6 @@ entsteht! \vspace{0.3cm}
%
%
%
-%%%%%%%%%%%%%%%%%%%% LUECKENTEXT (allgemein)
-\newcommand\allglueckentext[2][0]{Erg\"anze die Textl\"ucken im folgenden Satz durch Ankreuzen der jeweils
-richtigen Satzteile so, dass eine korrekte Aussage entsteht! \vspace{0.3cm}
-
-\bgroup \jeroen@set@keys{#2}
-\jeroen@get{text}
-\begin{spreadtab}[\STsavecell{\links}{b2}\STsavecell{\rechts}{c2}]{{tabular}{ccc}}
- \SThidecol&\SThidecol 0.45& \SThidecol \\
- \SThiderow &b1+(#1) & (0.9-b2) \\
-\end{spreadtab}
-
-\begin{minipage}{1\linewidth}
-\begin{minipage}[t][][b]{\links\linewidth} \vspace{0pt}
-\flushright
-\tabulinesep=3mm
-\pgfmathsetseed{\theZufall}
-\declarenumlist{group}{1}{3}
-\pgfmathrandomitem\z{group}\setcounter{antworta}{\z}\prunelist{group}
-\pgfmathrandomitem\z{group}\setcounter{antwortb}{\z}\prunelist{group}
-\pgfmathrandomitem\z{group}\setcounter{antwortc}{\z}\prunelist{group}
-\begin{tabu}{|M|c|}
-\hline
-\multicolumn{2}{|c|}{\large{\textcircled{\normalsize{1}}}} \\\hline
-\jeroen@get{L\theantworta} \vphantom{\"Ag}& \ifthenelse{\theAntworten=1 \AND \jeroen@get{A1}=\theantworta}{\color[rgb]{1,0,0}\XBox \color[rgb]{0,0,0}}{\Square} \\ \hline
-\jeroen@get{L\theantwortb} \vphantom{\"Ag}& \ifthenelse{\theAntworten=1 \AND \jeroen@get{A1}=\theantwortb}{\color[rgb]{1,0,0}\XBox \color[rgb]{0,0,0}}{\Square} \\\hline
-\jeroen@get{L\theantwortc} \vphantom{\"Ag}& \ifthenelse{\theAntworten=1 \AND \jeroen@get{A1}=\theantwortc}{\color[rgb]{1,0,0}\XBox \color[rgb]{0,0,0}}{\Square} \\\hline
-\end{tabu}
-\end{minipage}\hfill\begin{minipage}[t][][b]{\rechts\linewidth}\vspace{0pt}
-\flushleft\
-\tabulinesep=3mm
-\declarenumlist{group}{1}{3}
-\pgfmathrandomitem\z{group}\setcounter{antworta}{\z}\prunelist{group}
-\pgfmathrandomitem\z{group}\setcounter{antwortb}{\z}\prunelist{group}
-\pgfmathrandomitem\z{group}\setcounter{antwortc}{\z}\prunelist{group}
-\begin{tabu}{|M|c|}
-\hline
-\multicolumn{2}{|c|}{\large{\textcircled{\normalsize{2}}}}\\\hline
-\jeroen@get{R\theantworta}\vphantom{\"Ag}& \ifthenelse{\theAntworten=1 \AND \jeroen@get{A2}=\theantworta}{\color[rgb]{1,0,0}\XBox \color[rgb]{0,0,0}}{\Square} \\\hline
-\jeroen@get{R\theantwortb}\vphantom{\"Ag}&\ifthenelse{\theAntworten=1 \AND \jeroen@get{A2}=\theantwortb}{\color[rgb]{1,0,0}\XBox \color[rgb]{0,0,0}}{\Square}\\ \hline
-\jeroen@get{R\theantwortc}\vphantom{\"Ag}&\ifthenelse{\theAntworten=1 \AND \jeroen@get{A2}=\theantwortc}{\color[rgb]{1,0,0}\XBox \color[rgb]{0,0,0}}{\Square}\\ \hline
-\end{tabu}
-\end{minipage}
-\end{minipage}\leer
-
-\setcounter{A1}{\jeroen@get{A1}}
-\setcounter{A2}{\jeroen@get{A2}}
-\setcounter{gap}{1}
-\egroup}
-
-
%%%%%%%%%%%%%%%%LUECKENTEXT (English)
%
%
@@ -669,7 +584,7 @@ Complete the following sentence by putting a cross next to one of the given poss
\begin{spreadtab}[\STsavecell{\links}{b2}\STsavecell{\rechts}{c2}]{{tabular}{ccc}}
\SThidecol&\SThidecol 0.45& \SThidecol \\
\SThiderow &b1+(#1) & (0.9-b2) \\
-\end{spreadtab}
+\end{spreadtab}\vspace{0.5cm}
\begin{minipage}{1\linewidth}
\begin{minipage}[t][][b]{\links\linewidth} \vspace{0pt}