AlgebraicJulia/Catlab.jl

LaTeX pretty-printing of GATs

Aperta

#243 aperta il 24 ago 2020

 (1 commento) (0 reazioni) (1 assegnatario)Julia (68 fork)batch import
GATsenhancementgood first issue

Metriche repository

Star
 (706 stelle)
Metriche merge PR
 (Merge medio 17g 19h) (2 PR mergiate in 30 g)

Descrizione

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.

Guida contributor