latex_argmin
\begin{equation}
C = \mathop{\argmax}_{c}{\sum_t{w^t_c}}%find how to write down the scripts.
\end{equation}
% latex.codecogs.com/eqneditor/editor.php
% http://tex.stackexchange.com/questions/83169/commands-argmin-and-argmax-in-algorithm
\begin{algorithm}
\newcommand*{\argmax}{\operatornamewithlimits{argmax}\limits}
$k = \argmax\limits_{i} |R_i|$. % \arg\max_i S(R_i)
\end{algorithm}