Code: Select all
\question[99]
Why is this question worth so many points?
\question[\totalpoints]
\begin{parts}
\part[5]
How old are you?
\part[5]
Why?
\end{parts}
Any suggestions?
Thanks,
G
Code: Select all
\question[99]
Why is this question worth so many points?
\question[\totalpoints]
\begin{parts}
\part[5]
How old are you?
\part[5]
Why?
\end{parts}
NEW: TikZ book now 40% off at Amazon.com for a short time.
\totalpoints
count all the points in the question and the questions before. To avoid this problem, simply add \noaddpoints
before \question
and \addpoints
after.Code: Select all
\noaddpoints
\question[\totalpoints]
\addpoints
\qformat
command from the exam class, see section 4.4 of the Code: Select all
\documentclass[addpoints]{exam}
\begin{document}
\begin{questions}
\qformat{Question \thequestion{} : \totalpoints{} \points \hfill}
\question[99]
Question without parts
\question
Question with parts
\begin{parts}
\part[5] first part
\part[5] second part
\end{parts}
\end{questions}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.