-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi, thanks for nice package. I noticed that after e5ea726, if the highlight box created by \BeginBox contains an indented block (e.g., \If), it escapes its indent level (reset to 0) and covers the indent guide.
Here is a minimal reproducer (tested on ubuntu 22.04):
\documentclass{article}
\usepackage{algpseudocodex}
\begin{document}
\begin{algorithmic}[1]
\While{asdf}
\State asdf
\BeginBox[fill=yellow]
\If{asdf}
\State asdf
\EndIf
\EndBox
\State ...
\EndWhile
\end{algorithmic}
\end{document}Before e5ea726 (expected behavior):

After e5ea726 (current, broken behavior):

chrmatt
Metadata
Metadata
Assignees
Labels
No labels