Hygiene: improve Math formula print styling comment

Add an example from the Math extension showing how the print styling
rule for font family is relevant.

Bug: T181138
Change-Id: Ib5a35b7a555c898d354c16077f44acf1e50f5ebb
This commit is contained in:
Stephen Niedzielski 2018-01-16 10:00:06 -06:00
parent 08e68d600a
commit 4a969cadf6
1 changed files with 9 additions and 1 deletions

View File

@ -51,7 +51,15 @@
font-family: @font-family-sans-serif;
}
// Images, such as formulas, render best in serif.
// Images, such as formulas, render best in serif. Math fallback images, for example, have an
// inline style attribute setting their dimensions in ex (x-height) units, which is relative the
// font size:
// <img
// src="https://wikimedia.org/api/rest_v1/media/math/render/svg/d03b01348b751e6f4eaff085b3effa9542e2935d"
// class="mwe-math-fallback-image-inline"
// aria-hidden="true"
// style="vertical-align: -2.171ex; width:11.418ex; height:5.676ex;"
// alt="r_{s}={\frac {2GM}{c^{2}}}">
img {
font-family: @font-family-serif;
}