% TeX root = ../main.tex { \RestyleAlgo{plain} \SetAlgoNoLine \LinesNotNumbered \begin{algorithm}[H] $x = u$\,\; \lIf{$1 \leq x \leq 3$}{$x = x + 1$} \lWhile{$2 \leq x \leq 3$}{$x = x + 1$} \lWhile{$y \geq 0$}{$y = y + 1$} \end{algorithm} }