New answers tagged

1

You can give the nodes you want to connect to arrows aliases and then just add the arrows.(Even though adding the aliases by hand my appeared to be unnecessarily complicates. it might be the easiest way to see which additional information connects to which node.) \documentclass[border=5pt]{standalone} \usepackage{forest} \definecolor{folderbg}{RGB}{124,166,...


1

You can use calign=fixed edge angles. \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes.multipart, positioning} \usepackage{xinttools} \usepackage{forest} \def\numname#1{% \ifcase#1 \or one\or two\or three\or four\or five\or six\or seven\or eight\or nine\or ten\or eleven \or twelve\or thirteen\or fourteen\or fifteen\or sixteen\or ...


2

Thanks to Zarko pointing me towards the use of multipart nodes, I arrived at the following solution: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes.multipart, positioning} \usepackage{xinttools} \usepackage{forest} \def\numname#1{% \ifcase#1 \or one\or two\or three\or four\or five\or six\or seven\or eight\or nine\or ten\or eleven \...


2

If you are willing to consider to use a slightly different syntax, you can use simple tabulars along with append after command. \documentclass{article} \usepackage{array} \newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} \usepackage{forest} \tikzset{drawtape/.style n args={3}{node contents={ \begin{tabular}{|*{10}{@{}C{5mm}@{}|}} \hline #1 \hline \...


1

To make the color and text width depend on the level, you can use where level=0{my node=blue,text width=6em}{}, where level=1{my node=purple,text width=5em}{}, where level=2{my node=red,text width=4em}{}, Note that I slightly redefined my node. I do not know whether these are the text widths you had in mind. \documentclass[a4paper,...


Top 50 recent answers are included