[Top][All Lists]

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

Re: [AUCTeX] Preview: baselines and dvi specials

From: Andrew Hoefel
Subject: Re: [AUCTeX] Preview: baselines and dvi specials
Date: Mon, 6 Oct 2008 13:57:04 -0300

Great. It's nice to know the units and the lyx option. From the lyx
output, it seems like only
the last three numbers are relevant. I take it that they are line height, depth
and width? So the baseline as a percentage of total height is
depth/(height + depth)?

Thanks a lot for the quick reply, David.


>> I'm trying to use the preview package for taking latex equations and
>> converting them to svg through dvi. There are a lot of drivers that
>> produce svg files, but I can't find one that produces baseline
>> information. Dvipng, on the other hand, does give baseline
>> information.
>> My understanding is that the tightpage option spits out dvi specials
>> and this is how dvipng computes its baseline. Is this right?
> Pretty much.
>> I'm looking at specials like the following:
>> ps::-32891 -32891 32891 32891 521949 0 945438
>> Can anyone tell me how to interpret these numbers?
> They are measured in scaled points (1pt/65536).  Basically, they are the
> same numbers that are reported on the console if you pass the "lyx"
> option to preview.
>> Also, it is best for dvi drivers to read these specials, or could an
>> option to preview be made to report baselines?
> A DVI driver might want to rely on the specials.  The reporting option
> is already there for the sake of LyX if you prefer that.
> --
> David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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