summaryrefslogtreecommitdiff
path: root/rapport/frpseudocode.sty
diff options
context:
space:
mode:
Diffstat (limited to 'rapport/frpseudocode.sty')
-rw-r--r--rapport/frpseudocode.sty7
1 files changed, 6 insertions, 1 deletions
diff --git a/rapport/frpseudocode.sty b/rapport/frpseudocode.sty
index 06be0cc..8e1732a 100644
--- a/rapport/frpseudocode.sty
+++ b/rapport/frpseudocode.sty
@@ -9,7 +9,7 @@
%% Functions %%
\algrenewcommand\algorithmicprocedure{\textbf{PROCÉDURE}}
\algrenewcommand\algorithmicfunction{\textbf{FONCTION}}
-\algrenewcommand\algorithmicreturn{\textbf{RENVOYER}}
+\algrenewcommand\algorithmicreturn{Retourner}
\algrenewtext{Procedure}[2]%
{\algorithmicprocedure\ \textproc{#1}\ifthenelse{\equal{#2}{}}{}{(#2)}\ :}
@@ -68,6 +68,11 @@
\algrenewtext{ENDIF}[0]%
{\algorithmicend\ \algorithmicifm}
+
+\algtext*{EndWhile}% Remove "end while" text
+\algtext*{EndIf}% Remove "end if" text
+% \algtext*{EndFunction}% Remove "end if" text
+
%% Logical
%\algrenewcommand{\algorithmicnot}{\textbf{non}}
%\algrenewcommand{\algorithmicand}{\textbf{et}}