This site is supported by donations to The OEIS Foundation.

Template talk:Integral/doc

From OeisWiki
Jump to: navigation, search

The integral symbols render the same in all the 3 font-families used by the {{math}} template

The {{math}} template uses font-family: 'Computer Modern', STIXGeneral, 'Times New Roman';

Integral symbols rendered using the {{math}} template.
int iint iiint oint varointclockwise ointctrclockwise oiint oiiint
Note that for int the integral symbol renders in nicer font-face (but can't be italic) than for the other integral symbols (which can be italic).
By having set the background color to white (for testing purposes) one can see that the integral symbols overflow the height (but not the width) of the character boxes. With the (nicer) font-face used for int, the integral symbol is essentially vertically centered (though slightly nudged up) about the character box. With the (not as nice) fallback font-face used for the other integral symbols, the loops (if present) sit on the baseline.


Integral symbols rendered without using the {{math}} template, with font-size: 2em;.
font-family: 'Computer Modern';
font-family: STIXGeneral;
font-family: 'Times New Roman';
int iint iiint oint varointclockwise ointctrclockwise oiint oiiint

It appears that the integral symbols are rendered with other font families (the font family for int being distinct). — Daniel Forgues 23:47, 14 March 2016 (UTC)

Nice integral symbols with font-family: 'Lucida Sans Unicode';

Integral symbols with font-family: 'Lucida Sans Unicode'; rendered using the {{math}} template.
int iint iiint oint varointclockwise ointctrclockwise oiint oiiint
By having set the background color to white (for testing purposes) one can see that the integral symbols overflow the height (and also the width, a little bit on the right) of the character boxes.

Problem solved. — Daniel Forgues 00:53, 15 March 2016 (UTC)