Kaynağa Gözat

Merge pull request #748 from jasongrout/mathjax2

Update MathJax config to mirror notebook.
Steven Silvester 8 yıl önce
ebeveyn
işleme
c9a8355049
1 değiştirilmiş dosya ile 9 ekleme ve 1 silme
  1. 9 1
      src/renderers/latex.ts

+ 9 - 1
src/renderers/latex.ts

@@ -173,7 +173,15 @@ function init() {
     displayAlign: 'center',
     CommonHTML: {
        linebreaks: { automatic: true }
-     }
+     },
+    'HTML-CSS': {
+        availableFonts: [],
+        imageFont: null,
+        preferredFont: null,
+        webFont: 'STIX-Web',
+        styles: {'.MathJax_Display': {'margin': 0}},
+        linebreaks: { automatic: true }
+    },
   });
   MathJax.Hub.Configured();
 }