Merge pull request #2186 from xuhdev/amsfonts

Fix LaTeX output of \mathbb in math
This commit is contained in:
Takeshi KOMIYA 2015-12-22 10:28:15 +09:00
commit 3543caf214
2 changed files with 5 additions and 0 deletions

View File

@ -214,3 +214,4 @@ def setup_math(app, htmlinlinevisitors, htmldisplayvisitors):
app.add_role('eq', eq_role)
app.add_directive('math', MathDirective)
app.connect('doctree-resolved', number_equations)
app.add_latex_package('amsfonts')

View File

@ -19,4 +19,8 @@ This is inline math: :math:`a^2 + b^2 = c^2`.
e^{ix} = \cos x + i\sin x
.. math::
n \in \mathbb N
Referencing equation :eq:`foo`.