Debian Codegraph @

texmf-dist/doc/latex/exsheets/grading-table.tex

raw
1 % ----------------------------------------------------------------------------
2 % the EXSHEETS package
3 %
4 % Yet another package for the creation of exercise sheets
5 %
6 % ----------------------------------------------------------------------------
7 % Clemens Niederberger
8 % Web: http://www.mychemistry.eu/forums/forum/exsheets
9 % E-Mail: [email protected]
10 % ----------------------------------------------------------------------------
11 % Copyright 2011-2017 Clemens Niederberger
12 %
13 % This work may be distributed and/or modified under the
14 % conditions of the LaTeX Project Public License, either version 1.3
15 % of this license or (at your option) any later version.
16 % The latest version of this license is in
17 % http://www.latex-project.org/lppl.txt
18 % and version 1.3 or later is part of all distributions of LaTeX
19 % version 2005/12/01 or later.
20 %
21 % This work has the LPPL maintenance status `maintained'.
22 %
23 % The Current Maintainer of this work is Clemens Niederberger.
24 % ----------------------------------------------------------------------------
25 % If you have any ideas, questions, suggestions or bugs to report, please
26 % feel free to contact me.
27 % ----------------------------------------------------------------------------
28 \documentclass{scrartcl}
29 \usepackage{exsheets}
30
31 \begin{document}
32
33 \begin{question}{3}
34 \end{question}
35 \begin{question}{5}
36 \end{question}
37 \begin{question}{10}
38 \end{question}
39 \begin{question}{8}
40 \end{question}
41
42 \begin{tabular}{|l|*{\numberofquestions}{c|}c|}\hline
43 Question & \ForEachQuestion{\QuestionNumber{#1}\iflastquestion{}{&}} & Total \\ \hline
44 Points & \ForEachQuestion{\GetQuestionProperty{points}{#1}\iflastquestion{}{&}} & \pointssum* \\ \hline
45 Reached & \ForEachQuestion{\iflastquestion{}{&}} & \\ \hline
46 \end{tabular}
47
48 \end{document}