Debian Codegraph @

texmf-dist/doc/latex/algorithm2e/algorithm2e_exfor.tex

raw
1 \SetAlgoLined
2 \ForAll{elements of $S_1$}{
3 remove an element e from $S_1$\;
4 put e in the set $S_2$\;
5 }
6 \lFor{i=1 \emph{\KwTo}max}{mark i}\;
7 \ForEach{$e$ in the set}{
8 put $e$ in ${\cal E}$\;
9 mark $e$\;
10 }