Tweak pretty printing of LaTeX
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
e659172320
commit
a8f07dd422
|
@ -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) =
|
||||
|
|
Loading…
Reference in New Issue
Block a user