summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/exsheets/grading-table.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/exsheets/grading-table.tex')
-rw-r--r--Master/texmf-dist/doc/latex/exsheets/grading-table.tex22
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/exsheets/grading-table.tex b/Master/texmf-dist/doc/latex/exsheets/grading-table.tex
new file mode 100644
index 00000000000..85239f69181
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/exsheets/grading-table.tex
@@ -0,0 +1,22 @@
+\documentclass{scrartcl}
+\usepackage{exsheets}
+\DeclareQuestionProperty{points}
+
+\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} \ No newline at end of file