I have generated the following document using exam class.
I would like to add the marks for each of Questions 2, 3 and 4 and write the total either next to underneath the Section II heading.
I know how to get the total marks for all questions, just not a total for questions within a particular section.
[Tex/LaTex] Adding marks of different questions in exam class
exam
Best Answer
Well, you cannot count the marks per section directly, only per page. So I used a counter and add the question points to that counter. Three things: you cannot use half points, you have to update the counter after each question and you have to reset the counter before typesetting the next section.