diff options
| author | Aarne Ranta <aarne@chalmers.se> | 2023-12-14 11:56:11 +0100 |
|---|---|---|
| committer | Aarne Ranta <aarne@chalmers.se> | 2023-12-14 11:56:11 +0100 |
| commit | c2182274df0a0f730b4d4a41ea4a537cdb388ecd (patch) | |
| tree | 558d9dc6ddd43eadcdd293461eec43fd781347a2 | |
| parent | e11017abc0c91ff5b4c4da48e25b355b5704c2a8 (diff) | |
visualize_dependencies (vd) now creates latex in landscape mode to show long trees better
| -rw-r--r-- | src/runtime/haskell/PGF/VisualizeTree.hs | 1 |
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, |
