From a quick look around the documentation, it seems like a bug..(?) If you refer to the manual section 3.1, if no settings are passed, a default examtop
environment is used, which typesets the class name and student name area automatically:
% Taken from manual: http://texdoc.net/texmf-dist/doc/latex/examdesign/examdesign.pdf
\begin{examtop}
\@@line{\parbox{3in}{\classdata \\
\examtype, Form: \fbox{\textsf{\Alph{version}}}}
\hfill
\parbox{3in}{\normalsize \namedata}}
\bigskip
\end{examtop}
In particular, I think the \@@line{\parbox{3in}{\classdata \\
line is causing problem.
\classdata
is a macro that uses current value of \class
. The problem here is that \class
does not have a default value, and hence \classdata
is empty if you do not specify \class
yourself first. And as we all know, TeX does not understand a line break \\
after nothing, thus giving rise to the error.
The fix?
Define your own \class{...}
, which will assign a value/string to \classdata
, and all will be well. Otherwise, just design your own examtop
environment.
The following MWE should work:
\documentclass{examdesign}
\usepackage[showframe]{geometry}% To show page borders etc.
%\Fullpages
\class{TX0001 \TeX.SX basics}% <------------------
\begin{document}
\begin{exampreface}
\noindent Note that if you do not provide a minimal working example (MWE), you will get no marks. \\
\end{exampreface}
\begin{truefalse}[title={True/False (5 pts each)},
resetcounter=yes,suppressprefix]
\begin{question}
\answer{True} \TeX.SX is awesome.
\end{question}
\end{truefalse}
\end{document}

\documentclass{examdesign} \class{Test} \begin{document} test \end{document}