Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. usepackage{forest}
  2.  
  3. begin{document}
  4. begin{forest}
  5. for tree={
  6. font=ttfamily,
  7. grow'=0,
  8. child anchor=west,
  9. parent anchor=south,
  10. anchor=west,
  11. calign=first,
  12. edge path={
  13. noexpandpath [draw, forestoption{edge}]
  14. (!u.south west) +(7.5pt,0) |- node[fill,inner sep=1.25pt] {} (.child anchor)forestoption{edge label};
  15. },
  16. before typesetting nodes={
  17. if n=1
  18. {insert before={[,phantom]}}
  19. {}
  20. },
  21. fit=band,
  22. before computing xy={l=15pt},
  23. }
  24. [text1
  25. [text1.1
  26. [text1.1.1 ... Here goes a description that could be multiple lines long]
  27. [some_random_file.txt ... This description is not aligned with the description above]
  28. ]
  29. ]
  30. end{forest}
  31. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement