summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF
diff options
context:
space:
mode:
authorAarne Ranta <aarne@chalmers.se>2023-12-14 11:56:11 +0100
committerAarne Ranta <aarne@chalmers.se>2023-12-14 11:56:11 +0100
commitc2182274df0a0f730b4d4a41ea4a537cdb388ecd (patch)
tree558d9dc6ddd43eadcdd293461eec43fd781347a2 /src/runtime/haskell/PGF
parente11017abc0c91ff5b4c4da48e25b355b5704c2a8 (diff)
visualize_dependencies (vd) now creates latex in landscape mode to show long trees better
Diffstat (limited to 'src/runtime/haskell/PGF')
-rw-r--r--src/runtime/haskell/PGF/VisualizeTree.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/haskell/PGF/VisualizeTree.hs b/src/runtime/haskell/PGF/VisualizeTree.hs
index 32709bac0..4142332ac 100644
--- a/src/runtime/haskell/PGF/VisualizeTree.hs
+++ b/src/runtime/haskell/PGF/VisualizeTree.hs
@@ -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,