AlgebraicJulia/Catlab.jl

LaTeX pretty-printing of GATs

Offen

#243 geöffnet am 24.08.2020

 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)Julia (68 Forks)batch import
GATsenhancementgood first issue

Repository-Metriken

Stars
 (706 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 17T 19h) (2 gemergte PRs in 30 T)

Beschreibung

Pretty-print GATs as LaTeX in both of the following styles:

  1. Cartmell-style linear notation

  2. natural-deduction-style tree notation

The examples above depict the theory of monoids and are taken from Sterling's paper Algebraic type theory and universe hierarchies.

The first style is similar to the syntax of our @theory macro and should be easily ported to MathJax/KaTeX, while the second style is harder to typeset but beloved by type theorists.

Contributor Guide