On Tue, Oct 30, 2001 at 05:24:50PM +0100, Herbert Voss wrote:
> Kenward Vaughan wrote:
> >
> > I use multiple choice questions in some of my exams which are graded by
> > machine (scantron). The form is limited to 5 choices (A-E), but one can
> > extend this by allowing choices such as AB, AC, or BCE (all the way out to
> > ABCDE :).
> >
> > Is there any way to define such a sequence which would then get used when
> > enumeration is chosen for my questions? (Yes, there are times when I have
> > _many_ answers offered, much to my students' dismay. :(
> >
> > Currently I find myself defining tables to manage the issue.
>
> in preamble or in text in red
>
> \renewcommand\labelenumi{\Alph{enumi}}
> \renewcommand\labelenumii{\Alph{enumi}\Alph{enumii}}
> and so on ...
Thanks, Herbert! I was sure there was no way to approach this, but your
suggestion gets really close. I found that including the second line
(slightly modified) at the end of the point where I want this to happen
nearly gives the desired results. Here's the result:
1. test 1
(a) ans 1
(b) ans 2
(c) ans 3
(d) ans 4
(e) ans 5\renewcommand\labelenumii{(\alph{enumi}\alph{enumii})}
(f) ans 6
(g) ans 7
comes out as
1. test 1
(a) ans 1
(b) ans 2
(c) ans 3
(d) ans 4
(e) ans 5
(af) ans 6
(ag) ans 7
where I need
1. test 1
(a) ans 1
(b) ans 2
(c) ans 3
(d) ans 4
(e) ans 5
(ab) ans 6
(ac) ans 7
...
(bc) ---
(bd) ---
...
(cd) ---
(ce) ---
...
(abc) ---
(abd) ---
etc.
I recognize it may be painful, but I have no problem defining shortcut latex
commands in the preamble to make life much easier in the body of the text.
(Most questions I write have only 5 choices.) It would become a template, of
course.. :)
Thanks,
Kenward
--
Small is the number of them that see with their own eyes and
feel with their own hearts. Albert Einstein