Hi --

I'm trying to construct an org-export-latex-class to use with Philip
Hirschhorn's exam.cls (http://www-math.mit.edu/~psh/#ExamCls). The
basic structure required in the tex file is this:

\begin{questions}
\question
Here's question 1.
\begin{parts}
\part
Here's part a of question 1.
\part
Here's part b of question 1.
\end{parts}
\question
Here's question 2.
\end{questions}

My question is how do I write the class to account for the opening and
closing of the question/part environments and also designate each
individual question/part element. I'm now working with this:

****
       ("\\begin{questions}" "\\end{questions}" "\\begin{questions}" \\
"\\end{questions}") ("\\question" . "\\question*")
       ("\\begin{parts}" "\\end{parts}" "\\begin{parts}" \\
       "\\end{parts}") ("\\part" . "\\part*"))
****

but that (a) seems inelegant and (b) introduces a problematic blank
line in the resulting tex file that messes up the numbering scheme in
the resulting pdf.

I'd appreciate any advice and/or pointers to help on this one.

Thanks.

-- 
John Rakestraw


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to