change way to start a new alogrithmic environment
This commit is contained in:
parent
857e0d9ffa
commit
6cc6f5c439
@ -20,11 +20,17 @@
|
|||||||
% \RequirePackage{commun}
|
% \RequirePackage{commun}
|
||||||
|
|
||||||
% ALGORITHMIE
|
% ALGORITHMIE
|
||||||
\RequirePackage{algorithmicx}
|
\RequirePackage{algpseudocode,algorithm,algorithmicx}
|
||||||
%-- %
|
%-- %
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
% AlgoBox
|
% AlgoBox
|
||||||
\algblock[variables]{VARIABLES}{}
|
\NewDocumentEnvironment{code}{ G{algobox} }{%begin
|
||||||
\algblock[algorithme]{DEBUT_ALGORITHME}{FIN_ALGORITHME}
|
\algnewcommand{\variables}{\State\textbf{VARIABLES}}
|
||||||
|
\algblock[algorithme]{DEBUT_ALGORITHME}{FIN_ALGORITHME}
|
||||||
|
|
||||||
|
\begin{algorithmic}
|
||||||
|
}{%end
|
||||||
|
\end{algorithmic}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user