I found out the solution. Just insert in the Latex Preamble:

\usepackage{chngcntr}

\counterwithout{figure}{chapter}

\counterwithout{equation}{chapter}

\counterwithout{algorithm}{chapter}


and you got simple (1, 2, 3, ...) numbering of figures, equations and
algorithms.


Cheers,

Matej.


On Fri, Jan 10, 2014 at 12:04 PM, Matěj Šmíd <[email protected]> wrote:

> Hello,
>
> I would like to have simple document-wide numbering of the algorithm
> floats (1, 2, 3, ...).
>
> Currently the algorithm floats are defined as:
>
> \floatstyle{ruled}
>
> \newfloat{algorithm}{tbp}{loa}[chapter]
> \providecommand{\algorithmname}{Algorithm}
> \floatname{algorithm}{\protect\algorithmname}
>
> The only change needed is to remove the [chapter] optional argument to
> \newfloat{algorithm}
>
> \newfloat{algorithm}{tbp}{loa}
>
> Is there a possibility to redefine the algorithm float?
>
> Thanks,
> Matej.
>
>
>
>

Reply via email to