bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 11.82; Font sizes in previews too small on Windows Emac


From: Andrej Škraba
Subject: Re: [Bug-AUCTeX] 11.82; Font sizes in previews too small on Windows Emacs
Date: Sun, 25 May 2008 15:15:27 -0700

One of the possible solutions would be:


Go to Emacs (in latex-mode) to the menu: 1. Preview / Customize / Extend this menu 2. Preview / Customize / Preview... / Preview Appearance / Go to Group / Then set: Preview Scale Function / Value Menu / Number / set this value to 2

Then click on the State button an save the settings.

This should solve the problem of too small fonts in the Emacs AUCTeX preview.


Shorter way would be to put the following lines to the .emacs file (this one has to be tested, above works):

 

(custom-set-variables

  ;; custom-set-variables was added by Custom.

  ;; If you edit it by hand, you could mess it up, so be careful.

  ;; Your init file should contain only one such instance.

  ;; If there is more than one, they won't work right.

 '(preview-scale-function 2))

(custom-set-faces

  ;; custom-set-faces was added by Custom.

  ;; If you edit it by hand, you could mess it up, so be careful.

  ;; Your init file should contain only one such instance.

  ;; If there is more than one, they won't work right.

 )

Best regards, Andrej.

Original Message:

Ralf Angeli <address@hidden> writes:

> The following screenshot shows part of circ.tex and the font size in
> the previews seems to be too small compared to the font used in Emacs:
>
>
>
>
> I haven't had time to investigate this more closely. Maybe someone
> has an idea right away about what is causing this or knows if this is
> a known bug.

Getting the font size right has been a bit problematic on several
platforms.

It usually is because of a discrepance of the size of fonts as
demanded from the display engine and the actual size displayed.

In short: it is possible that preview-latex obeys the demanded font
size, while nobody else does.

If you select other fonts for the buffer and regenerate, is
preview-latex always "wrong" in the same manner? In that case the
geometry might be off-kilter.

Most other packages won't be nearly as sensitive to that.


reply via email to

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