summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex')
-rw-r--r--macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex43
1 files changed, 43 insertions, 0 deletions
diff --git a/macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex b/macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex
new file mode 100644
index 0000000000..8175b3fcfd
--- /dev/null
+++ b/macros/latex/contrib/schule/latex/schule.mod.Bewertung.optionen.tex
@@ -0,0 +1,43 @@
+% ********************************************************************
+% * Paketoptionen *
+% ********************************************************************
+
+% Boolesche Optionen
+% ********************************************************************
+\newboolean{schule@erwartungshorizontAnzeigen}
+\newboolean{schule@kmkPunkte}
+
+% Standardwerte
+% ********************************************************************
+\newcommand{\schule@erwartungshorizontStil}{standard}
+\newcommand{\schule@notenschema}{%
+ 15 = .95, %
+ 14 = .9, %
+ 13 = .85, %
+ 12 = .8, %
+ 11 = .75, %
+ 10 = .7, %
+ 9 = .65, %
+ 8 = .6, %
+ 7 = .55, %
+ 6 = .5, %
+ 5 = .45, %
+ 4 = .39, %
+ 3 = .33, %
+ 2 = .27, %
+ 1 = .2 %
+}
+
+
+% Optionsdefinitionen
+% ********************************************************************
+\pgfkeys{
+ /schule/.cd,
+ erwartungshorizontAnzeigen/.value forbidden,
+ erwartungshorizontAnzeigen/.code=\setboolean{%
+ schule@erwartungshorizontAnzeigen}{true},
+ erwartungshorizontPunkteDatei/.store in=\schule@erwartungshorizontPunkteDatei,
+ erwartungshorizontStil/.store in=\schule@erwartungshorizontStil,
+ kmkPunkte/.value forbidden,
+ kmkPunkte/.code=\setboolean{schule@kmkPunkte}{true},
+ notenschema/.store in=\schule@notenschema,}