Code: Select all
Code, edit and compile here:
\documentclass{examdesign}\begin{document}\begin{multiplechoice}\begin{question}How much wood could a woodchuck chuck if a woodchuck could chuck wood?\choice{A lot.}\choice{More than most.}\choice{Exactly $\pi$ cords.}\choice[!]{It depends on the nature of the woodchuck.}\end{question}\end{multiplechoice}\end{document}
Code: Select all
$ latex quiz1This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)%&-line parsing enabled.entering extended mode(./quiz1.texLaTeX2e <2005/12/01>Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, nohyphenation, pinyin, ukenglish, loaded.(/usr/share/texmf-dist/tex/latex/examdesign/examdesign.clsDocument Class: examdesign(/usr/share/texmf-dist/tex/latex/base/article.clsDocument Class: article 2005/09/16 v1.4f Standard LaTeX document class(/usr/share/texmf-dist/tex/latex/base/size10.clo))(/usr/share/texmf-dist/tex/latex/tools/enumerate.sty)(/usr/share/texmf-dist/tex/latex/tools/multicol.sty)(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)Randomizer initialized to 43378891.)No file quiz1.aux.! LaTeX Error: There's no line here to end.See the LaTeX manual or LaTeX Companion for explanation.Type H <return> for immediate help....l.12 \end{document}?Overfull \hbox (90.84221pt too wide) detected at line 12$[]$ $[]$Scrambling section 1, question:1. [1] [1] (./quiz1.aux) )Output written on quiz1.dvi (2 pages, 1564 bytes).Transcript written on quiz1.log.
Also this class do not seems to scramble the choices of a multiple choice question. Do anyone have a good class recommendation for this purpose?
[EDIT]: After an unnecessarily long struggle, apparently certain macro like \class must be defined. So at least latex does not spit any more error.