I'm looking for a simple answer, as I'm not a programmer. Everything I've found online about this is way too dense for my knowledge level.
I teach calculus, and every year the points for each question on the test varies a little. We have multiple professors who all contribute questions, and so the total changes each time. I'd like LaTeX to calculate this automatically so we can use a template for future tests.
Is there a way I can assign the points to each question and have LaTeX automatically give me a total? It seems like this should be child's play, but is apparently not. (I can't tell if that's because what I'm asking for is secretly incredibly difficult or because it's too simple and everyone just knows it automatically.)
I don't want to use some external program (I could just calculate by hand if I were going to do that), I just want to display a total at the top of the exam.
Here's the structure of what I'm imagining:
Total = \calltotal points.
\begin{enumerate}
\item [5 points]\addtototal{5} Here is the first question.
\item [6 points]\addtototal{6} Here is the second.
\end{enumerate}
Nothing more fancy than that! Any help appreciated.


