Integration of MathJax, KaTeX and Asymptote with scribble, to typeset math in Racket documentation
![]() For some reason, when you have a nested elements that look like `display: inline-block; > position: relative; > position: absolute;` then the `position: absolute;` element is shifted down a bunch. If there is anything* else inside either of the other two elements, then this behavior disappears. (This can be seen at [this fiddle](http://jsfiddle.net/qZXRr/). We have this structure when we create `\llap` and `\rlap`s, and this weird behavior So, to fix this I added an empty `display: inline-block;` span inside the llap to fix this. Test plan: - See that the new huxley image looks good - Test this in a bunch of browsers and see they also look good Auditors: alpert |
||
---|---|---|
build | ||
static | ||
test | ||
.arcconfig | ||
.gitignore | ||
buildTree.js | ||
domTree.js | ||
fontMetrics.js | ||
katex.js | ||
Lexer.js | ||
LICENSE.txt | ||
Makefile | ||
metric_parse.rb | ||
Options.js | ||
package.json | ||
ParseError.js | ||
Parser.js | ||
parseTree.js | ||
README.md | ||
server.js | ||
Style.js | ||
symbols.js | ||
utils.js |
KaTeX
Fast math!
To run locally
make setup
make serve
Perceptual diff
make pdiff