Probleme d'algorithme en latex
an1981
Messages postés
5
Date d'inscription
Statut
Membre
Dernière intervention
-
amal-these Messages postés 25 Date d'inscription Statut Membre Dernière intervention -
amal-these Messages postés 25 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
donc j'ai toujours le même problème.
Je veux ecrire un algorithme dans mon rapport avec la tex, j'ai utilisé les package algorithm et algorithmic. ça donne un résultats mais le problème est que les mots clé tels que if, end, for, while, ... etc sont écrit en anglais alors que mon rapport est en français.
est ce qu'il ya un moyen d'écrire ces mots clé en français ou bien est ce qu'il existe un autre package qui le fait.
Merci.
donc j'ai toujours le même problème.
Je veux ecrire un algorithme dans mon rapport avec la tex, j'ai utilisé les package algorithm et algorithmic. ça donne un résultats mais le problème est que les mots clé tels que if, end, for, while, ... etc sont écrit en anglais alors que mon rapport est en français.
est ce qu'il ya un moyen d'écrire ces mots clé en français ou bien est ce qu'il existe un autre package qui le fait.
Merci.
A voir également:
- Algorithme latex français
- Lire le coran en français pdf - Télécharger - Histoire & Religion
- Dernière version ccleaner gratuit français - Télécharger - Nettoyage
- Télécharger adobe reader 9.1 français gratuit - Télécharger - PDF
- Fixwin 11 en français - Télécharger - Divers Utilitaires
- Telechargement film d'action complet en francais - Télécharger - TV & Vidéo
2 réponses
Bonjour,
j'ai trouvé ça :
(la suite sur http://quickies.seriot.ch/index.php?cat=1#a8 )
j'ai trouvé ça :
%%% francisation des algorithmes \renewcommand{\algorithmicrequire} {\textbf{\textsc{Entrées:}}} \renewcommand{\algorithmicensure} {\textbf{\textsc{Sorties:}}} \renewcommand{\algorithmicwhile} {\textbf{tantque}} \renewcommand{\algorithmicdo} {\textbf{faire}} \renewcommand{\algorithmicendwhile}{\textbf{fin tantque}} \renewcommand{\algorithmicend} {\textbf{fin}} \renewcommand{\algorithmicif} {\textbf{si}} \renewcommand{\algorithmicendif} {\textbf{finsi}} \renewcommand{\algorithmicelse} {\textbf{sinon}} \renewcommand{\algorithmicthen} {\textbf{alors}} \renewcommand{\algorithmicfor} {\textbf{pour}} \renewcommand{\algorithmicforall} {\textbf{pour tout}} \renewcommand{\algorithmicdo} {\textbf{faire}} \renewcommand{\algorithmicendfor} {\textbf{fin pour}} \renewcommand{\algorithmicloop} {\textbf{boucler}} \renewcommand{\algorithmicendloop} {\textbf{fin boucle}} \renewcommand{\algorithmicrepeat} {\textbf{répéter}} \renewcommand{\algorithmicuntil} {\textbf{jusqu'à}}
(la suite sur http://quickies.seriot.ch/index.php?cat=1#a8 )
Je suppose que tu utilises le package «?algorithm2e?», celui-ci possède une option pour la langue :
\usepackage[french]{algorithm2e}
;)
\usepackage[french]{algorithm2e}
;)
mais je trouve pas où est ce que je mets tout ce code?
j'attends vos reponses