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

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to