Skip to content

Commit 0f9a019

Browse files
authored
Merge pull request #2109 from glotzerlab/fix-math-rendering
Fix vector symbol rendering in katex.
2 parents 29e7820 + 9386250 commit 0f9a019

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ Change Log
44
5.x
55
---
66

7+
5.3.2 (not yet released)
8+
^^^^^^^^^^^^^^^^^^^^^^^^
9+
10+
*Fixed*
11+
12+
* Display vector math symbol correctly in the documentation
13+
(`#2109 <https://github.com/glotzerlab/hoomd-blue/pull/2109>`__).
14+
715
5.3.1 (2025-07-18)
816
^^^^^^^^^^^^^^^^^^
917

sphinx-doc/_static/fix-katex.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.katex .overlay {
2+
background-color: transparent;
3+
opacity: 1;
4+
position: static;
5+
transition: all 0s ease 0s;
6+
}

sphinx-doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434

3535
if find_spec("sphinxcontrib.katex") is not None:
3636
extensions.append("sphinxcontrib.katex")
37+
38+
html_css_files = ["fix-katex.css"]
3739
else:
3840
extensions.append("sphinx.ext.mathjax")
3941

0 commit comments

Comments
 (0)