diff --git a/docs/calculators/manybody.ipynb b/docs/calculators/manybody.ipynb index b73ea357..a1af096a 100644 --- a/docs/calculators/manybody.ipynb +++ b/docs/calculators/manybody.ipynb @@ -9,24 +9,24 @@ "\n", "`matscipy` implements support for generic manybody potentials. The class `matscipy.calculators.manybody.Manybody` implements the functional form\n", "\n", - "$$\n", + "```{math}\n", " U\n", " =\n", " \\frac{1}{2}\n", " \\sum_{\\substack{ij\\\\ i\\neq j}}\n", " U_2(r^2_{ij}) + U_\\text{m}(r^2_{ij}, \\xi_{ij})\n", - "$$\n", + "```\n", "\n", "with\n", "\n", - "$$\n", + "```{math}\n", " \\xi_{ij} \n", " = \n", " \\sum_{\\substack{k\\\\ k\\neq i,j}} \n", " \\Xi(r^2_{ij}, r^2_{ik}, r^2_{jk})\n", - "$$\n", + "```\n", "\n", - "as described, e.g. by [Müser et al.](https://doi.org/10.1080/23746149.2022.2093129) and [Grießer et al.](https://doi.org/10.48550/arXiv.2302.08754). On top of energies and forces, the calculator can compute second derivatives (with respect to positions and strain degrees of freedom). Explicit functional forms of $U_2$, $U_\\text{m}$ and $\\Xi$ are implemented for a number of potential." + "as described, e.g. by [Müser et al.](https://doi.org/10.1080/23746149.2022.2093129) and [Grießer et al.](https://doi.org/10.48550/arXiv.2302.08754). On top of energies and forces, the calculator can compute second derivatives (with respect to positions and strain degrees of freedom). Explicit functional forms of {math}`U_2`, {math}`U_\\text{m}` and {math}`\\Xi` are implemented for a number of potential." ] }, { diff --git a/docs/conf.py b/docs/conf.py index 0344704a..9e535e28 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -42,6 +42,7 @@ 'sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx.ext.autosummary', + 'sphinx.ext.mathjax', 'myst_nb' ]