* question about export to latex
@ 2009-11-25 21:37 John Rakestraw
0 siblings, 0 replies; only message in thread
From: John Rakestraw @ 2009-11-25 21:37 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-25 21:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-25 21:37 question about export to latex John Rakestraw
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.