Skip to content

Commit bd8d23d

Browse files
committed
Change MathJax fonts from STIX-Web to TeX
1 parent 406be47 commit bd8d23d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

notebook/static/base/js/mathjaxutils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ define([
3232
availableFonts: [],
3333
imageFont: null,
3434
preferredFont: null,
35-
webFont: "STIX-Web",
35+
webFont: "TeX",
3636
styles: {'.MathJax_Display': {"margin": 0}},
3737
linebreaks: { automatic: true }
3838
},

setupbase.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ def find_package_data():
187187

188188
for tree in trees + [
189189
mj('localization'), # limit to en?
190-
mj('fonts', 'HTML-CSS', 'STIX-Web', 'woff'),
190+
mj('fonts', 'HTML-CSS', 'TeX', 'woff'),
191191
mj('extensions'),
192192
mj('jax', 'input', 'TeX'),
193-
mj('jax', 'output', 'HTML-CSS', 'fonts', 'STIX-Web'),
194-
mj('jax', 'output', 'SVG', 'fonts', 'STIX-Web'),
193+
mj('jax', 'output', 'HTML-CSS', 'fonts', 'TeX'),
194+
mj('jax', 'output', 'SVG', 'fonts', 'TeX'),
195195
mj('jax', 'element', 'mml'),
196196
]:
197197
for parent, dirs, files in os.walk(tree):

0 commit comments

Comments
 (0)