Tweak pretty printing of LaTeX

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
Danila Fedorin 2023-12-01 14:09:12 -08:00
parent e659172320
commit a8f07dd422

View File

@ -24,7 +24,7 @@ termToLatex f t =
Call s ts -> "\\text{" ++ s ++ "}(" ++ String.join "," (List.map (termToLatex f) ts) ++ ")"
Var x -> f x
IntLit i -> String.fromInt i
StringLit s -> "\\text{" ++ "``" ++ s ++ "''" ++ "}"
StringLit s -> "\\texttt{" ++ "\"" ++ s ++ "\"" ++ "}"
metavariableToLatex : Metavariable -> String
metavariableToLatex (MkMetavariable s) =