diff --git a/css/ar5iv-fonts.css b/css/ar5iv-fonts.css index ea573c1..597e6af 100644 --- a/css/ar5iv-fonts.css +++ b/css/ar5iv-fonts.css @@ -1,7 +1,7 @@ @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@400..700'); @import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400..700;1,400..700'); @import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400..700;1,400..700'); -@import url('https://fonts.googleapis.com/css2?family=STIX+Two+Math'); +@import url('https://fonts.cdnfonts.com/css/latin-modern-math'); /*====================================================================== Fallback fonts -- check locally if CDN access is blocked. */ @@ -70,10 +70,4 @@ font-family: "Noto Serif Fallback"; font-style: normal; src: local("Noto Serif"), - local("NotoSerif-Regular"); } - @font-face { - font-display: fallback; - font-family: "STIX Two Math Fallback"; - font-style: normal; - src: local("STIX Two Math"), - local("STIXTwoMath-Regular"); } \ No newline at end of file + local("NotoSerif-Regular"); } \ No newline at end of file diff --git a/css/ar5iv.css b/css/ar5iv.css index 7ffdf5f..4563513 100644 --- a/css/ar5iv.css +++ b/css/ar5iv.css @@ -6,10 +6,10 @@ /* fonts */ --headings-font-family: "Noto Sans", "Noto Sans Fallback", sans-serif; --text-font-family: "Noto Serif", "Noto Serif Fallback", serif; - --math-font-family: "STIX Two Math", "STIX Two Math Fallback", "Cambria Math", math; + --math-font-family: "latin modern math", "Cambria Math", math; /* Should we do anything special for caligraphic? e.g. "Lucida Calligraphy","Zapf Chancery","URW Chancery L", TeX Gyre Termes...*/ - --math-caligraphic-font-family: "STIX Two Math", "STIX Two Math Fallback", "Cambria Math", math; + --math-caligraphic-font-family: "latin modern math", "Cambria Math", math; --code-font-family: "Noto Sans Mono", "Noto Sans Mono Fallback", monospace; /* default color theme is light */ --background-color: white; diff --git a/package.json b/package.json index 22ea073..1fd62c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ar5iv-css", - "version": "0.7.9", + "version": "0.8.0", "description": "Experimental CSS to style arXiv articles converted with LaTeXML", "main": "ar5iv.css", "repository": "git@github.com:dginev/ar5iv-css.git",