I'm using Babel in Spanish and I'm trying to stick to a more latinesque version of \inf that does not have a tilde.
So far, I have tried using
\renewcommand{\inf}{\mathrm{inf}}
but it does not seem to be able to override the default version of ínf.
Here is a MWE that contains the important parts of my preamble:
\documentclass{article}
% Tipografiado y preferencias regionales
\usepackage[utf8]{inputenc}
\usepackage[spanish,es-noindentfirst]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{csquotes,textcomp,microtype}
% Matemáticas
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
% Comandos
\renewcommand{\inf}{\mathrm{inf}}
\begin{document}
\[ \inf \]
\end{document}
Is there anything I can do to override the Spanish version of
\infso it does not have tilde?