mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-19 16:12:52 -06:00
visualize_dependencies (vd) now creates latex in landscape mode to show long trees better
This commit is contained in:
@@ -651,6 +651,7 @@ app macro arg = text "\\" <> text macro <> text "{" <> arg <> text "}"
|
|||||||
latexDoc :: Doc -> Doc
|
latexDoc :: Doc -> Doc
|
||||||
latexDoc body =
|
latexDoc body =
|
||||||
vcat [text "\\documentclass{article}",
|
vcat [text "\\documentclass{article}",
|
||||||
|
text "\\usepackage[a4paper,margin=0.5in,landscape]{geometry}",
|
||||||
text "\\usepackage[utf8]{inputenc}",
|
text "\\usepackage[utf8]{inputenc}",
|
||||||
text "\\begin{document}",
|
text "\\begin{document}",
|
||||||
body,
|
body,
|
||||||
|
|||||||
Reference in New Issue
Block a user