Skip to content
Browse files

Enable MathJax

  • Loading branch information...
georgewatson committed May 15, 2019
1 parent 828774c commit e3930929d5681cbafb699dac094ddfbdfa32fe50
Showing with 42 additions and 2 deletions.
  1. +1 −0 _includes/footer.html
  2. +27 −0 _includes/mathjax.html
  3. +14 −2
@@ -46,6 +46,7 @@
<script async
{% include mathjax.html %}
window.addEventListener("load", function(){
@@ -0,0 +1,27 @@
{% if page.mathjax %}
<!-- -->
<script type="text/x-mathjax-config">
extensions: [
jax: ["input/TeX", "output/CommonHTML"],
TeX: {
extensions: [
displayAlign: "left",
displayIndent: "5em"
<script async
{% endif %}
@@ -70,6 +70,19 @@ does not identify you personally and cannot be used to track you.
The value of this cookie will not be changed if you use your browser's built-in
stylesheet selector.

On pages with embedded equations,
your [MathJax]( preferences may be stored using a
MathJax cookies have the prefix `mjx`,
are not used to collect any information about you,
and cannot be used to track you.
If you disable cookies,
the equations should still display correctly,
but some functionality may be lost.
The MathJax source code is available
[on GitHub](
if you'd like to verify that these cookies aren't evil.

A cookie will also be stored to record that you have dismissed the cookie
notification banner,
so you don't get bothered with it every time you visit.
@@ -79,8 +92,7 @@ This banner uses
[Cookie Consent by Insites](,
but no information is shared with its developers.
You can inspect the source code
[on GitHub](
if you'd like to verify that this cookie isn't evil.
[on GitHub](

Other cookies may be stored by the following trusted partners.
Links to their cookie policies are provided below.

0 comments on commit e393092

Please sign in to comment.
You can’t perform that action at this time.