summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/worksheet/worksheet.sty25
1 files changed, 17 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/worksheet/worksheet.sty b/Master/texmf-dist/tex/latex/worksheet/worksheet.sty
index b2c8e2fe04c..aa9e7929b7c 100644
--- a/Master/texmf-dist/tex/latex/worksheet/worksheet.sty
+++ b/Master/texmf-dist/tex/latex/worksheet/worksheet.sty
@@ -6,7 +6,7 @@
%------------------------------------------------------------------------------------------------------------%
\NeedsTeXFormat{LaTeX2e}[2018]
-\ProvidesPackage{worksheet}[2018/08/08 by Benjamin Zoellner (c)2018 v1.0 This Package provides functions and an environment for easy worksheet creation]
+\ProvidesPackage{worksheet}[2018/08/08 by Benjamin Zoellner (c)2018 v1.1 This Package provides macros and an environment for easy worksheet creation]
\PassOptionsToPackage{headsepline=1pt}{scrlayer-scrpage}
\RequirePackage{scrlayer-scrpage}
@@ -21,7 +21,7 @@
\newcounter{@worksheet@numberFound}
\newcounter{@worksheet@numberEnded}
-% evil String Search Hacking using Latex-Kernel Functions \in@ & \ifin@
+% evil String Search Hacking using Latex-Kernel Macros \in@ & \ifin@
\def\@worksheet@isInString#1#2{TT\fi\begingroup % What the f**k?!
\edef\x{\endgroup\noexpand\in@{#1}{#2}}\x\ifin@}
@@ -64,18 +64,27 @@
\xdef\@worksheet@languageSelection@score{Maximum Score}
\xdef\@worksheet@languageSelection@learningTargets{Learning Targets}
\xdef\@worksheet@languageSelection@difficulty{Difficulty Level}
- \xdef\@worksheet@languageSelection@easy{Easy}
- \xdef\@worksheet@languageSelection@medium{Medium}
- \xdef\@worksheet@languageSelection@hard{Hard}
+ \xdef\@worksheet@languageSelection@easy{easy}
+ \xdef\@worksheet@languageSelection@medium{medium}
+ \xdef\@worksheet@languageSelection@hard{hard}
+}
+\def\@worksheet@selectLanguage@french{
+ \xdef\@worksheet@languageSelection@exercise{Exercice}
+ \xdef\@worksheet@languageSelection@score{Points}
+ \xdef\@worksheet@languageSelection@learningTargets{Buts}
+ \xdef\@worksheet@languageSelection@difficulty{Difficulté}
+ \xdef\@worksheet@languageSelection@easy{facile}
+ \xdef\@worksheet@languageSelection@medium{moyen}
+ \xdef\@worksheet@languageSelection@hard{difficile}
}
\def\@worksheet@selectLanguage@german{
\xdef\@worksheet@languageSelection@exercise{Aufgabe}
\xdef\@worksheet@languageSelection@score{Punkte}
\xdef\@worksheet@languageSelection@learningTargets{Lernziele}
\xdef\@worksheet@languageSelection@difficulty{Schwierigkeitsgrad}
- \xdef\@worksheet@languageSelection@easy{Leicht}
- \xdef\@worksheet@languageSelection@medium{Mittel}
- \xdef\@worksheet@languageSelection@hard{Schwer}
+ \xdef\@worksheet@languageSelection@easy{leicht}
+ \xdef\@worksheet@languageSelection@medium{mittel}
+ \xdef\@worksheet@languageSelection@hard{schwer}
}
\def\@worksheet@selectLanguage@ngerman{\@worksheet@selectLanguage@german}