summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/algorithm2e/doc/algorithm2e_ex05.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/algorithm2e/doc/algorithm2e_ex05.tex')
-rw-r--r--macros/latex/contrib/algorithm2e/doc/algorithm2e_ex05.tex10
1 files changed, 10 insertions, 0 deletions
diff --git a/macros/latex/contrib/algorithm2e/doc/algorithm2e_ex05.tex b/macros/latex/contrib/algorithm2e/doc/algorithm2e_ex05.tex
new file mode 100644
index 0000000000..7db5f9d249
--- /dev/null
+++ b/macros/latex/contrib/algorithm2e/doc/algorithm2e_ex05.tex
@@ -0,0 +1,10 @@
+\SetAlgoVlined
+\lIf{cond5}{cond5 true}
+\uElseIf{cond51}{
+ cond 5 false\;
+ but cond51 true\;
+}
+\ElseIf{}{
+ all is wrong\;
+ \Return result52\;
+}