-1

I find SQLite docs very visual and I'd like to create one figure with the same format. SQLite select docs (https://www.sqlite.org/lang_select.html)

Also, if it's possible, I'd like to place the "conditionals" that are fulfilled to take that path: SQLite docs with conditional

6

1 Answer 1

1

As suggested by Jasper Habicht, the rail package did indeed have everything that I needed.

I was able to achieve the following:

Compiled output, rendering the below code

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.