From: John Rakestraw <lists@johnrakestraw.com>
To: emacs-orgmode@gnu.org
Subject: question about export to latex
Date: Wed, 25 Nov 2009 16:37:32 -0500 [thread overview]
Message-ID: <20091125163732.14606fbf@johnrakestraw.com> (raw)
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 other threads:[~2009-11-25 21:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091125163732.14606fbf@johnrakestraw.com \
--to=lists@johnrakestraw.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.