At the moment I am writing a template used for homework. For style reasons, I would like to have a title page with a table containing all maximum points per exercise and free space, for the number of points I got.
I defined an own theorem-environment
exercise that becomes the maximum amount of points possible in this
exercise. e.g. an
exercise with 4 points maximum
Some text here...
I can use this number (stored as a counter) later in the document, but I would like to have the table as first page.
Is it possible to access a value before it is defined? Something like the table-of-contents would be ok. First compilation all values are stored, the table shows zeroes. Second compilation, the table shows the correct numbers.
In short words, I would like to see something like in the
exam class, where you are able to define points and they are shown on titlepage. But since our exercises are quite more complex, I would like to use my own package and replicate this mechanic.