chharvey / chharvey.github.io

My personal web site.
https://chharvey.github.io/
MIT License
4 stars 1 forks source link

consistent MathJax LaTeX #16

Closed chharvey closed 10 years ago

chharvey commented 10 years ago
chharvey commented 10 years ago

Commit 0767861f19ff42c24909ad88127d2ffed60cc4d3 fixes the var issue; all that is left to do is take care of the LaTeX things.

chharvey commented 10 years ago

Rules

Elements

Classes

Issues

  1. When MathJax parses \[ and \], it automatically adds <div> Elements inside, no matter what the containing element is. For example: <span class="M B">x+2</span> is in the source code. jQuery will act first, adding the delimiters, making it <span class="M B">\[x+2\]</span>. Then when MathJax acts, it nests <div>s inside the <span>. Unfortunately the only solution is fixing the MathJax. They don't need to use <div>; they can use <span> with display: block;.
  2. Eventually, find a way to implement the automation of \( and \) or \[ and \] with templates. See issue #9 for more information.