emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] question about export to latex


From: John Rakestraw
Subject: [Orgmode] question about export to latex
Date: Wed, 25 Nov 2009 16:37:32 -0500

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]