[OS X TeX] Counters, Random Numbers and Exam.cls
mavanatapattu at gmail.com
Mon Aug 6 14:04:23 EDT 2007
I'm using Jason Alexander's exam.cls (sometimes called examdesign)
package to generate scripts for participants in an experiment I'm
running. I need each participant's stimuli to be generated randomly.
For this I'd normally use the lcg package. However, because of the way
exam.cls works, although randomly generated, the stimuli come out the
same for each participant.
So, my question is this: is it possible to create a counter whose name
includes another counter?
[i.e. a first guess might be something like
(I was hoping this would generate a different counter for each value
of the counter "version". It doesn't work, but maybe there is a
Alternatively, is there a way of deleting counters mid-compile, so
that when exam.cls parses the file with a different value of
"version", the counters used by lcg no longer exist?
Alternatively, is there some other way of getting lcg to generate
different random numbers for each version of a script generated by
Thanks in advance for any help,
Learning Sciences Research Institute
University of Nottingham
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX