Clean and add code for if-statement.
This commit is contained in:
parent
6453cf8534
commit
f9a462e2ac
@ -36,9 +36,16 @@
|
|||||||
%
|
%
|
||||||
%
|
%
|
||||||
|
|
||||||
|
\algrenewcommand\algorithmicdo{}
|
||||||
|
|
||||||
|
\algrenewcommand\algorithmicif{\textbf{Si}}
|
||||||
|
\algrenewcommand\algorithmicelse{\textbf{sinon}}
|
||||||
|
|
||||||
|
\algrenewtext{If}[1]%
|
||||||
|
{\algorithmicif\ #1 \textbf{alors} \algorithmicdo}
|
||||||
|
|
||||||
\algrenewcommand\algorithmicfor{\textbf{Pour}}
|
\algrenewcommand\algorithmicfor{\textbf{Pour}}
|
||||||
\algnewcommand\algorithmicto{\textbf{à}}
|
\algnewcommand\algorithmicto{\textbf{à}}
|
||||||
\algrenewcommand\algorithmicdo{}
|
|
||||||
|
|
||||||
\algrenewtext{For}[3]%
|
\algrenewtext{For}[3]%
|
||||||
{\algorithmicfor\ #1 \textbf{allant de} #2 \textbf{à} #3 \algorithmicdo}
|
{\algorithmicfor\ #1 \textbf{allant de} #2 \textbf{à} #3 \algorithmicdo}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user