LaTeX forum ⇒ Document ClassesNumbering algorithms

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

Numbering algorithms

Postby mariamar » Tue Jul 31, 2007 7:53 pm

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 Crying or Very sad
Thanks a lot

User avatar
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm
Location: Colombia

Postby gmedina » Tue Jul 31, 2007 8:54 pm

There is no need to duplicate your posts. In the other thread I gave you an answer.

Return to “Document Classes”

Who is online

Users browsing this forum: No registered users and 6 guests