AlgebraicJulia/Catlab.jl

LaTeX pretty-printing of GATs

Open

#243 aberto em 24 de ago. de 2020

Ver no GitHub
 (1 comment) (0 reactions) (1 assignee)Julia (68 forks)batch import
GATsenhancementgood first issue

Métricas do repositório

Stars
 (706 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador