19

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?

21

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.