mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #2186 from xuhdev/amsfonts
Fix LaTeX output of \mathbb in math
This commit is contained in:
commit
3543caf214
@ -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')
|
||||
|
@ -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`.
|
||||
|
Loading…
Reference in New Issue
Block a user