Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- usepackage{forest}
- begin{document}
- begin{forest}
- for tree={
- font=ttfamily,
- grow'=0,
- child anchor=west,
- parent anchor=south,
- anchor=west,
- calign=first,
- edge path={
- noexpandpath [draw, forestoption{edge}]
- (!u.south west) +(7.5pt,0) |- node[fill,inner sep=1.25pt] {} (.child anchor)forestoption{edge label};
- },
- before typesetting nodes={
- if n=1
- {insert before={[,phantom]}}
- {}
- },
- fit=band,
- before computing xy={l=15pt},
- }
- [text1
- [text1.1
- [text1.1.1 ... Here goes a description that could be multiple lines long]
- [some_random_file.txt ... This description is not aligned with the description above]
- ]
- ]
- end{forest}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement