diff --git a/docs/2_coordinates.md b/docs/2_coordinates.md index b668087cd9c9bca735e09b88da41c5daf2d36d3b..d546eb42e5aa81e0e2c1af110f672bec8738ec2f 100644 --- a/docs/2_coordinates.md +++ b/docs/2_coordinates.md @@ -43,7 +43,7 @@ infinitesimal volumes $dV$ are given as: The formula for $dV$ also indicates that in Cartesian coordinates, the integral over a volume can be expressed as individual integrals over all coordinate directions: -$$\int dV = \idotsint dx_1 dx_2 \ldots dx_N$$. +$$\int dV = \idotsint dx_1 dx_2 \ldots dx_N.$$ Cartesian coordinates are used a lot and they are particularly suitable for infinite spaces or for rectangular volumes. @@ -69,8 +69,8 @@ In polar coordinates, the radius $r$ has a dimension of *length*, but the angular coordinate $\varphi$ is dimensionless. <figure markdown> -  - <figcaption>In this example of a polar plot, you can distinguish the radial coordinate (0.2, 0.4 etc.) from the angular one expressed in degrees ($0^\circ$, $45^\circ$ etc.).</figcaption> +  + <figcaption>In this example of a polar plot, you can distinguish the radial coordinate $( 0.2, 0.4, \text{ etc.. })$ from the angular one expressed in degrees $( 0^\circ, 45^\circ, \text{ etc..} )$</figcaption> </figure> diff --git a/docs/scripts/mathjaxhelper.js b/docs/scripts/mathjaxhelper.js index b948d6e652731a0a18b9954ee9f92bd076dd9085..034d4d89a7965e41fc150344a5c3c50bc3bb5928 100644 --- a/docs/scripts/mathjaxhelper.js +++ b/docs/scripts/mathjaxhelper.js @@ -1,9 +1,8 @@ MathJax.Hub.Config({ - jax: ["input/TeX" , "output/SVG"], + "fast-preview": {disabled:true}, tex2jax: { inlineMath: [ ['$','$'] ], processEscapes: true }, - extensions: ["MathMenu.js", "MathZoom.js"] }); diff --git a/docs/styles/mathjax_overflowfix.css b/docs/styles/mathjax_overflowfix.css index 08cfa652ccecf0e7cf79844f47eab2b5d483dce3..364a5785bef39b45b5863f10435604a0205ea395 100644 --- a/docs/styles/mathjax_overflowfix.css +++ b/docs/styles/mathjax_overflowfix.css @@ -1,4 +1,4 @@ -.mjx-chtml { - overflow-y: hidden; - overflow-x: auto; +.MathJax_Display, .MJXc-display, .MathJax_SVG_Display { + overflow-x: auto; + overflow-y: hidden; } diff --git a/mkdocs.yml b/mkdocs.yml index ce5ef81e497fce26b69e517f68320abeb5efb47f..b84783d5ce6f52914f4a667318a0727b76c0c4a7 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -56,7 +56,7 @@ extra_css: - 'styles/mathjax_overflowfix.css' extra_javascript: - - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_SVG' + - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML' - 'scripts/mathjaxhelper.js' copyright: "Copyright © 2019-2022 Delft University of Technology, CC-BY-SA 4.0."