https://github.com/leftaroundabout/symbolic-math-hatex
Convenient Haskell syntax for writing in LaTeX math expressions
https://github.com/leftaroundabout/symbolic-math-hatex
haskell latex symbolic-manipulation
Last synced: 27 days ago
JSON representation
Convenient Haskell syntax for writing in LaTeX math expressions
- Host: GitHub
- URL: https://github.com/leftaroundabout/symbolic-math-hatex
- Owner: leftaroundabout
- License: gpl-3.0
- Created: 2012-12-22T16:32:14.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-03-16T18:25:18.000Z (about 1 year ago)
- Last Synced: 2025-05-02T21:03:41.004Z (28 days ago)
- Topics: haskell, latex, symbolic-manipulation
- Language: Haskell
- Homepage: http://hackage.haskell.org/package/TeX-my-math
- Size: 1.6 MB
- Stars: 28
- Watchers: 6
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
This is an attempt to get convenient math syntax in [HaTeX](https://github.com/Daniel-Diaz/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 [`EXAMPLES.md`](EXAMPLES.md) for how this works in practice, or [ example/Simple.hs ](example/Simple.hs) for how the library can be used for writing mathematical documents. Rendered, that looks like this:
|  |  |