emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vincent Beffara <vbeffara+ml@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: LaTeX export: Theorem with an author
Date: Thu, 7 Feb 2013 21:50:49 +0100	[thread overview]
Message-ID: <9CD440C643384D4EB0732CBE5F4161F1@gmail.com> (raw)

Hi, 

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

(possibly with brackets, not sure) but now the rest of the #+BEGIN_ line is ignored ... This works:

#+BEGIN_theorem
[Newton]
Blah.
#+END_theorem

but it is more by accident than anything else. What would be the right way?

Thanks,

/v 

-- 
Vincent Beffara

             reply	other threads:[~2013-02-08  1:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 20:50 Vincent Beffara [this message]
2013-02-08 19:58 ` LaTeX export: Theorem with an author Nicolas Goaziou
2013-02-09 13:09   ` Andreas Leha
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=9CD440C643384D4EB0732CBE5F4161F1@gmail.com \
    --to=vbeffara+ml@gmail.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 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).