emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Defining new structural markup element


From: Levy, Roger
Subject: Re: [O] Defining new structural markup element
Date: Wed, 14 Dec 2011 19:06:48 +0000

Thanks so much, Viktor, this is exactly what I wanted!

Best

Roger

On Dec 14, 2011, at 1:08 PM EST, Viktor Rosenfeld wrote:

> 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
>> 
>> 

--

Roger Levy                      Email: address@hidden
Assistant Professor             Phone: 858-534-7219
Department of Linguistics       Fax:   858-534-4789
UC San Diego                    Web:   http://idiom.ucsd.edu/~rlevy












reply via email to

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