I'm using LuaLaTeX with the exam document class and I would like (if it's possible) to change the default layout of the grading table to be more like the tables from the booktabs package. How can I do that? I read the manual and even if the table command has many options I didn't find a way to do that. I also read a similar question about the exsheet package but the answer provided doesn't compile.
Here is a minimal working example with the tables I'd like to change at the end of it.
% !Mode:: "TeX:UTF-8"
\documentclass[a4paper,addpoints,11pt]{exam}
\usepackage{fontspec}
\usepackage{polyglossia}
\begin{document}
\begin{questions}
\question[10]
Example question
\question[20]
Example question
\question[30]
Example question
\question[40]
Example question
\question[50]
Example question
\end{questions}
\begin{center}
\pointtable[v][questions]
\end{center}
\begin{center}
\pointtable[h][questions]
\end{center}
\end{document}
And here is the result
Best Answer
The building of the tables is a little bit tricky in class
exams
. În my eyes the horizontal table is much more better.With the following MWE both table are changed. The needed changes you find in the part of the preamble, enclosed with
\makeatletter
and\makeatother
.With the result:
It would be better if the author of the class would integrate two different layouts for the tables in his class.