[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] loading package only in preview-latex
From: |
Ivan Andrus |
Subject: |
Re: [AUCTeX] loading package only in preview-latex |
Date: |
Tue, 8 May 2012 16:42:42 +0200 |
Tamas,
In preview.sty there is a \let\ifPreview\iffalse or \iftrue when
active. So if you are always including preview.sty (and just not
passing the active option), then you can simply use
\ifPreview
\usepackage{euler}
\endif
Otherwise you will have to check if it's defined first.
-Ivan
On Apr 26, 2012, at 9:01 AM, Tamas Papp wrote:
> Hi,
>
> I like to
>
> \usepackage{euler}
>
> with preview-latex inside Emacs because I find its fonts much more
> readable on the screen, but I would like to keep using the standard
> LaTeX fonts when I compile to PDF. Is there a way I can automate
> this, ie load euler in the preamble only for preview-latex?
>
> Best,
>
> Tamas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [AUCTeX] loading package only in preview-latex,
Ivan Andrus <=