emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] LaTeX export: Theorem with an author


From: Andreas Leha
Subject: Re: [O] LaTeX export: Theorem with an author
Date: Sat, 09 Feb 2013 14:09:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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




reply via email to

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