[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Defining new structural markup element
From: |
Viktor Rosenfeld |
Subject: |
Re: [O] Defining new structural markup element |
Date: |
Wed, 14 Dec 2011 19:08:51 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
the Worg page on LaTeX publishing covers this under "Block-level Markup"
and "Inline Markup":
http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-2
http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-3
Haven't tried it myself so far (but planning to do so).
Cheers,
Viktor
Levy, Roger wrote:
> Hi,
>
> I'm a relative org newbie and I expect that this question is answered
> somewhere in the manual, but I've searched and I can't find the answer.
>
> I would like to define a new structural markup element for an org file and
> specify its translation into latex. e.g., I'd like to be able to put in my
> document
>
> #+begin_foo
> bar
> #+end_foo
>
> and have this translated into LaTeX as something like
>
> \em
> bar
> \em
>
> but I'd like to be able to flexibly specify the LaTeX commands inserted at
> the beginning and end of the "foo" block. Is there an easy way to do this?
>
> Best & many thanks in advance!
>
> Roger
>
>