Integration of MathJax, KaTeX and Asymptote with scribble, to typeset math in Racket documentation
asymptote-images | ||
bower_components/katex | ||
katex | ||
MathJax | ||
scribblings | ||
.gitignore | ||
.travis.yml | ||
asymptote.rkt | ||
dollar.rkt | ||
html5-prefix.html | ||
info.rkt | ||
katex-convert-unicode.rkt | ||
LGPL3.txt | ||
LICENSE.txt | ||
main.css | ||
main.js | ||
main.rkt | ||
mathjax-convert-unicode.rkt | ||
README.md |
scribble-math
This library allows typesetting math and Asymptote figures in Scribble documents.
Installation
To install this package, use raco
:
raco pkg install --deps search-auto scribble-math
Documentation
See the online documentation for more information about the math syntax and the functionality of this library.
Usage example
The syntax used for mathematical formulas is a subset of the one used by LaTeX.
#lang scribble/manual
@require[scribble-math]
@title[#:style (with-html5 manual-doc-style)]{Example}
The derivative of @${x^2} is @${2x}. Complex formulas
look best when typeset in display mode:
@$${\sum_{i=0}^n x_i^3}