QuantEcon / sphinxcontrib-jupyter

A Sphinx Extension for Generating Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
77 stars 23 forks source link

ENH: Support custom mathjax preamble #33

Closed mmcky closed 5 years ago

mmcky commented 6 years ago

Custom mathjax macros can be added in html such as.

// Declare MathJax Macros for the Appropriate Macros
MathJax.Hub.Config({
  TeX: {
    Macros: {
        Var:     "\\mathop{\\mathrm{Var}}",
        trace:   "\\mathop{\\mathrm{trace}}",
     }
   }

Can custom mathjax macros be supported in Jupyter notebooks?

mmcky commented 5 years ago

See #165