HaTeX: The Haskell LaTeX library.
This library implements the LaTeX syntax and provides some useful abstractions.
Some of the things you can do with HaTeX are:
Write LaTeX documents with all the advantages you already have in Haskell: recursion, type system, high order functions, ...
Create a LaTeX backend for your own program.
Parse a LaTeX file and obtain its Abstract Syntax Tree (AST).
Pretty-print Haskell values in LaTeX.
Generate TikZ scripts (images!) easily.
Browse the examples
directory in the source distribution to see some simple examples.
It might help you to get started.
If you prefer to write in LaTeX and all you want is to program some parts of the document, or if you already have the LaTeX document written and you just want to add some automatically generated LaTeX code somewhere, check haskintex: https://daniel-casanueva.gitlab.io/haskell/haskintex. It allows you to embed Haskell in LaTeX. It also makes it easy to use HaTeX within a LaTeX document.
[Skip to Readme]
Modules
[Index] [Quick Jump]
- Text
- Text.LaTeX
- Text.LaTeX.Base
- Packages
- Text.LaTeX.Packages.AMSFonts
- Text.LaTeX.Packages.AMSMath
- Text.LaTeX.Packages.AMSSymb
- Text.LaTeX.Packages.AMSThm
- Text.LaTeX.Packages.Acronym
- Text.LaTeX.Packages.Babel
- Text.LaTeX.Packages.Beamer
- Text.LaTeX.Packages.BibLaTeX
- Text.LaTeX.Packages.Bigstrut
- Text.LaTeX.Packages.Color
- Text.LaTeX.Packages.Fancyhdr
- Text.LaTeX.Packages.Fontenc
- Text.LaTeX.Packages.Geometry
- Text.LaTeX.Packages.Graphicx
- Text.LaTeX.Packages.Hyperref
- Text.LaTeX.Packages.Inputenc
- Text.LaTeX.Packages.LTableX
- Text.LaTeX.Packages.LongTable
- Text.LaTeX.Packages.Lscape
- Text.LaTeX.Packages.Multirow
- Text.LaTeX.Packages.QRCode
- Text.LaTeX.Packages.Relsize
- Text.LaTeX.Packages.TabularX
- Text.LaTeX.Packages.TikZ
- Text.LaTeX.Packages.Trees
- Text.LaTeX
Downloads
- HaTeX-3.22.4.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 1.0.0, 1.0.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 3.0.0, 3.1.0, 3.2, 3.2.0.1, 3.3, 3.4, 3.5, 3.6, 3.6.0.1, 3.6.1.0, 3.7.0.0, 3.8.0.0, 3.9.0.0, 3.9.1.0, 3.10.0.0, 3.11.0.0, 3.11.0.1, 3.12.0.0, 3.13.0.0, 3.13.0.1, 3.13.1.0, 3.14.0.0, 3.15.0.0, 3.16.0.0, 3.16.1.0, 3.16.1.1, 3.16.2.0, 3.17.0.0, 3.17.0.1, 3.17.0.2, 3.17.1.0, 3.17.2.0, 3.17.3.0, 3.17.3.1, 3.18.0.0, 3.19.0.0, 3.20.0.0, 3.20.0.1, 3.21.0.0, 3.22.0.0, 3.22.1.0, 3.22.2.0, 3.22.3.0, 3.22.3.1, 3.22.3.2, 3.22.4.0, 3.22.4.1, 3.22.4.2 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.14 && <5), bibtex (>=0.1 && <0.2), bytestring (>=0.9.2.1 && <0.13), containers (>=0.4.2.1 && <0.7), ghc-prim, hashable (>=1.2 && <1.6), matrix, parsec (>=3.1.6), prettyprinter, QuickCheck, semigroups, text (>=0.11.2.3 && <2.2), transformers (>=0.2.2 && <0.7) [details] |
License | BSD-3-Clause |
Author | Daniel Casanueva (daniel.casanueva `at` proton.me) |
Maintainer | Daniel Casanueva (daniel.casanueva `at` proton.me) |
Category | LaTeX |
Home page | https://gitlab.com/daniel-casanueva/haskell/HaTeX |
Bug tracker | https://gitlab.com/daniel-casanueva/haskell/HaTeX/-/issues |
Uploaded | by DanielDiaz at 2024-07-05T11:49:32Z |
Distributions | LTSHaskell:3.22.4.2, NixOS:3.22.4.2, Stackage:3.22.4.2 |
Reverse Dependencies | 15 direct, 9 indirect [details] |
Downloads | 47544 total (340 in the last 30 days) |
Rating | 2.25 (votes: 4) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2024-07-05 [all 1 reports] |