Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How do I translate standard keywords of the algorithmic package like (if, then,...) to my language?

If possible, I would like to do it without looking into source of algorithmic or algorithm.

share|improve this question
    
I couldn't find any algorithmic package. Do you mean algorithms package ? –  percusse Dec 29 '11 at 13:24
    
@percusse: I think so ;-) –  Marco Daniel Dec 29 '11 at 13:25
    
@percusse: Hmmm.. yes it was algorithmic environment ;-) –  sorush-r Dec 31 '11 at 14:01

1 Answer 1

up vote 8 down vote accepted

You don't need to look into the source code. The documentation of algorithms has an extra section with the following introduction:

In order to facilitate the use of this package with foreign languages, all of the words in the output are produced via redefinable macro commands. The default definitions of these macros are:

...
\newcommand{\algorithmicend}{\textbf{end}}
\newcommand{\algorithmicif}{\textbf{if}}
\newcommand{\algorithmicthen}{\textbf{then}
...
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.