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.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
\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.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p