I find SQLite docs very visual and I'd like to create one figure with the same format.
Also, if it's possible, I'd like to place the "conditionals" that are fulfilled to take that path:
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityAs suggested by Jasper Habicht, the rail package did indeed have everything that I needed.
I was able to achieve the following:
via:
\begin{figure}
\begin{rail}
([waterlogged=false] () | [waterlogged=true] 'WATERLOGGED' ) \\
material
\end{rail}
\caption{Modifier concatenation}
\end{figure}
The only bad thing is that I need to compile it with the rail program every time I change something.
rail
package. Also, the newersyntaxdi
package might be of interest.