change way to start a new alogrithmic environment
This commit is contained in:
parent
857e0d9ffa
commit
6cc6f5c439
@ -20,11 +20,17 @@
|
||||
% \RequirePackage{commun}
|
||||
|
||||
% ALGORITHMIE
|
||||
\RequirePackage{algorithmicx}
|
||||
\RequirePackage{algpseudocode,algorithm,algorithmicx}
|
||||
%-- %
|
||||
|
||||
|
||||
|
||||
% AlgoBox
|
||||
\algblock[variables]{VARIABLES}{}
|
||||
\algblock[algorithme]{DEBUT_ALGORITHME}{FIN_ALGORITHME}
|
||||
\NewDocumentEnvironment{code}{ G{algobox} }{%begin
|
||||
\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