File: source.tex

package info (click to toggle)
auto-multiple-choice 1.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 92,612 kB
  • sloc: perl: 26,752; xml: 24,889; cpp: 1,997; python: 895; makefile: 569; sh: 233; ansic: 195
file content (51 lines) | stat: -rw-r--r-- 786 bytes parent folder | download | duplicates (2)
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
\documentclass[a4paper]{article}

\usepackage{fp}
\usepackage{automultiplechoice}

\begin{document}

\AMCnumericOpts{sign=true,digits=3,decimals=2}

\element{grq}{

  \begin{questionmultx}{0-simple}
    Simple zero.
    \AMCnumericChoices{0}{}
  \end{questionmultx}

}

\element{grq}{

  \begin{questionmultx}{0-strict}
    Strict zero.
    \AMCnumericChoices{0}{strict=true}
  \end{questionmultx}

}

\element{grq}{

  \begin{questionmultx}{0-}
    Ignoreblank zero.
    \AMCnumericChoices{0}{ignoreblank=true}
  \end{questionmultx}

}

\onecopy{5}{

  \hspace*{\fill}\namefield{\fbox{
      \begin{minipage}{15em}
        Name and surname:\vspace*{3ex}\par
        \noindent\dotfill\vspace{2mm}
      \end{minipage}
    }}

  \shufflegroup{grq}
  \insertgroup{grq}

}

\end{document}