Package Info

ghc-HaTeX


The Haskell LaTeX library


Development/Languages/Other

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. The HaTeX User's Guide is available at <https://github.com/Daniel-Diaz/hatex-guide/blob/master/README.md>. We also have a mailing list (<http://projects.haskell.org/cgi-bin/mailman/listinfo/hatex>) and an IRC channel ('#hatex'). If you just want to read a short introduction, read the "Text.LaTeX" module.

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: <http://daniel-diaz.github.io/projects/haskintex>. It allows you to embed Haskell in LaTeX. It also makes you easy to use HaTeX within a LaTeX document.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/HaTeX

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
3.17.3.0-bp150.2.3 info GA Release 2018-08-01 15
  • AArch64
  • ghc-HaTeX
  • ghc-HaTeX-devel
3.17.3.0-bp150.2.5 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-HaTeX
  • ghc-HaTeX-devel
3.17.3.0-bp150.2.6 info GA Release 2018-07-30 15
  • x86-64
  • ghc-HaTeX
  • ghc-HaTeX-devel