diff options
Diffstat (limited to 'macros/latex/contrib/algorithm2e/doc/algorithm2e_exswitch.tex')
-rw-r--r-- | macros/latex/contrib/algorithm2e/doc/algorithm2e_exswitch.tex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/latex/contrib/algorithm2e/doc/algorithm2e_exswitch.tex b/macros/latex/contrib/algorithm2e/doc/algorithm2e_exswitch.tex new file mode 100644 index 0000000000..bce9a19ab4 --- /dev/null +++ b/macros/latex/contrib/algorithm2e/doc/algorithm2e_exswitch.tex @@ -0,0 +1,15 @@ +\Switch{the value of T}{ + \uCase{a value}{ + do this\; + do that\; + } + \lCase{another value}{one line} + \Case{last value}{ + do this\; + break\; + } + \Other{ + for the other values\; + do that\; + } +} |