On Fri, Nov 14, 2008 at 8:35 PM, Sebastian Wiesner
<[EMAIL PROTECTED]> wrote:
> Image a formula containing only lowercase letters (e.g. "a + c").  Centering
> such an image would center the lowercase "a" on the line, which is certainly
> not, what you want.  Even more problematic are formulas like "g + a", which
> contain letters reaching below the baseline.  Centering this image would
> center "g" on line, making it look more like "9" than like "g".

Instead of imagining things, I've tested how middle alignment actually
looks when rendered by a browser :-) At least in Firefox and IE, it
does look much better most of the time. Lowercase letters do not
significantly float away from where they should be. On the contrary,
without setting middle alignment, most formulas end up floating far
above the text baseline.

See here for an example (rendered with Firefox):
http://www.dd.chalmers.se/~frejohl/vertical_align.png

The view right on the right is what I get after manually editing in
middle alignment into the HTML.

It's not always perfect, but it really is much better most of the
time. Defining img.tex { vertical-align: middle; } is also precisely
what Wikipedia does.

> On my system, these options worsen the readability of the rendered formulas,
> as they become overly large compared with surrounding text.  The effect of "-
> gamma 1.5" isn't really clear to me, I didn't notice any real difference.

There perhaps isn't a big difference with the increased resolution; I
didn't test. gamma 1.5 does make the text visibly thicker if you keep
the default resolution.

Fredrik

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to