auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Preview width and font size, again


From: David Kastrup
Subject: Re: [AUCTeX] Preview width and font size, again
Date: Mon, 18 Aug 2008 20:05:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Evgeny Makarov <address@hidden> writes:

> I found a couple of discussions of font size and preview width on this
> list, and the advice to customize preview-scale-function to increase
> font size worked for me. I just want to give my rationale for
> this. The default font size in previews is indeed equal to the Emacs
> font size; however, x-heights may be different. For example, I use the
> buffer font called simply "monospace" in Ubuntu at size
> 12. (preview-document-pt) returns 10, and the default scale is 1.21. I
> include the screenshots of a word in preview and in the document (at
> 100% and 500%); the x-height of the word in preview is noticeably
> smaller, which gives an appearance of a smaller font.

Font size is a fuzzy concept.  A 12pt point is supposed to go well with
other 12pt fonts.  It is not a measure of actual font features.

> One other thing: section 6.2 of the Preview Manual says that
> preview-scale-function can be customized in the preview-latex group,
> but it is located in preview-appearance group.

Hm.  The groups are not really all too systematic.  Not sure how to fix
this best.

> Concerning the width, I am editing a draft document, where I don't
> want to bother about overfulls yet. Again, the preview is reasonably
> cut where the right margin begins on paper; however, for now I want it
> to be, say, 1.5 times wider so that I can see the whole formula.
>
> So, could you say how to increase the preview width?

You can say something like
\AtBeginDocument{\setlength{\textwidth}{1.5\textwidth}}

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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