[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Preview of non-math macros
From: |
David Kastrup |
Subject: |
Re: [AUCTeX] Preview of non-math macros |
Date: |
Wed, 01 Nov 2006 17:28:12 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Christian Stork <address@hidden> writes:
> 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.
You can try \PreviewMacro[!]\ensuremath and see where this takes you.
> 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).
That is as expected.
(info "(preview-latex) Misplaced previews")
> 2)
>
> figure previews are missing the caption
That does not usually happen without using extra packages.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- [AUCTeX] Preview of non-math macros, Christian Stork, 2006/11/01
- Re: [AUCTeX] Preview of non-math macros, David Kastrup, 2006/11/01
- Re: [AUCTeX] Preview of non-math macros, Christian Stork, 2006/11/01
- Re: [AUCTeX] Preview of non-math macros,
David Kastrup <=
- Re: [AUCTeX] Preview of non-math macros, Christian Stork, 2006/11/01
- Re: [AUCTeX] Preview of non-math macros, David Kastrup, 2006/11/01
- Re: [AUCTeX] Preview of non-math macros, Christian Stork, 2006/11/01
- Re: [AUCTeX] Preview of non-math macros, David Kastrup, 2006/11/01
- Re: [AUCTeX] Preview of non-math macros, Christian Stork, 2006/11/01