There is an already defined math operator inside TeX that I want to change it by another letter. I am just wondering what is the best practice. Below I give an example for the \Pr -> "Pr" command to transform \Pr -> "P".
\documentclass{article}
\usepackage{mathtools}
\renewcommand*{\Pr}{\operatorname{P}} % is this the correct form?
%\DeclareMathOperator{\Pr}{P} % any renew equivalent to this definition?
%\def\Pr{\qopname\relax m{P}} % like it is defined inside 'amsopn' package
\begin{document}
$\Pr (\gamma \leq \Gamma_{min}) = F_\gamma (\Gamma_{min})$
\end{document}
\let\Pr\relax\DeclareMathOperator{\Pr}{P}– egreg Jun 20 '14 at 16:18\DeclareMathOperatorthe defined command is robust. – egreg Jun 20 '14 at 16:34