summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/exsheets/grading-table.tex
blob: 6b65f8c475e434d7bcc45ea615690ba0ab819421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\documentclass{scrartcl}
\usepackage{exsheets}

\begin{document}

\begin{question}{3}\SetQuestionProperties{points=3}
\end{question}
\begin{question}{5}\SetQuestionProperties{points=5}
\end{question}
\begin{question}{10}\SetQuestionProperties{points=10}
\end{question}
\begin{question}{8}\SetQuestionProperties{points=8}
\end{question}

\begin{tabular}{|l|*{\numberofquestions}{c|}c|}\hline
  Question & \ForEachQuestion{\QuestionNumber{#1}\iflastquestion{}{&}} & Total \\ \hline
  Points   & \ForEachQuestion{\GetQuestionProperty{points}{#1}\iflastquestion{}{&}} & \pointssum* \\ \hline
  Reached  & \ForEachQuestion{\iflastquestion{}{&}} & \\ \hline
\end{tabular}

\end{document}