|Typeset2 and vertical alignment||topic started 12/8/2003; 8:46:40 AM
last post 12/8/2003; 8:46:40 AM
|Jan-Åke Larsson - Typeset2 and vertical alignment
12/8/2003; 8:46:40 AM (reads: 465, responses: 0)
|I have been playing around with the vertical alignment of formulas.|
(Images below are from my website and may not display correctly forever.)
Here is a simple equation , with no vertical alignment.
Here is the same equation , with the ALIGN="center" tag, as used in typeset2 currently.
In dvipng-0.8, there will be a command line option that gives the "depth", the number of pixels below the baseline, on stdout. Then one can align (in a CSS-aware browser) on that baseline, like so: using STYLE="vertical-align: -8px". Nice, eh?
One can give STYLE="vertical-align: -8px" ALIGN="center", which is interpreted as just the STYLE tag in my browser, and presumably as the ALIGN tag in an oldish browser.