How can I renew the macro "\log" (from "log" to "\ell og")?
Default function \log in line 1
I use renewcommand for \log:
\renewcommand{\log}{\ell\text{og }}
That shows in line 2.
But I want to function \log in line 3:
Default: \hspace{0.5 cm} $\log_M x^N = N \log_M x$ \\
\renewcommand{\log}{\ell\text{og }}
That show: $\log_M x^N = N \log_M x$ \\
\renewcommand{\log}{\ell\text{og}}
I want: \hspace{0.625 cm} $\log_M\hspace{2 pt}x^N = N \log_M\hspace{2 pt}x$ \\



\mathop{\ell\mathrm{og}}but why would you do that?? – David Carlisle May 17 '22 at 15:09\text{og }it looks like you are adding the space you want to remove(?). Also, see this old answer. – mickep May 17 '22 at 15:09\textfor things like this. See what happens if you issue\itshapebeforeThat show...– daleif May 17 '22 at 15:16