auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Preview of non-math macros


From: Christian Stork
Subject: Re: [AUCTeX] Preview of non-math macros
Date: Wed, 1 Nov 2006 16:45:06 +0100
User-agent: Mutt/1.5.11

On Wed, Nov 01, 2006 at 01:02:37PM +0100, David Kastrup wrote:
> Christian Stork <address@hidden> writes:

> > There must be an easy way to say that preview should create previews for
> > all macros \xyz{...} and not only the usual math/figures/...

> > How do I do this?

> (info "(preview-latex) Simple Customization")
>                                              ^ Press C-x C-e here

> Scroll down to "preview your favorite LaTeX constructs".

Thank you.  Very impressive.  Don't know how I missed that...

Just an idea:  Many of my macros have an enclosing \ensuremath{..}.  I
often use these macros then in my text outside of $..$.  It seems like a
great feature if preview-latex could offer an option to automatically
register these macros for preview.


I noticed two problems on "GNU Emacs 22.0.50.1
(i386-apple-darwin8.8.1, Carbon Version 1.6.0)
 of 2006-10-21 on petit.local"

1)

In preamble:

\newcommand{\DEF}[1]{\textbf{#1}} 

In document body:

\DEF{$\Gamma$-scoped}


Then the gamma appears after the closing brace  (where \DEF is not
previewed).

2)

figure previews are missing the caption


Thanks for your work,
Chris
-- 
Chris Stork   <>  Support eff.org!  <>   http://www.ics.uci.edu/~cstork/
OpenPGP fingerprint:  B08B 602C C806 C492 D069  021E 41F3 8C8D 50F9 CA2F




reply via email to

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