When I compile the following LaTeX code on my computer (macOS 10.14.5, running MacTeX-2019 which I just updated):
\documentclass[addpoints,11pt]{exam}
\begin{document}
\pointtable
\begin{questions}
\question[12] Why is the earth round?
\question[12] Why is the sky blue?
\end{questions}
\end{document}
I get the following output, with the "Total:" column incorrectly right-aligned and everything else correct.
If I compile exactly the same code on ShareLatex, I get this:
with the "Total:" column correctly centered.
Any idea what might be causing this? Here is the pdftex output from my local machine:
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./bad.tex
LaTeX2e <2018-12-01>
(/usr/local/texlive/2019/texmf-dist/tex/latex/exam/exam.cls
Document Class: exam 2017/12/17 Version 2.603 by Philip Hirschhorn
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/size11.clo))) (./bad.aux)
[1{/usr/local/texlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
This exam contains 2 questions with 0 parts, 0 subparts, and 0 subsubparts.
This exam has a total of 24 points.
This exam has a total of 0 bonus points.
(./bad.aux) )</usr/local/texlive/2019/texmf-dist/fonts/type1/public/amsfonts/cm
/cmr10.pfb>
Output written on bad.pdf (1 page, 15814 bytes).
Transcript written on bad.log.