diff options
Diffstat (limited to 'macros/latex/contrib/esami/doc/examples/testA-sol.tex')
-rw-r--r-- | macros/latex/contrib/esami/doc/examples/testA-sol.tex | 49 |
1 files changed, 33 insertions, 16 deletions
diff --git a/macros/latex/contrib/esami/doc/examples/testA-sol.tex b/macros/latex/contrib/esami/doc/examples/testA-sol.tex index f0d8d42076..5302238910 100644 --- a/macros/latex/contrib/esami/doc/examples/testA-sol.tex +++ b/macros/latex/contrib/esami/doc/examples/testA-sol.tex @@ -5,14 +5,11 @@ %\usepackage[shuffle,xyz,pointsonright,nosolutions,noquizsolutions,twocolumns]{esami}%%%%% TEMA \ifluatex \usepackage{luatextra} % also loads fixltx2e, fontspec, xunicode - \usepackage{unicode-math} - \setmathfont{Latin Modern Math} \usepackage[utf8]{luainputenc} \else\ifxetex \usepackage{fixltx2e} \usepackage{fontspec} - \usepackage{unicode-math} - \XeTeXinputencoding utf8 + \XeTeXinputencoding utf8 \else \usepackage{fixltx2e} \usepackage[T1]{fontenc} @@ -27,12 +24,14 @@ \def\examname{The name of the exam} \def\numcompiti{4}%%% The number of the versions -\date{2014/07/22}%%% THE DATE IN THE FORMAT YYYY/M/D or D/M/YYYY +\date{2022/01/22}%%% THE DATE IN THE FORMAT YYYY/M/D or D/M/YYYY \def\Data{\longdate}%%% or \shortdate: the date in the heading %\def\cartella{pop}%%% The folder where are the exercises: by default the current folder% %\def\Acapo{\newpage} \usepackage{babel} +\renewcommand{\checkpoints}{ } % So we don't check if the total points of an exercise is correct + \begin{document} \testversioni \pagestyle{esame} @@ -46,7 +45,7 @@ %%% OR SOME OTHER LIKE \FPeval\seme{round(\thenomefile*(\thevers)+1-trunc(\thenomefile*(\thevers)/(2^31-1):0)*(2^31-1):0)} %\FPeval\seme{round(1+abs(\thenomefile/(\thevers)+sin(\thevers)*(\thevers)^(2)):0)} - +%\FPeval\semeex{round(\thenomefile+1-trunc(\thenomefile/(2^31-1):0)*(2^31-1):0)} \randomi=\seme \permuta @@ -62,7 +61,10 @@ \section*{Part One} -\begin{test}[18] +\begin{test}[15] + \textsc{some exercises from 2 files} + + \begin{questions} %\ifluatex %\esercizi{ @@ -79,39 +81,54 @@ %test9 %} %\else + + + \begin{esdb}{mydb} %% some exercises from 2 files \selectrandomlyn{3}{test2} \selectrandomlyn{2}{test3} \end{esdb} \esercizi{ -%prova-colombia, test14, test1, test4, test9, -test5-fillin, +test5-fillin } -%%% all the problems of a file + +\textsc{All the problems of a file} + + \selectallproblems[random]{test11} %\fi\fi \end{questions} -Some other questions\\[5mm] +\textsc{Some other questions}\\[5mm] -%\begin{questions} %% a new set of questions -%\esercizi{test12, -%test13 -%} -%\end{questions} +\begin{questions} %% a new set of questions +\esercizi{test12, +test13 +} +\end{questions} \end{test} +\newpage \section*{Part two} \istruzioniii%%% Some other instructions \esercizi{problem1} +\newpage +An example of matching question. + +\esercizi{problem3-matching} + +\newpage +An example of ``tabella'' question. + +\esercizi{problem2-tabella} \closevers \newpage % % |