emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] defining LaTeX macros that work inline and at export


From: Russell Adams
Subject: Re: [Orgmode] defining LaTeX macros that work inline and at export
Date: Thu, 21 May 2009 12:28:01 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

Couldn't you use the {{{macro}}} expansion in the export header? I
believe you can make your own.

On Thu, May 21, 2009 at 05:13:41PM +0000, Gray Calhoun wrote:
> Hi Everyone,
> 
>   I'd like to define LaTeX macros that display correctly when they're
> embedded in an org file and are preserved when I export that file to LaTeX.
> Right now,  I've added the LaTeX macros to org-format-latex-header, and 
> repeated the macros in a #+LATEX_HEADER: comment.  The two drawbacks of this
> approach are that I'd prefer to have most of the macros be file-specific and 
> that I'd like to avoid duplicating these LaTeX commands.
> 
> Is there a better way to do this?  (I'm currently using org-mode version 6.25d
> and GNU Emacs 22.2.1).
> 
> After reflecting on this a bit more, I thought of the following work around: 
> it seems like I should be able to define a separate text file that lists all
> of the LaTeX macros and include it in both places with \input.  That's a 
> little
> ugly and only addresses the duplication issue, though.  Any suggestions would 
> be welcome!
> 
> Best,
> Gray
> 
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 


------------------------------------------------------------------
Russell Adams                            address@hidden

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3




reply via email to

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