Skip to main content

Sphinx extension to let you write LaTeX math using $$

Project description

sphinx-math-dollar is a Sphinx extension to let you write LaTeX math using $$.

To enable install it

pip install sphinx-math-dollar

or

conda install sphinx-math-dollar

Then in your conf.py, add 'sphinx_math_dollar' to your extensions list:

extensions = ['sphinx_math_dollar', 'sphinx.ext.mathjax']

You will now be able to use dollar signs for math, like $\int\sin(x)\,dx$, which will produce $intsin(x),dx$ (if you are reading this on GitHub, look at the version built by Sphinx here). The usual Sphinx :math: directive will also continue to work.

The extension will also work with docstrings when combined with the sphinx.ext.autodoc extension.

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx-math-dollar-1.0.tar.gz (20.5 kB view hashes)

Uploaded Source

Built Distribution

sphinx_math_dollar-1.0-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page