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 (52 lines) | stat: -rw-r--r-- 1,206 bytes parent folder | download | duplicates (4)
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
\documentclass[a4paper]{article}

\usepackage{automultiplechoice}

\begin{document}

\onecopy{2}{

  \noindent{\bf QCM \hfill TEST}
  
  \vspace*{.5cm}
  \begin{minipage}{.4\linewidth}
    \centering\large\bf Test\\ Examination on Jan., 1st, 2008
  \end{minipage}
  \namefield{\fbox{
      \begin{minipage}{.5\linewidth}
        Firstname and lastname:

        \vspace*{.5cm}\dotfill
        \vspace*{1mm}
      \end{minipage}
    }}

  \begin{question}{prez}
    Among the following persons, which one has ever been a President of the French Republic?
    \begin{choices}
      \correctchoice{René Coty}
      \wrongchoice{Alain Prost}
      \wrongchoice{Marcel Proust}
      \wrongchoice{Claude Monet}
    \end{choices}
  \end{question}

  % change bottom margin on the 2nd page of the 2nd subject, to get a
  % different position for the two bottom circles.
  \exemplairepair\else
  \newgeometry{bmargin=5cm}
  \fi
  \clearpage

  \begin{questionmult}{pref}
    Among the following cities, which ones are French prefectures?
    \begin{choices}
      \correctchoice{Poitiers}
      \wrongchoice{Sainte-Menehould}
      \correctchoice{Avignon}
    \end{choices}
  \end{questionmult}

}

\end{document}