You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.4 KiB
41 lines
1.4 KiB
8 months ago
|
/*
|
||
|
Asana Math is released under the SIL Open Font License. See the files in this
|
||
|
directory for details. The font can be obtained from several TeX distributions
|
||
|
or package managers. The font does not seem to have a corresponding "non-MATH"
|
||
|
font, it is recommended to use a Palatino-like font for the surrounding text.
|
||
|
|
||
|
The WOFF fonts have been obtained from
|
||
|
http://mirrors.ctan.org/fonts/
|
||
|
*/
|
||
|
|
||
|
@namespace url('http://www.w3.org/1999/xhtml');
|
||
|
@namespace m url('http://www.w3.org/1998/Math/MathML');
|
||
|
|
||
|
@font-face {
|
||
|
font-family: Asana Math;
|
||
|
src: local('Asana Math'), local('Asana-Math'),
|
||
|
url('Asana-Math.woff2'), url('Asana-Math.woff');
|
||
|
}
|
||
|
|
||
|
.htmlmathparagraph, m|mtext {
|
||
|
font-family: Asana Math;
|
||
|
}
|
||
|
m|math {
|
||
|
font-family: Asana Math;
|
||
|
}
|
||
|
|
||
|
.oldstylenumbers {
|
||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */
|
||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */
|
||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */
|
||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */
|
||
|
}
|
||
|
|
||
|
@font-feature-values Asana Math { @stylistic { calligraphic: 1; } }
|
||
|
m|*.calligraphic {
|
||
|
font-variant-alternates: stylistic(calligraphic); /* Recommended syntax */
|
||
|
font-feature-settings: 'salt'; /* OpenType feature syntax */
|
||
|
-moz-font-feature-settings: 'salt'; /* Gecko <= 33 syntax */
|
||
|
-webkit-font-feature-settings: 'salt'; /* Blink syntax */
|
||
|
}
|