summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/algorithm2e/doc/algorithm2e_ex06.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/algorithm2e/doc/algorithm2e_ex06.tex')
-rw-r--r--macros/latex/contrib/algorithm2e/doc/algorithm2e_ex06.tex13
1 files changed, 13 insertions, 0 deletions
diff --git a/macros/latex/contrib/algorithm2e/doc/algorithm2e_ex06.tex b/macros/latex/contrib/algorithm2e/doc/algorithm2e_ex06.tex
new file mode 100644
index 0000000000..b9837cbd40
--- /dev/null
+++ b/macros/latex/contrib/algorithm2e/doc/algorithm2e_ex06.tex
@@ -0,0 +1,13 @@
+\SetAlgoLined
+\uIf{cond6}{
+ cond6 is ok\;
+ always ok\;
+}
+\uElseIf{cond62}{
+ choose result62\;
+ \Return result62\;
+}
+\Else{
+ all is wrong\;
+ do something else\;
+}