forked from GitHub/gf-core
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 body =
|
||||
vcat [text "\\documentclass{article}",
|
||||
text "\\usepackage[a4paper,margin=0.5in,landscape]{geometry}",
|
||||
text "\\usepackage[utf8]{inputenc}",
|
||||
text "\\begin{document}",
|
||||
body,
|
||||
|
||||
Reference in New Issue
Block a user