Skip to content

Commit 4bf729a

Browse files
committed
fix pdf output
1 parent dbee9c5 commit 4bf729a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@
3434
}
3535

3636
jupyter_sphinx_thebelab_config = {"binderOptions": {"repo": "jupyter/jupyter-sphinx"}}
37+
38+
latex_engine = 'xelatex'

doc/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ LaTeX output:
9595
.. jupyter-execute::
9696

9797
from IPython.display import Latex
98-
Latex('∫_{-∞}^∞ e^{-x²}dx = \sqrt{π}')
98+
Latex('\int_{-\infty}^\infty e^{-x²}dx = \sqrt{\pi}')
9999

100100
or even full-blown javascript widgets:
101101

0 commit comments

Comments
 (0)