diff --git a/css/theme/latex.css b/css/theme/latex.css index 0c63f5d..7c90c9c 100644 --- a/css/theme/latex.css +++ b/css/theme/latex.css @@ -567,6 +567,10 @@ p a:link, p a:hover, p a:active, p a:visited, li a:link, li a:hover, li a:active p a:hover::before, li a:hover::before, h2 a:hover::before { height: 110%; } +/* + * Code Listings + * ============= + */ pre.small-text { font-size: 80%; } diff --git a/css/theme/source/latex.scss b/css/theme/source/latex.scss index e64094f..ca32704 100644 --- a/css/theme/source/latex.scss +++ b/css/theme/source/latex.scss @@ -699,6 +699,10 @@ p a, li a, h2 a { } } +/* + * Code Listings + * ============= + */ pre.small-text { font-size: 80%; } diff --git a/index.html b/index.html index 267a35b..18d3ed0 100644 --- a/index.html +++ b/index.html @@ -75,7 +75,7 @@ transition: 'none', math: { mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js', - config: 'TeX-AMS_HTML-full' // See http://docs.mathjax.org/en/latest/config-files.html + config: 'TeX-AMS_HTML-full', // See http://docs.mathjax.org/en/latest/config-files.html }, history: true, fragmentInURL: true, @@ -89,6 +89,15 @@ { src: 'plugin/math/math.js', async: true } ] }); + + window.onload = function () { + MathJax.Hub.Config({ + "HTML-CSS": { + availableFonts: ["Latin Modern"], + preferredFont: "Latin Modern" + } + }); + }