From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX export: Theorem with an author
Date: Sat, 09 Feb 2013 14:09:07 +0100 [thread overview]
Message-ID: <877gmhab2k.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: 87txpmfuhg.fsf@gmail.com
Hi Nicolas,
>> How to generate latex code for a theorem with an author, like this:
>>
>> \begin{theorem}[Newton]
>> Blah.
>> \end{theorem}
>>
>> With the old exporter, you could do this:
>>
>>
>> #+BEGIN_theorem Newton
>> Blah.
>> #+END_theorem
>>
>>
[...]
I was not aware of that possibility in the old exporter. Neat!
>
> There's no right way at the moment: I forgot to implement this.
>
> Anyway, since this feature was LaTeX only, what do you think about the
> following syntax (which doesn't work yet):
>
> #+attr_latex: :options [Newton]
> #+begin_theorem
> Blah.
> #+end_theorem
>
> It is heavier but it seems more consistent to me.
Even if it *was* LaTeX only, shouldn't it be up to the backend to
provide translation of such arguments? I'd vote for the shorter version
to have a (possibly future) backend-agnostic version.
Just my 2ct.
- Andreas
next prev parent reply other threads:[~2013-02-09 13:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-07 20:50 LaTeX export: Theorem with an author Vincent Beffara
2013-02-08 19:58 ` Nicolas Goaziou
2013-02-09 13:09 ` Andreas Leha [this message]
2013-02-09 13:16 ` Nicolas Goaziou
2013-02-09 13:30 ` Andreas Leha
2013-02-10 23:26 ` Vincent Beffara
2013-02-11 7:02 ` Nicolas Goaziou
2013-02-11 22:07 ` Vincent Beffara
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877gmhab2k.fsf@med.uni-goettingen.de \
--to=andreas.leha@med.uni-goettingen.de \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).