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?

6

1 Answer 1

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

1
  • Thanks, that's great and it will be useful in many other cases!
    – Abramodj
    Commented Dec 1, 2012 at 15:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .