Skip to content

Commit

Permalink
DOC: Fixed math display
Browse files Browse the repository at this point in the history
  • Loading branch information
pastewka committed Jul 4, 2023
1 parent 8e44bfc commit 8464655
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/calculators/manybody.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
]
},
{
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.autosummary',
'sphinx.ext.mathjax',
'myst_nb'
]

Expand Down

0 comments on commit 8464655

Please sign in to comment.