summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/latex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/schule/latex')
-rw-r--r--macros/latex/contrib/schule/latex/relaycircuit.sty20
-rw-r--r--macros/latex/contrib/schule/latex/schule.fach.Physik.code.tex12
-rw-r--r--macros/latex/contrib/schule/latex/schule.fach.Physik.pakete.tex5
-rw-r--r--macros/latex/contrib/schule/latex/schule.mod.Aufgaben.pakete.tex2
-rw-r--r--macros/latex/contrib/schule/latex/schule.mod.Bewertung.code.tex142
-rw-r--r--macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex7
-rw-r--r--macros/latex/contrib/schule/latex/schule.mod.Format.code.tex2
-rw-r--r--macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex6
-rw-r--r--macros/latex/contrib/schule/latex/schule.mod.Lizenzen.pakete.tex21
-rw-r--r--macros/latex/contrib/schule/latex/schule.sty6
-rw-r--r--macros/latex/contrib/schule/latex/schulphy.sty20
11 files changed, 150 insertions, 93 deletions
diff --git a/macros/latex/contrib/schule/latex/relaycircuit.sty b/macros/latex/contrib/schule/latex/relaycircuit.sty
index 991e80800d..7976d64fd9 100644
--- a/macros/latex/contrib/schule/latex/relaycircuit.sty
+++ b/macros/latex/contrib/schule/latex/relaycircuit.sty
@@ -12,7 +12,7 @@
% Einbinden der geforderten Pakete
% \begin{macrocode}
\RequirePackage{tikz}
-\RequirePackage[siunitx,european]{circuitikz}
+\RequirePackage[siunitx,european,nooldvoltagedirection]{circuitikz}
\usetikzlibrary{arrows,shadows,shapes.misc,scopes}
% \end{macrocode}
%
@@ -46,11 +46,11 @@
\anchor{center}{
\northwest
\pgf@y=0pt
- \pgf@x=-.8\pgf@x
+ \pgf@x=-.8\pgf@x
}
\anchor{east}{
\left
- \pgf@x=-.8\pgf@x
+ \pgf@x=-.8\pgf@x
}
\anchor{west}{
\left
@@ -100,12 +100,12 @@
\pgfusepath{stroke}
- \pgfsetdash{{2pt}{2pt}}{1pt}
+ \pgfsetdash{{2pt}{2pt}}{1pt}
\pgfpathmoveto{\pgfpoint{-0.7cm}{0cm}}
\pgfpathlineto{\pgfpoint{0.65cm}{0cm}}
\pgfusepath{stroke}
- \pgfsetdash{}{0pt}
+ \pgfsetdash{}{0pt}
\pgfusepath{draw}
@@ -113,7 +113,7 @@
\pgfsetlinewidth{2\pgflinewidth}
\pgfpathrectanglecorners{\pgfpoint{1cm}{0.5cm}%
}{\pgfpoint{-1cm}{-0.5cm}}
-
+
\pgfusepath{draw}
\pgftext[base,y=-0.4cm]{RK}
@@ -121,7 +121,7 @@
}
\pgfdeclareshape{arbeits relais}{
- \inheritsavedanchors[from=ruhe relais]
+ \inheritsavedanchors[from=ruhe relais]
\inheritanchor[from=ruhe relais]{center}
\inheritanchor[from=ruhe relais]{north}
\inheritanchor[from=ruhe relais]{south}
@@ -154,12 +154,12 @@
\pgfusepath{stroke}
- \pgfsetdash{{2pt}{2pt}}{1pt}
+ \pgfsetdash{{2pt}{2pt}}{1pt}
\pgfpathmoveto{\pgfpoint{-0.7cm}{0cm}}
\pgfpathlineto{\pgfpoint{0.825cm}{0cm}}
\pgfusepath{stroke}
- \pgfsetdash{}{0pt}
+ \pgfsetdash{}{0pt}
\pgfusepath{draw}
@@ -167,7 +167,7 @@
\pgfsetlinewidth{2\pgflinewidth}
\pgfpathrectanglecorners{\pgfpoint{1cm}{0.5cm}}%
{\pgfpoint{-1cm}{-0.5cm}}
-
+
\pgfusepath{draw}
\pgftext[base,y=-0.4cm]{AK}
diff --git a/macros/latex/contrib/schule/latex/schule.fach.Physik.code.tex b/macros/latex/contrib/schule/latex/schule.fach.Physik.code.tex
new file mode 100644
index 0000000000..ce7e487a62
--- /dev/null
+++ b/macros/latex/contrib/schule/latex/schule.fach.Physik.code.tex
@@ -0,0 +1,12 @@
+% ********************************************************************
+% Physik *
+% ********************************************************************
+
+% Konstanten
+% ********************************************************************
+
+\newcommand{\elementarladung}{\unit[1,602 \cdot 10^{-19}]{C}}
+\newcommand{\plankscheEV}{\unit[4,1357 \cdot 10^{-15}]{eVs}}
+\newcommand{\plankscheJ}{\unit[6,626 \cdot 10^{-34}]{Js}}
+\newcommand{\elektronenmasse}{\unit[9,109 \cdot 10^{-31}]{kg}}
+\newcommand{\protonenmasse}{\unit[1,673 \cdot 10^{-27}]{kg}} \ No newline at end of file
diff --git a/macros/latex/contrib/schule/latex/schule.fach.Physik.pakete.tex b/macros/latex/contrib/schule/latex/schule.fach.Physik.pakete.tex
index b7dd4ce4d4..bfd8b93c50 100644
--- a/macros/latex/contrib/schule/latex/schule.fach.Physik.pakete.tex
+++ b/macros/latex/contrib/schule/latex/schule.fach.Physik.pakete.tex
@@ -1,6 +1,7 @@
% ********************************************************************
% Physik *
% ********************************************************************
+\RequirePackage[siunitx,european,nooldvoltagedirection]{circuitikz}
\RequirePackage{units}
-\RequirePackage{circuitikz}
-\RequirePackage[version=3]{mhchem} \ No newline at end of file
+\RequirePackage[version=3]{mhchem}
+\RequirePackage{ziffer} \ No newline at end of file
diff --git a/macros/latex/contrib/schule/latex/schule.mod.Aufgaben.pakete.tex b/macros/latex/contrib/schule/latex/schule.mod.Aufgaben.pakete.tex
index 23601ca2af..ffcbf5678a 100644
--- a/macros/latex/contrib/schule/latex/schule.mod.Aufgaben.pakete.tex
+++ b/macros/latex/contrib/schule/latex/schule.mod.Aufgaben.pakete.tex
@@ -1,5 +1,5 @@
% Aufgaben
-\RequirePackage[verbose,clear-aux]{xsim}%verbose für entwicklung, %final,clear-aux
+\RequirePackage[verbose,clear-aux,use-files]{xsim}%verbose für entwicklung, %final,clear-aux
\RequirePackage{tcolorbox}
% Symbole
\RequirePackage{utfsym} \ No newline at end of file
diff --git a/macros/latex/contrib/schule/latex/schule.mod.Bewertung.code.tex b/macros/latex/contrib/schule/latex/schule.mod.Bewertung.code.tex
index 8952476786..ef906573a3 100644
--- a/macros/latex/contrib/schule/latex/schule.mod.Bewertung.code.tex
+++ b/macros/latex/contrib/schule/latex/schule.mod.Bewertung.code.tex
@@ -138,8 +138,8 @@
\begin{longtable}{|p{.65\linewidth}|r|r|}\hline
% Kopfzeile
\rowcolor{black!20}
- \textbf{Die Schülerin/der Schüler\dots} &
- \textbf{max. Punkte} &
+ \textbf{Die~Schülerin/der~Schüler\dots} &
+ \textbf{max.~Punkte} &
\textbf{erreicht}% %%
\tabularnewline\specialrule{.1em}{0em}{0em} %
% Erwartungen
@@ -409,63 +409,87 @@
\end{tabular}
}
}{
- % Ohne Notenpunkte
- % ----------------------------------------------------------------
- \parbox{.24\linewidth}{
- \tiny
- \begin{tabular}{|p{0.6\linewidth}|r|r|}\hline
- \rowcolor{black!20}\textbf{Note} &
- \textbf{$\ge$ P.}
- \\\hline
- sehr gut plus & $\schule@punkteZuNote{15}$\\\hline
- \rowcolor{black!10}
- sehr gut & $\schule@punkteZuNote{14}$\\\hline
- sehr gut minus & $\schule@punkteZuNote{13}$\\\hline
- \rowcolor{black!10}
- gut plus & $\schule@punkteZuNote{12}$\\\hline
- \end{tabular}
- }
- \parbox{.24\linewidth}{
- \tiny
- \begin{tabular}{|p{0.6\linewidth}|r|r|}\hline
- \rowcolor{black!20}\textbf{Note} &
- \textbf{$\ge$ P.}
- \\\hline
- gut & $\schule@punkteZuNote{11}$\\\hline
- \rowcolor{black!10}
- gut minus & $\schule@punkteZuNote{10}$ \\\hline
- befriedigend plus & $\schule@punkteZuNote{9}$\\\hline
- \rowcolor{black!10}
- befriedigend & $\schule@punkteZuNote{8}$\\\hline
- \end{tabular}
- }
- \parbox{.24\linewidth}{
- \tiny
- \begin{tabular}{|p{0.6\linewidth}|r|r|}\hline
- \rowcolor{black!20}\textbf{Note} &
- \textbf{$\ge$ P.}
- \\\hline
- befriedigend minus & $\schule@punkteZuNote{7}$\\\hline
- \rowcolor{black!10}
- ausreichend plus & $\schule@punkteZuNote{6}$\\\hline
- ausreichend & $\schule@punkteZuNote{5}$\\\hline
- \rowcolor{black!10}
- ausreichend minus & $\schule@punkteZuNote{4}$\\\hline
- \end{tabular}
- }
- \parbox{.24\linewidth}{
- \tiny
- \begin{tabular}{|p{0.6\linewidth}|r|r|}\hline
- \rowcolor{black!20}\textbf{Note} &
- \textbf{$\ge$ P.}
- \\\hline
- mangelhaft plus & $\schule@punkteZuNote{3}$\\\hline
- \rowcolor{black!10}
- mangelhaft & $\schule@punkteZuNote{2}$\\\hline
- mangelhaft minus & $\schule@punkteZuNote{1}$\\\hline
- \rowcolor{black!10}
- ungenügend & $0$ \\\hline
- \end{tabular}
+ % Ohne Notenpunkte
+ % ----------------------------------------------------------------
+ \ifthenelse{\boolean{schule@notenOhneTendenz}}{
+ % Ohne Tendenz
+ % ----------------------------------------------------------------
+ \parbox{.40\linewidth}{
+ \tiny
+ \begin{tabular}{|p{0.6\linewidth}|r|r|}\hline
+ \rowcolor{black!20}\textbf{Note} &
+ \textbf{$\ge$ P.}
+ \\\hline
+ sehr gut & $\schule@punkteZuNote{13}$\\\hline
+ \rowcolor{black!10}
+ gut & $\schule@punkteZuNote{10}$\\\hline
+ befriedigend & $\schule@punkteZuNote{7}$\\\hline
+ \rowcolor{black!10}
+ ausreichend & $\schule@punkteZuNote{4}$\\\hline
+ mangelhaft & $\schule@punkteZuNote{1}$ \\\hline
+ \rowcolor{black!10}
+ ungenügend & $0$ \\\hline
+ \end{tabular}
+ }
+ }{
+ % Mit Tendenz
+ % ----------------------------------------------------------------
+ \parbox{.24\linewidth}{
+ \tiny
+ \begin{tabular}{|p{0.6\linewidth}|r|r|}\hline
+ \rowcolor{black!20}\textbf{Note} &
+ \textbf{$\ge$ P.}
+ \\\hline
+ sehr gut plus & $\schule@punkteZuNote{15}$\\\hline
+ \rowcolor{black!10}
+ sehr gut & $\schule@punkteZuNote{14}$\\\hline
+ sehr gut minus & $\schule@punkteZuNote{13}$\\\hline
+ \rowcolor{black!10}
+ gut plus & $\schule@punkteZuNote{12}$\\\hline
+ \end{tabular}
+ }
+ \parbox{.24\linewidth}{
+ \tiny
+ \begin{tabular}{|p{0.6\linewidth}|r|r|}\hline
+ \rowcolor{black!20}\textbf{Note} &
+ \textbf{$\ge$ P.}
+ \\\hline
+ gut & $\schule@punkteZuNote{11}$\\\hline
+ \rowcolor{black!10}
+ gut minus & $\schule@punkteZuNote{10}$ \\\hline
+ befriedigend plus & $\schule@punkteZuNote{9}$\\\hline
+ \rowcolor{black!10}
+ befriedigend & $\schule@punkteZuNote{8}$\\\hline
+ \end{tabular}
+ }
+ \parbox{.24\linewidth}{
+ \tiny
+ \begin{tabular}{|p{0.6\linewidth}|r|r|}\hline
+ \rowcolor{black!20}\textbf{Note} &
+ \textbf{$\ge$ P.}
+ \\\hline
+ befriedigend minus & $\schule@punkteZuNote{7}$\\\hline
+ \rowcolor{black!10}
+ ausreichend plus & $\schule@punkteZuNote{6}$\\\hline
+ ausreichend & $\schule@punkteZuNote{5}$\\\hline
+ \rowcolor{black!10}
+ ausreichend minus & $\schule@punkteZuNote{4}$\\\hline
+ \end{tabular}
+ }
+ \parbox{.24\linewidth}{
+ \tiny
+ \begin{tabular}{|p{0.6\linewidth}|r|r|}\hline
+ \rowcolor{black!20}\textbf{Note} &
+ \textbf{$\ge$ P.}
+ \\\hline
+ mangelhaft plus & $\schule@punkteZuNote{3}$\\\hline
+ \rowcolor{black!10}
+ mangelhaft & $\schule@punkteZuNote{2}$\\\hline
+ mangelhaft minus & $\schule@punkteZuNote{1}$\\\hline
+ \rowcolor{black!10}
+ ungenügend & $0$ \\\hline
+ \end{tabular}
+ }
}
}
}
diff --git a/macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex b/macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex
index 7f677862a0..d658947fc2 100644
--- a/macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex
+++ b/macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex
@@ -7,6 +7,8 @@
\newboolean{schule@erwartungshorizontAnzeigen}
\newboolean{schule@erwartungshorizontKeineSeiten}
\newboolean{schule@kmkPunkte}
+\newboolean{schule@notenOhneTendenz}
+
% Standardwerte
% ********************************************************************
@@ -44,4 +46,7 @@
erwartungshorizontStil/.store in=\schule@erwartungshorizontStil,
kmkPunkte/.value forbidden,
kmkPunkte/.code=\setboolean{schule@kmkPunkte}{true},
- notenschema/.store in=\schule@notenschema,}
+ notenschema/.store in=\schule@notenschema,
+ notenOhneTendenz/.value forbidden,
+ notenOhneTendenz/.code=\setboolean{schule@notenOhneTendenz}{true}
+}
diff --git a/macros/latex/contrib/schule/latex/schule.mod.Format.code.tex b/macros/latex/contrib/schule/latex/schule.mod.Format.code.tex
index 6d6f50191e..9ecffef8aa 100644
--- a/macros/latex/contrib/schule/latex/schule.mod.Format.code.tex
+++ b/macros/latex/contrib/schule/latex/schule.mod.Format.code.tex
@@ -172,7 +172,7 @@
% Datumsfeld anzeigen?
\ifthenelse{\boolean{schule@datumAnzeigen}}{%
% Mit Datumsfeld
- \linebreak\Datum%
+ \linebreak\@date%
}{%
% Ohne Datumsfeld
\schule@kopfUmbruch%
diff --git a/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex b/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex
index c059b10630..56d4e61952 100644
--- a/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex
+++ b/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex
@@ -2,10 +2,6 @@
% Lizenz des Dokuments *
% ********************************************************************
-% Metadaten inkludieren
-% ********************************************************************
-\includexmp{lizenz-\schule@lizenz}
-
% Lizenzname
% ********************************************************************
% Kurz
@@ -82,4 +78,4 @@
% Sonstiges
]
-} \ No newline at end of file
+}
diff --git a/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.pakete.tex b/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.pakete.tex
index 8a59005283..d69284161a 100644
--- a/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.pakete.tex
+++ b/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.pakete.tex
@@ -3,6 +3,23 @@
% ********************************************************************
% Lizenz
-\RequirePackage{xmpincl}
+\IfEqCase{\schule@lizenz}{ %
+ % Lizenz: CC-BY-NC-SA-EU 4.0
+ {cc-by-nc-sa-eu-4}{ %
+ \RequirePackage[type={CC},modifier={by-nc-sa},version={4.0}]{doclicense}
+ }%
+ % Lizenz: CC-BY-NC-SA 4.0
+ {cc-by-nc-sa-4}{ %
+ \RequirePackage[type={CC},modifier={by-nc-sa},version={4.0}]{doclicense}
+ }%
+ % Lizenz: CC-BY-SA 4.0
+ {cc-by-sa-4}{ %
+ \RequirePackage[type={CC},modifier={by-sa},version={4.0}]{doclicense}
+ }%
+ {cc-by-4}{ %
+ \RequirePackage[type={CC},modifier={by},version={4.0}]{doclicense}
+ }%
+}[%
+ % Sonstiges
+]
\RequirePackage{ccicons}
-
diff --git a/macros/latex/contrib/schule/latex/schule.sty b/macros/latex/contrib/schule/latex/schule.sty
index 6addd288f7..68c1bdf4be 100644
--- a/macros/latex/contrib/schule/latex/schule.sty
+++ b/macros/latex/contrib/schule/latex/schule.sty
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}[2011/11/11]
-\ProvidesPackage{schule}[2018/08/22 v0.8.1 %
+\ProvidesPackage{schule}[2021/08/09 v0.8.3 %
Kommandos fuer die Schule]
% ********************************************************************
@@ -10,6 +10,7 @@
% ********************************************************************
\RequirePackage{pgfopts}
\RequirePackage{xifthen}
+\RequirePackage{xstring}
% Boolesche Optionen
% ********************************************************************
@@ -74,10 +75,12 @@
% unschädliche Warnungen im Normalbetrieb unterdrücken
\ifthenelse{\boolean{schule@debug}}{}{
+ \IfSubStr{\schule@module}{Lizenzen}{}{
\usepackage{silence}
% Kompatiblität von ctable zu TikZ
\WarningFilter{ctable}{Transp}
+ }
}
% Laden von Dokumenttypen
@@ -245,7 +248,6 @@
% Makros
\RequirePackage{xparse}
-\RequirePackage{xstring}
\RequirePackage{environ}
% Referenzen
diff --git a/macros/latex/contrib/schule/latex/schulphy.sty b/macros/latex/contrib/schule/latex/schulphy.sty
index 691fa4110c..ff47836883 100644
--- a/macros/latex/contrib/schule/latex/schulphy.sty
+++ b/macros/latex/contrib/schule/latex/schulphy.sty
@@ -12,8 +12,8 @@
%% Daniel Spittank (kontakt@daniel.spittank.net)
%% André Hilbig (mail@andrehilbig.de)
%% Adrian Salamon (adriansalamon@gmail.com)
-%%
-%%
+%%
+%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
@@ -21,23 +21,23 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
-%%
+%%
%% This work has the LPPL maintenance status `maintained'.
-%%
+%%
%% The Current Maintainer of this work is Johannes Pieper.
-%%
+%%
%% This work consists of the files schule.dtx and schule.ins, readme
%% and the derived files schule.sty, schulinf.sty, syntaxdi.sty,
%% relaycircuit.sty, schulphy.sty, schulekl.cls, schuleub.cls,
%% schullzk.cls, schuleab.cls, schulein.cls, schuleue.cls,
%% schullsg.cls, schulit.cls, schulekl.sty, schulelzk.sty.
-%%
+%%
%% Dies ist der dokumentierte Makrocode zur Erzeugung und Dokumentation
%% des LaTeX-Paket `schule'.
-%%
+%%
%% This is the documented Macrocode to build the LaTeX-Package `schule'
%% and its documentation.
-%%
+%%
%% Some of the examples in the documentation have different copyright
%% notes.
%% \CharacterTable
@@ -120,10 +120,10 @@
\usepackage{warning}
\addglobalwarning{%
\PackageWarningNoLine{schulphy}{Dieses Subpaket stammt aus dem Paket 'schule' in der Version 0.6, die nicht weiterentwickelt wird. Bitte aktualisieren Sie Ihr Dokument.}}
-
+
\RequirePackage{schulealt}
-\RequirePackage{units}
\RequirePackage{circuitikz}
+\RequirePackage{units}
\RequirePackage[version=3]{mhchem}
\def\@fach{Physik}
\endinput