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 (53 lines) | stat: -rw-r--r-- 1,060 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
53
\documentclass[a4paper]{article}

\usepackage{automultiplechoice}

\begin{document}

\scoringDefaultS{formula=(NMC>1?-1:NMC>0?0:NBC==1?2:0)}
\scoringDefaultM{haut=2,formula=NBC}

\begin{examcopy}

  \AMCcodeH{id}{4}

  \begin{questionmult}{h}
    \scoring{formula=}
    Please choose
    \begin{choices}
      \wrongchoice{no}
      \wrongchoice{no}
      \correctchoice{yes}
      \correctchoice{yes}
    \end{choices}
  \end{questionmult}

  \begin{questionmult}{f}
    \scoring{haut=}
    Please tick correct answers
    \begin{choices}
      \wrongchoice{as you like}
      \wrongchoice{as you like}
      \correctchoice{correct}
      \correctchoice{correct}
    \end{choices}
  \end{questionmult}

  \begin{question}{s}
    Another one...
    \begin{choiceshoriz}
      \wrongchoice{no}
      \wrongchoice{no}
      \wrongchoice{no}
      \correctchoice{yes}
    \end{choiceshoriz}
  \end{question}

  \begin{questionmultx}{m}
    Code 123
    \AMCnumericChoices{123}{digits=3,decimals=0,approx=1}
  \end{questionmultx}
  
\end{examcopy}

\end{document}