summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/esami/doc/examples/master.tex
blob: 7a838e4ac2a5eac9f06cc4787f7785ff140a7afb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
\documentclass[UKenglish,a4paper]{article}
\usepackage[shuffle,xyz,pointsonright,autopston,twocolumns,solutions]{esami}%%%%% TEMA
\usepackage{lmodern,textcomp}
\usepackage{babel}

% +=============================+
% |         DEFINITIONS         |
% +=============================+

\def\examname{The name of the exam}
\def\numcompiti{6}%%% The number of versions
\date{2013/3/22}%%% THE DATE IN THE FORMAT AAAA/M/D
\def\Data{\longdate}%%% or \shortdate: the date in the heading
%\def\cartella{d:/folder}%%% The folder where are the exercises: by default the current folder%

\begin{document}
\testversioni
\pagestyle{esame}
\whiledo{\thevers<\numcompiti}{\stepvers
% +=============================+
% |       THE SEED              |
% +=============================+

\FPeval\seme{round((\thenomefile+(3*\thevers)):0)}
%%% OR OTHER SUCH AS
%\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)}

\randomi=\seme

% +=============================+
% |  STUFF DEFINED IN CFG FILE  |
% +=============================+

\testa%%% the heading
\istruzionii%%%  some instructions

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section*{Part One}
\begin{test}[8]
\begin{questions}
\proofingsymbol{$\blacktriangleright$}%%% or some other symbol
\esercizi{
test1,
test2,
test3,
test4,
test5-fillin}
\end{questions}
\begin{questions}
\esercizi{test11,
test12,
test13,
test14,
}
\end{questions}
\end{test}
\newpage

\section*{Part two}
\istruzioniii%%% Some other instructons

\esercizi{problem1,problem2-tabella}
\newpage
\esercizi{problem3-matching,problem4-fillin}
\closevers
}
\end{document}