30

I know I can use \ker in place of \text{ker} to denote the kernel of a map. Is there a similar command for the image of a map?

Even if I define my own command like

\newcommand{\Ima}{\text{Im}}

Inside the theorem environment (for example) I get the italic version of Im. How can I fix this?

Abramodj
  • 1,268

1 Answers1

41

You can use \DeclareMathOperator from the amsmath package to define it; in this way it will have the appropriate spacing and font:

\documentclass{article}
\usepackage{amsmath}

\DeclareMathOperator{\Ima}{Im}

\begin{document}

$\Ima f\subseteq \ker g$

\end{document}

enter image description here

Gonzalo Medina
  • 505,128