The question is already in the title. I am using "algorithmic" as package and can not find any reference for "FOREACH" definition. I already know that for "algpseudocode" I could use
% define macro foreach
\algnewcommand\algorithmicforeach{\textbf{for each}}
\algdef{S}[FOR]{ForEach}[1]{\algorithmicforeach\ #1\ \algorithmicdo}
But I can not find something similar for "algorithmic".
