Skip to content

Commit b425870

Browse files
DrDrijAakashGfude
andauthored
Set MathJax font size from css to JS config #117 (#96)
Co-authored-by: AakashGC <aakashgfude@gmail.com>
1 parent 46c534e commit b425870

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

quantecon_book_theme/scss/quantecon-book-theme.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -928,10 +928,6 @@ tt {
928928
color: #0072bc;
929929
}
930930

931-
span.math {
932-
font-size: 0.92em;
933-
}
934-
935931
div.math {
936932
margin: 2rem 0;
937933
}
@@ -946,10 +942,6 @@ tt {
946942
color: #0072bc;
947943
}
948944

949-
span.MathJax {
950-
font-size: 0.92rem;
951-
}
952-
953945
.figure {
954946
text-align: center;
955947
&.align-left {

quantecon_book_theme/static/scripts.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ MathJax.Hub.Config({
181181
],
182182
processEscapes: true,
183183
},
184+
CommonHTML: {
185+
scale: 92
186+
},
184187
});
185188

186189
/* Collapsed code block */

0 commit comments

Comments
 (0)