## LaTeX forum ⇒ Document Classes ⇒ Numbering algorithms

Information and discussion about specific document classes and how to create your own document classes.
mariamar
Posts: 2
Joined: Tue Jul 31, 2007 7:46 pm

### Numbering algorithms

Hi!
I'm writing a research report (based on the book template) and I am using the algorithm package. I want to number the algorithms using {chapter}{algorithm}, but I don't understand the Algorithm document I found on ctan. It says
"The numbering of algorithms can be influenced by providing the name of
the document component within which numbering should be recommenced.
The legal values for this option are: part, chapter, section, subsection,
subsubsection or nothing. The default value is nothing which causes algorithms
to be numbered sequentially throughout the document."
But I am new using LaTex and I don't know what and where to write it.
Also I am working in spanish and I like to have them inthe TOC but (obviously) when I generate the Algorithms List it comes in english. I found I need to use the \floatname but I don't know how to use it
Thanks a lot
Mariamar

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm
Location: Colombia
There is no need to duplicate your posts. In the other thread I gave you an answer.
1,1,2,3,5,8,13,21,34,55,89,144,233,...