Print solutions with LuaLaTeX

Added by Raffaele Borrelli almost 8 years ago

Hi All,

I am using AMC for a test that includes both an MC part and some open questions. The data of the open questions are randomized using LuaLaTeX. When I score the open question it would be great to have the numerical value of the solution printed somewhere on the annotated paper. Is this possible?

thanks


Replies (3)

RE: Print solutions with LuaLaTeX - Added by Alexis Bienvenüe almost 8 years ago

Maybe you can use a command like this one, which prints the argument only on corrected papers:

\makeatletter
\newcommand{\showresult}[1]{\ifAMC@correc #1\fi}
\makeatother

RE: Print solutions with LuaLaTeX - Added by Raffaele Borrelli almost 8 years ago

Great, it is exactly what I was looking for.
Thanks.

RE: Print solutions with LuaLaTeX - Added by Raffaele Borrelli almost 8 years ago

Hi, I have used this command and it works fine as it prints the answers on the "corrected" paper. However, I have just realized that it can be better for me have the results printed on the "annotated" papers. Is this possible?

Thanks

(1-3/3)