Code arquisition only

Added by Federico Galetto over 4 years ago

Hello!

I'm very new to Auto Multiple Choice and have a beginner's question. I am trying to use AMC only to automatically read student IDs, i.e., no multiple choice questions. I would produce a single copy and photocopy it for the whole class, but I would like to use AMC to detect which scan belongs to each student. I tried following the documentation and I get a document that looks the way I want, but when I proceed to layout detection I get the following warnings/errors:

No box to be ticked (Concerns 1 exams, see for example sheet 1)
The \namefield command is not used. Writing subjects without name field is not recommended (Concerns 1 exams, see for example sheet 1)

and the page layout window is empty.

Could someone with better knowledge of AMC please let me know what I'm doing wrong and how I can fix this?

A second but not so important question: I originally tried putting the name field on the left and the code grid on the right, but it seems LaTeX wants to start a new paragraph when it sees \namefield, so I couldn't get the two minipages to align properly at the top. Any idea how to do this?

Thank you,
Fred.

q11.tex (1.2 kB)

q11.pdf (76.1 kB)


Replies (6)

RE: Code arquisition only - Added by Alexis Bienvenüe over 4 years ago

AMC can't work without the corner marks and the identification boxes at the top: you must not use \pagestyle{empty}.

RE: Code arquisition only - Added by Federico Galetto over 4 years ago

Good to know, thank you.

RE: Code acquisition only - Added by Federico Galetto over 4 years ago

Okay, I was able to make it work without \pagestyle{empty}.

As far as I understand, the four black dots are used to determine where all the checkboxes are. Since I am photocopying the same exam for my entire class, it seems the boxes automatically produced at the top of the page and the writing 1/1/60 might be unnecessary. Is there a way to remove them?

Thank you,
Fred.

DOC-sujet.pdf (78.8 kB)

RE: Code arquisition only - Added by Federico Galetto over 4 years ago

Update: I found in the documentation that the human readable IDs (i.e. 1/1/60) can be removed by the command \AMCidsPosition{pos=none} in LaTeX.

However I am still wondering if one can also remove the box IDs (please see above).

Thanks,
Fred.

RE: Code arquisition only - Added by Federico Galetto over 4 years ago

Second update: looking at the source code for automultiplechoice.sty, I see that the appearance of the box IDs at the top of the page is controlled by the following LaTeX command:

\newcommand\AMCIDBoxesABC{\hbox{\vbox{\noindent\AMCIDBoxesA\\\noindent\AMCIDBoxesB\AMCIDBoxesC}}}

One can renew the command to change the appearance of the box IDs, however if the boxes are completely removed (by leaving the command empty) then AMC will not scan any boxes on the page. I am guessing there are good reasons for this at the software level, though it's unclear to me why the IDs are important when one plans to photocopy the exams.

Perhaps it's worth pointing out that the documentation explains how to change the number of boxes under Description of the LaTeX commands -> Binary code:

\makeatletter
\def\AMC@NCBetud{12}
\def\AMC@NCBpage{6}
\def\AMC@NCBcheck{6}
\makeatother

The default values 12-6-6 can be changed to a minimum of 6-1-6.

Cheers,
Fred.

RE: Code arquisition only - Added by Alexis Bienvenüe over 4 years ago

The default values 12-6-6 can be changed to a minimum of 6-1-6.

Good idea to reduce the size of these boxes!
However, you can't remove them, as AMC relies on them to check that the scan corresponds to the subject. They also help to turn the scan upside-down if necessary.

(1-6/6)