QuantEcon / sphinxcontrib-jupyter

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

ENH: Add support for LaTeX preamble in notebooks #36

Closed mmcky closed 5 years ago

mmcky commented 6 years ago

Some notebooks in the rst2ipynb collection have a LaTeX preamble such as

$$
\def\CC{\bf C}
\def\QQ{\bf Q}
\def\RR{\bf R}
\def\ZZ{\bf Z}
\def\NN{\bf N}
$$

it would be good to add support for this in the sphinx extension. This could be useful https://github.com/jupyter/notebook/issues/534

natashawatkins commented 6 years ago

We probably should substitute \RR with \mathbb{R}

mmcky commented 5 years ago

We have removed the need to use custom latex preambles for mathjax at QuantEcon. So unless anyone else needs this to be implemented. I might close this issue.