8000 GitHub - pascalmolin/sphinx-mathenv: Usual theorem-like math environments in Sphinx
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pascalmolin/sphinx-mathenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sphinx-mathenv

Usual theorem-like math environments in Sphinx.

Usage

In conf.py

extensions = [
  # maybe 'sphinxcontrib.katex',
  'sphinxcontrib.mathenv',
  ]

In any file:

.. th:: Dirichlet

   If $a$ is coprime to $m$, there exist infinitely many primes $p$
   congruent to $a$ mod $m$.

.. cor::

   There are infinitely many primes whose last digits are $2019$.

.. proof::

   Take $m=10000$ and $a=2019$.

Alternatives

There exist an extension sphinxcontrib-proof which seems much better designed. I suggest you give it a try.

About

Usual theorem-like math environments in Sphinx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0