summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/worksheet/worksheet.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/worksheet/worksheet.tex')
-rw-r--r--Master/texmf-dist/doc/latex/worksheet/worksheet.tex40
1 files changed, 23 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/worksheet/worksheet.tex b/Master/texmf-dist/doc/latex/worksheet/worksheet.tex
index eea382dd53d..c7bb551ab87 100644
--- a/Master/texmf-dist/doc/latex/worksheet/worksheet.tex
+++ b/Master/texmf-dist/doc/latex/worksheet/worksheet.tex
@@ -291,32 +291,36 @@ Setting header information manually ("lv.tex" does not exist):
\subsubsection*{2. Example}
Changing the directory path of "lv.tex" ("lv.tex" does exist in "./MySubDirectory/"):
\sourceCodeMinipage{
- \sourceCodeWorksheetChangelvFile{./MySubDirectory/lv.tex}\\[2ex]
+ \sourceCodeWorksheetChangelvFile{./MySubDirectory/lv.tex}\\[1.5ex]
\sourceCodeWorksheetAuthors{Ignored Author}\\
- \sourceCodeWorksheetCourseName{Ignored Header}\\[2ex]
+ \sourceCodeWorksheetCourseName{Ignored Header}\\[1.5ex]
\sourceCodeBegin{document}...
}
+\vfil
+\begin{center}
+ \begin{minipage}[b]{\textwidth}
+ \begin{minipage}[b]{0.5\textwidth}
+ \noindent Content of "MySubDirectory/lv.tex":\par\addvspace{0.5\baselineskip}\noindent
+ {\ttfamily\raggedright \aqua{\textbackslash def}\textbackslash coursename\{Example Header\}\\
+ \aqua{\textbackslash def}\textbackslash authors\{Example Author\}}
+ \end{minipage}%
+ \begin{minipage}[b]{0.5\textwidth}
+ \noindent Also a german version of "MYSubDirectory/lv.tex" is possible:\par\addvspace{0.5\baselineskip}\noindent
+ {\ttfamily\raggedright \aqua{\textbackslash def}\textbackslash lvname\{Example Header\}\\
+ \aqua{\textbackslash def}\textbackslash autoren\{Example Author\}}
+ \end{minipage}
+ \end{minipage}
+\end{center}
-\noindent Content of "MySubDirectory/lv.tex":
-\sourceCodeMinipage{
- \aqua{\textbackslash def}\textbackslash coursename\{Example Header\}\\
- \aqua{\textbackslash def}\textbackslash authors\{Example Author\}
-}
-
-Also a german version of "MYSubDirectory/lv.tex" is possible:
-\sourceCodeMinipage{
- \aqua{\textbackslash def}\textbackslash lvname\{Example Header\}\\
- \aqua{\textbackslash def}\textbackslash autoren\{Example Author\}
-}
% play it safe to display Example Header on both Pages, if this Section is 2 Pages long
\thispagestyle{headings}
% Babel Languages
\newpage\section{Conforming to Babel Languages}
-This package automatically changes its appearance to a specific language, after a specific language is selected with {\ttfamily\textbackslash selectlanguage\{...\}}. Supported languages are:
+This package automatically changes its appearance to a specific language, after a specific language is selected with {\ttfamily\textbackslash selectlanguage\{...\}}. Supported Babel languages are:
\begin{center}
-\textbf{english, german and ngerman}
+\textbf{english, french, german and ngerman}
\end{center}
% Babel Languages Example
@@ -327,7 +331,8 @@ Defining two different exercises in two different languages:
\sourceCodeMinipage{
\sourceCodeWorksheetShowScore\\
\sourceCodeWorksheetShowLearningTargets\\
- \sourceCodeWorksheetShowDifficulty\\[1ex]
+ \sourceCodeWorksheetShowDifficulty\\
+ \sourceCodeWorksheetShowOccurrence\\[1ex]
\sourceCodeBeginExercise\spring{\%}\\{}
{\small[\sourceCodeScore{10}\sourceCodeEasy\sourceCodeLearningTargets{1, 2, 3}\sourceCodeOccurrence{Exam WS 2018}]}\\
This is an exercise written in english and described in a sentence. Maybe there is another sentence which is not enough though. This last sentence should do.\\
@@ -346,6 +351,7 @@ Defining two different exercises in two different languages:
\worksheetShowScore
\worksheetShowLearningTargets
\worksheetShowDifficulty
+\worksheetShowOccurrence
\begin{exercise}%
[\score{10}\easy\learningtargets{1, 2, 3}\occurrence{Exam WS 2018}] This is an exercise written in english and described in a sentence. Maybe there is another sentence which is not enough though. This last sentence should do.
\end{exercise}
@@ -375,6 +381,6 @@ to hide and
to show worksheet header. Per default \emph{scrlayer-scrpage's} header is redefined and -- per default -- pagestyle "headings" is selected; suppress all this behaviour by calling \sourceCodeWorksheetHideHeader{} \textbf{before} {\ttfamily\aqua{\textbackslash begin}\{document\}}.\par
\subsection*{Babel}
-The package worksheet redefines {\ttfamily\textbackslash selectlanguage\{...\}} keeping the original functionality plus checking the selected language's support and changing the internal language if the selected language is supported.
+The package worksheet redefines {\ttfamily\textbackslash selectlanguage\{...\}} keeping the original macro functionality plus checking the selected language's support and changing the internal language if the selected language is supported.
\end{document}