Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mathematics for Quantum Physics
lectures
Commits
56eb847a
Commit
56eb847a
authored
2 years ago
by
Maciej Topyla
Browse files
Options
Downloads
Patches
Plain Diff
Fix Mathjax CommonHTML rendering issue
parent
93aa16e1
No related branches found
No related tags found
1 merge request
!39
Fixing the vertical offset in inline math rendered by mathjax output/CommonHTML
Pipeline
#123198
passed
2 years ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/scripts/mathjaxhelper.js
+3
-3
3 additions, 3 deletions
docs/scripts/mathjaxhelper.js
docs/styles/mathjax_overflowfix.css
+3
-3
3 additions, 3 deletions
docs/styles/mathjax_overflowfix.css
mkdocs.yml
+1
-1
1 addition, 1 deletion
mkdocs.yml
with
7 additions
and
7 deletions
docs/scripts/mathjaxhelper.js
+
3
−
3
View file @
56eb847a
MathJax
.
Hub
.
Config
({
jax
:
[
"
input/TeX
"
,
"
output/SVG
"
]
,
"
fast-preview
"
:
{
disabled
:
true
}
,
tex2jax
:
{
inlineMath
:
[
[
'
$
'
,
'
$
'
]
],
processEscapes
:
true
},
extensions
:
[
"
MathMenu.js
"
,
"
MathZoom.js
"
]
});
\ No newline at end of file
});
This diff is collapsed.
Click to expand it.
docs/styles/mathjax_overflowfix.css
+
3
−
3
View file @
56eb847a
.
mjx-chtml
{
overflow-
y
:
hidden
;
overflow-
x
:
auto
;
.
MathJax_Display
,
.MJXc-display
,
.MathJax_SVG_Display
{
overflow-
x
:
auto
;
overflow-
y
:
hidden
;
}
This diff is collapsed.
Click to expand it.
mkdocs.yml
+
1
−
1
View file @
56eb847a
...
...
@@ -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."
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment