Browse Source

"Fixed" issue with latex rendering off of the page.

pull/39/head
jrtechs 6 years ago
parent
commit
b41d9916ef
1 changed files with 25 additions and 6 deletions
  1. +25
    -6
      includes/html/header.html

+ 25
- 6
includes/html/header.html View File

@ -39,22 +39,41 @@
MathJax.Hub.Config({ MathJax.Hub.Config({
styles: { styles: {
".MathJax_Display": { ".MathJax_Display": {
display: "table-cell ! important",
padding: "1em 0 ! important",
width: (MathJax.Hub.Browser.isMSIE && (document.documentMode||0) < 8 ?
"100% ! important" : "1000em ! important")
width: "container",
linebreaks: {}
} }
} }
}); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
"HTML-CSS": {
preferredFont: "STIX",
scale: 44,
linebreaks: {
automatic: true,
width: "container"
}
}
});
MathJax.Hub.Config({
SVG: {
scale: 70,
linebreaks: {
automatic: true,
width: "container"
}
}
});
</script> </script>
<script type="text/javascript" async <script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"> src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML">
</script> </script>
</head> </head>
<body>
<body class="no-mathjax">
<div class="navbar navbar-expand-lg navbar-dark fixed-top bg-primary" id="mainNav"> <div class="navbar navbar-expand-lg navbar-dark fixed-top bg-primary" id="mainNav">
<div class="container"> <div class="container">

Loading…
Cancel
Save