I'm trying to write a program for a pseudocode with while-loops, for-loops and if-else instructions in Latex.
I would like to remove the "do" of the while-loop, the "end for" of the for-loop, the "then" and the "end if" of the if-else statement.
I have the following package installed
and created the following commands
The first two work, but the last two are not.
No error meassage is generated, but nothing happens. Do I have to write the last two commands differently?
Thanks in advance
LaTeX forum ⇒ General ⇒ renewcommand\algorithmicendfor and renewcommand\algorithmicendif does not work Topic is solved
LaTeX specific issues not fitting into one of the other forums of this category.
3 posts • Page 1 of 1
Crosspost in goLaTeX
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Stefan Kottwitz
- Site Admin
- Posts: 8666
- Joined: Mon Mar 10, 2008 9:44 pm
- Location: Hamburg, Germany
Solved there on goLaTeX.de (link) by a guest's post, solution was: insert
\NoEndWhilebefore the corresponding
\WHILEand not later, not right before
Who is online
Users browsing this forum: No registered users and 1 guest