Skip to content
Snippets Groups Projects
Unverified Commit 5aeb6e47 authored by mmcky's avatar mmcky Committed by GitHub
Browse files

FIX: fix mathjax macro syntax for sphinx>=4 (#1721)

parent fb3cc646
No related branches found
No related tags found
No related merge requests found
...@@ -70,8 +70,8 @@ sphinx: ...@@ -70,8 +70,8 @@ sphinx:
# mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js # mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# However, it is incompatible with the mathjax config below for macros # However, it is incompatible with the mathjax config below for macros
mathjax3_config: mathjax3_config:
TeX: tex:
Macros: macros:
"N": "\\mathbb{N}" "N": "\\mathbb{N}"
"floor": ["\\lfloor#1\\rfloor", 1] "floor": ["\\lfloor#1\\rfloor", 1]
"bmat": ["\\left[\\begin{array}"] "bmat": ["\\left[\\begin{array}"]
......
...@@ -239,8 +239,8 @@ You can add LaTeX macros for the whole book by defining them under the `Macros` ...@@ -239,8 +239,8 @@ You can add LaTeX macros for the whole book by defining them under the `Macros`
sphinx: sphinx:
config: config:
mathjax_config: mathjax_config:
TeX: tex:
Macros: macros:
"N": "\\mathbb{N}" "N": "\\mathbb{N}"
"floor": ["\\lfloor#1\\rfloor", 1] "floor": ["\\lfloor#1\\rfloor", 1]
"bmat" : ["\\left[\\begin{array}"] "bmat" : ["\\left[\\begin{array}"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment