reporting incorrect mark on paper

3 views
Skip to first unread message

Paul Ferris

unread,
Jan 16, 2026, 7:16:35 AM (3 days ago) Jan 16
to Numbas Users
Hi all,  I have completed an exam paper and included code to handle summation of marks and including a line Ans ..................................  [2 marks]

There is a total of 17 questions and 75 marks.  All works correctly until the final question and \part

I have coded;

\question
The triangle below is \textbf{NOT} drawn to scale.\\

\begin{parts}
\part[3]
Calculate the length of the side  marked $x$.\\
    \begin{tikzpicture}
        \coordinate [label=left:$P$] (p) at (0, 0);
        \coordinate [label=right:$Q$] (q) at (3, 0);
        \coordinate [label=right:$R$] (r) at (3, 7);

        \draw [thick] (p)--(q)--(r)--cycle;
        \draw [thick] (2.7, 0)--(2.7, 0.3)--(3, 0.3);

        \tkzLabelSegment[below=2pt](p,q){$3 cm$}
        \tkzLabelSegment[above left=2pt](p,r){$x cm$}
        \tkzMarkAngle[size=1.5](q,p,r)
        \tkzLabelAngle[pos=0.9](q,p,r){$52^ \circ$}
    \end{tikzpicture}
\vspace{30mm}
\ans
\vspace{10mm}

\part[2]
    Calculate the size of the missing angle $PRQ$.
   
\end{parts}
\vspace*{60mm}
\ans


\part[2] should return Ans ......................... [2 marks] but returns [5 marks]

Although this is not a major problem, I am finding it frustrating that I cannot find the problem since all other questions, marks are displaying correctly and sums correctly on the cover page.  It doesn't matter what number I place in the [n] it displays [5 marks] 

Any ideas please?

Christian Lawson-Perfect

unread,
Jan 16, 2026, 7:37:37 AM (3 days ago) Jan 16
to numbas...@googlegroups.com
Hi Paul,
Is this a Numbas problem? That looks like a LaTeX document.

--
You received this message because you are subscribed to the Google Groups "Numbas Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/numbas-users/f49b4c81-b800-4b9b-8fbd-20c0a6bdaab3n%40googlegroups.com.

Paul Ferris

unread,
Jan 16, 2026, 7:53:51 AM (3 days ago) Jan 16
to Numbas Users
Oh hell, Sorry Christian ... sent to wrong forum .  Apologies. Delete or ignore. Tanks
Reply all
Reply to author
Forward
0 new messages