Convenient Haskell syntax for writing in LaTeX math expressions
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
CAS/Dumb/LaTeX Complete `instance Eq (Encapsulation LaTeX)`. Jun 18, 2018
bin Made pdflatex_halt-on-error more reliable Dec 22, 2012

This is an attempt to get convenient math syntax in HaTeX.

The idea is to combine these features:

  • Full access to the math-typesetting power of LaTeX. It should be possible to express any formula that might be found in a typical mathematics or physics journal article. This should also include expression which are not quite well-defined from a programming point of view, but are clear to the intended audience.
  • Idiomatic Haskell syntax. Who wants to bother with unreadable expressions involving either hundreds of double-backslashes or extra syntax overhead in wrapping them explicitly into HaTeX? Ideally, one would write expressions as if only meaning Haskell to calculate them, but get the result back as a full pretty-printing LaTeX math string. And the actual calculated result as well, if possible!

See for how this works in practice.