diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/frpseudocode/frpseudocode.sty | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/frpseudocode/frpseudocode.sty b/Master/texmf-dist/tex/latex/frpseudocode/frpseudocode.sty new file mode 100644 index 00000000000..4ad5dd260d2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/frpseudocode/frpseudocode.sty @@ -0,0 +1,26 @@ +%% @author Oliver Irwin +%% 2020-08-03 +\ProvidesPackage{frpseudocode}[2020/08/03 French Pseudocode 0.1.1] + +%% Functions %% +\algrenewcommand\algorithmicprocedure{\textbf{procédure}} +\algrenewcommand\algorithmicfunction{\textbf{fonction}} +\algrenewcommand\algorithmicreturn{\textbf{renvoyer}} + +%% Control Instructions %% +\algrenewcommand\algorithmicwhile{\textbf{Tant que}} +\algrenewcommand\algorithmicdo{\textbf{Faire}} +\algrenewcommand\algorithmicend{\textbf{Fin}} +\algrenewcommand\algorithmicfor{\textbf{Pour}} +\algrenewcommand\algorithmicforall{\textbf{Pour tout}} +\algnewcommand\algorithmicfrom{\textbf{de}} +\algnewcommand\algorithmicto{\textbf{à}} + +\algrenewtext{For}[3]% +{\algorithmicfor\ #1 \algorithmicfrom #2 \algorithmicto\ #3 \algorithmicdo} + +%% Conditionnals %% + +\algrenewcommand\algorithmicif{\textbf{Si}} +\algrenewcommand\algorithmicelse{\textbf{Sinon}} +\algrenewcommand\algorithmicthen{\textbf{Alors}} |