Blob Blame History Raw
From d049b9309cf682c777a974d69bfa83f1abe5ad35 Mon Sep 17 00:00:00 2001
From: Jonathan Underwood <jonathan.underwood@gmail.com>
Date: Sat, 26 May 2018 21:15:14 +0100
Subject: [PATCH] Use MathJax TeX fonts rather than STIXWeb

---
 notebook/static/notebook/js/main.min.js     | 6 +++---
 notebook/static/notebook/js/mathjaxutils.js | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/notebook/static/notebook/js/main.min.js b/notebook/static/notebook/js/main.min.js
index a2c5832..1d1ccee 100644
--- a/notebook/static/notebook/js/main.min.js
+++ b/notebook/static/notebook/js/main.min.js
@@ -28427,10 +28427,10 @@ define('notebook/js/mathjaxutils',[
                 // we use CSS to left justify single line equations in code cells.
                 displayAlign: 'center',
                 "HTML-CSS": {
-                    availableFonts: [],
+                    availableFonts: ["TeX"],
                     imageFont: null,
-                    preferredFont: null,
-                    webFont: "STIX-Web",
+                    preferredFont: "TeX",
+                    webFont: "TeX",
                     styles: {'.MathJax_Display': {"margin": 0}},
                     linebreaks: { automatic: true }
                 },
diff --git a/notebook/static/notebook/js/mathjaxutils.js b/notebook/static/notebook/js/mathjaxutils.js
index 20dbfa9..c1020d4 100644
--- a/notebook/static/notebook/js/mathjaxutils.js
+++ b/notebook/static/notebook/js/mathjaxutils.js
@@ -26,10 +26,10 @@ define([
                 // we use CSS to left justify single line equations in code cells.
                 displayAlign: 'center',
                 "HTML-CSS": {
-                    availableFonts: [],
+                    availableFonts: ["TeX"],
                     imageFont: null,
-                    preferredFont: null,
-                    webFont: "STIX-Web",
+                    preferredFont: "TeX",
+                    webFont: "TeX",
                     styles: {'.MathJax_Display': {"margin": 0}},
                     linebreaks: { automatic: true }
                 },
-- 
2.17.0