Skip to content

Commit ca7bfb2

Browse files
committed
experiment: use Latin Modern Math
1 parent 897ae52 commit ca7bfb2

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

css/ar5iv-fonts.css

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:[email protected]');
22
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400..700;1,400..700');
33
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400..700;1,400..700');
4-
@import url('https://fonts.googleapis.com/css2?family=STIX+Two+Math');
4+
@import url('https://fonts.cdnfonts.com/css/latin-modern-math');
55

66
/*======================================================================
77
Fallback fonts -- check locally if CDN access is blocked. */
@@ -70,10 +70,4 @@
7070
font-family: "Noto Serif Fallback";
7171
font-style: normal;
7272
src: local("Noto Serif"),
73-
local("NotoSerif-Regular"); }
74-
@font-face {
75-
font-display: fallback;
76-
font-family: "STIX Two Math Fallback";
77-
font-style: normal;
78-
src: local("STIX Two Math"),
79-
local("STIXTwoMath-Regular"); }
73+
local("NotoSerif-Regular"); }

css/ar5iv.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
/* fonts */
77
--headings-font-family: "Noto Sans", "Noto Sans Fallback", sans-serif;
88
--text-font-family: "Noto Serif", "Noto Serif Fallback", serif;
9-
--math-font-family: "STIX Two Math", "STIX Two Math Fallback", "Cambria Math", math;
9+
--math-font-family: "latin modern math", "Cambria Math", math;
1010
/* Should we do anything special for caligraphic?
1111
e.g. "Lucida Calligraphy","Zapf Chancery","URW Chancery L", TeX Gyre Termes...*/
12-
--math-caligraphic-font-family: "STIX Two Math", "STIX Two Math Fallback", "Cambria Math", math;
12+
--math-caligraphic-font-family: "latin modern math", "Cambria Math", math;
1313
--code-font-family: "Noto Sans Mono", "Noto Sans Mono Fallback", monospace;
1414
/* default color theme is light */
1515
--background-color: white;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ar5iv-css",
3-
"version": "0.7.9",
3+
"version": "0.8.0",
44
"description": "Experimental CSS to style arXiv articles converted with LaTeXML",
55
"main": "ar5iv.css",
66
"repository": "[email protected]:dginev/ar5iv-css.git",

0 commit comments

Comments
 (0)