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