-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi. I was trying to define a custom block with algblock but a strange issue happened. Always the last line has a wrong indentation.
Code:
\documentclass[12pt, a4paper]{article}
\usepackage[noEnd=false,indLines=true]{algpseudocodex}
\usepackage{algorithm}
\algblock[program]{Start}{End}
\begin{document}
\begin{algorithm}
\caption{Example}
\label{alg:example}
\begin{algorithmic}[1]
\Start
\State var1
\State var2
\State result $\gets$ var1 * var2
\State \Output result
\End
\end{algorithmic}
\end{algorithm}
\end{document}Output:
The line 6 has wrong indentation.
Metadata
Metadata
Assignees
Labels
No labels
