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 <[EMAIL PROTECTED]> 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.
_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to