FAQ
The different kinds of shuffling
To illustrate the different modes available when shuffling (or not)
the groups (see Groups of
questions), consider a group named OS with 4 distinct elements:
,
,
and
.
We show here the result of the use of \insertgroup
, depending on the
group mode.
mode fixed
-
\insertgroup{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
|||||
3 |
|||||
4 |
-
\insertgroup[0]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
-
\insertgroup[1]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
-
\insertgroup[2]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
-
\insertgroup[3]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
|||||
3 |
-
\insertgroup[4]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
|||||
3 |
|||||
4 |
mode cyclic
-
\insertgroup{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
|||||
3 |
|||||
4 |
End of group. |
End of group. |
End of group. |
End of group. |
End of group. |
-
\insertgroup[0]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
-
\insertgroup[1]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
End of group. |
-
\insertgroup[2]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
End of group. |
End of group. |
-
\insertgroup[3]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
End of group. |
||||
2 |
End of group. |
||||
3 |
End of group. |
-
\insertgroup[4]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
|||||
3 |
|||||
4 |
End of group. |
End of group. |
End of group. |
End of group. |
End of group. |
mode withreplacement
-
\insertgroup{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
|||||
3 |
|||||
4 |
|||||
Shuffle before the new copy? |
yes |
yes |
yes |
yes |
yes |
-
\insertgroup[0]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
-
\insertgroup[1]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
Shuffle before the new copy? |
yes |
yes |
yes |
yes |
yes |
-
\insertgroup[2]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
|||||
Shuffle before the new copy? |
yes |
yes |
yes |
yes |
yes |
-
\insertgroup[3]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
|||||
3 |
|||||
Shuffle before the new copy? |
yes |
yes |
yes |
yes |
yes |
-
\insertgroup[4]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
|||||
3 |
|||||
4 |
|||||
Shuffle before the new copy? |
yes |
yes |
yes |
yes |
yes |
mode withoutreplacement
-
\insertgroup{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
|||||
3 |
|||||
4 |
End of group new shuffle |
End of group. new shuffle |
End of group. new shuffle |
End of group. new shuffle |
End of group. new shuffle |
-
\insertgroup[0]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
-
\insertgroup[1]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
End of group. new shuffle |
-
\insertgroup[2]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
|||||
2 |
End of group. new shuffle |
End of group. new shuffle |
-
\insertgroup[3]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
End of group. new shuffle |
||||
2 |
End of group. new shuffle |
||||
3 |
End of group. new shuffle |
-
\insertgroup[4]{OS}
question | Sheet 1 | Sheet 2 | Sheet 3 | Sheet 4 | Sheet 5 |
---|---|---|---|---|---|
1 |
End of group |
||||
2 |
|||||
3 |
|||||
4 |
End of group new shuffle |
End of group. new shuffle |
End of group. new shuffle |
End of group. new shuffle |
End of group. new shuffle |
Subject page setting
-
My subject is one A4 page long. Can I print two subjects (2 A4) on one sheet A4 (A5 mode) and then use a paper cutter?
Yes, scanning is not a problem. Make sure margins are wide enough when creating subject.
-
My subject is 2 A4 pages long. Can I print double-sided?
Yes, but it may happen that some boxes are ticked by transparency if the student uses a marker.
-
My subject is 3 pages long, but some are 4 pages long. Why?
This is due to LaTeX’s automatic page layout. You can try to change
some vertical spaces with but the easiest way is to force AMC to
create a subject with 4 pages \AMCaddpagesto{4}
(see
Number of pages). However, this
should not be a problem, and you can leave it like that.
-
My subject is 4 pages long. How do I print it on an A3 sheet on both sides?
pdfjam --booklet 'false' --landscape --a3paper --outfile DOC-sujet-pdfjam.pdf --signature '4' DOC-sujet.pdf
A script with a graphical interface was created by an user (J. Ouin) to produce booklets. ![]() |
LaTeX source file
-
Can I use the
twocolumns
option in the article class (LaTeX format)?No, there must be 4 corner marks per sheet. But you can use the
multicols
environment anywhere. -
The random numerical values are different between subject and correction.
The seed for pseudo-random number generator is not fixed.
-
With
fp
package: see Using the fp package. The default value is 0. -
With
tikz
orpgf
package : see Using the pgf/tikz package.The seed is calculated by the formula
time * year modulo (2^31 - 1)
.Look at this (French) wiki page if you need to fix the problem after the exam.
-
With LuaLaTeX: see Using LuaLaTeX.
-
With
xfp
package: no default value, it must be set.\ExplSyntaxOn \sys_gset_rand_seed:n{4586} \ExplSyntaxOff
-
-
I use the package cleveref and some ?? appear.
-
Check question is correctly labelled with
\AMClabel{}
. -
Check there is no blank space in the
\cref{}
command or if the question labels are identical in the\AMCstudentlabel{}
command.If you use
\insertgroup[X]{my group}
, AMC does not verify if an element has been included or not. You may use crossreftools package and its command\crtcrefifdefinedlabel{\AMCstudentlabel{identifiant}}{code if true}{code if false}
.
-
Scanning and automatic data capture
-
I printed the sheets using 2 pages per sheet. I have not paper cutter in my school / college. How to crop digitalized sheets?
-
Convert PDF file to single images (here png format).
pdftoppm file.pdf file-single -png
-
trim half of image.
mogrify -crop 50%x100% file-single*.png
Depending on the orientation (portrait) pdf file, you need to rotate the image by adding the
-rotate 90
option.
-
-
The student filled the white binary code cells!
These colored squares must be erased numerically and start again the correction; see Automated input.
-
The student drew around a mark.
Usually, AMC detects correctly distored marks, and has an option to recognize sheets with only three marks. Tick on the marks management.
; see -
How to print the annotations on the paper sheets?
-
Imperatively sort sheets in ascending order alphabetical or numerical.
-
Annotate them : tab
ou . -
Create a layer of annotations with line commands.
gs -o Annotations_complete_only.pdf -sDEVICE=pdfwrite -dFILTERIMAGE All_students.pdf
-