6

How to put some text under a binary operation symbol?

For example like this - the text "m" under the symbol "=".

enter image description here

About using \scriptscriptstyle. This command don't give the disired result. Because, space between "m" and "=" is too big. For example

    \documentclass{article}
    \usepackage{amsmath}
    \begin{document}
    $A \underset{m}{=} B$ $A \underset{\scriptscriptstyle{m}}{=} B$
    \end{document}

enter image description here

There is the same vertical size of formula in both cases.

6

You can do it with \underset. Of course if the text is wider than the = sign, you should use \clap, or \mathclap if it's a formula in order to ensure proper spacing of the = sign:

\documentclass{article}
\usepackage{mathtools}

\begin{document}

\[ A \underset{m}{=} B \]%
\[ A \underset{\mathclap{m + n}}{=} B \]%

\end{document} 

enter image description here

  • 2
    I often combine this with \scriptscriptstyle to get these as amsll as possible so the down disturb too much – daleif Jul 5 '18 at 9:20
  • @daleif: Very useful observation. That's indeed another possibility I also sometimes use. It's all a matter of context. – Bernard Jul 5 '18 at 9:40
  • About using \scriptscriptstyle. This command don't give the disired result. Because, space between "m" and "=" is too big. For example $A \underset{m}{=} B$ $A \underset{\scriptscriptstyle{m}}{=} B$ There is the same vertical size of formula in both cases. – Alex E. Jul 5 '18 at 16:21
  • 1
    @Alex E.: You can cheat with this code A \underset{\mathclap{{}^{m + n}}}{=} B. – Bernard Jul 5 '18 at 16:44

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.