Search found 2 matches

by shay zakov
Sun Aug 08, 2010 10:55 pm
Forum: General
Topic: Counters of procedures and algorithms
Replies: 3
Views: 12521

Re: Counters of procedures and algorithms

Thanks gmedina,

As I run your example and it still produced wrong numbers, I understood that I have an old version of the algorithm2e package. I've replaced the installed 3.9 version with the 4.01 version, and now it is working.

Thanks again,

Shay
by shay zakov
Sun Aug 08, 2010 11:41 am
Forum: General
Topic: Counters of procedures and algorithms
Replies: 3
Views: 12521

Counters of procedures and algorithms

I'm using the "algorithm2e" package, and the "algorithm" and "procedure" environments it defines. Whenever I add a new "procedure", it also increases the counter for the algorithms, so when I'm using:

\begin{algorithm}
...
\end{algorithm}

\begin{procedure}
...
\end{procedure}

\begin{algorithm ...