/*
The Latin Modern fonts are released under the GUST font license, which is
legally equivalent to the LaTeX Project Public License. See the files in this
directory for details. The fonts can be obtained from several TeX distributions
or package managers.

The WOFF fonts have been obtained from
http://www.gust.org.pl/projects/e-foundry/
*/

@namespace url('http://www.w3.org/1999/xhtml');
@namespace m url('http://www.w3.org/1998/Math/MathML');

/* Latin Modern Roman has various sizes. We use the generic name
   "Latin Modern Roman" for the local versions and "LMRoman12" for the Web font.
*/
@font-face {
    font-family: LMRoman12;
    src: url('lmroman12-regular.woff2'), url('lmroman12-regular.woff');
}
@font-face {
    font-family: LMRoman12;
    src: url('lmroman12-bold.woff2'), url('lmroman12-bold.woff');
    font-weight: bold;
}
@font-face {
    font-family: LMRoman12;
    src: url('lmroman12-italic.woff2'), url('lmroman12-italic.woff');
    font-style: italic;
}
@font-face {
    font-family: Latin Modern Math;
    src: local('Latin Modern Math'), local('LatinModernMath-Regular'),
         url('latinmodern-math.woff2'), url('latinmodern-math.woff');
}

.htmlmathparagraph, m|mtext {
    font-family: Latin Modern Roman, LMRoman12;
}
m|math {
    font-family: Latin Modern 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 */
}

/* Calligraphic letters do not seem to be available */
m|*.calligraphic {
}
