9

I'm trying to stack two symbols on top of each other (not \stackrel) using \mathclap in the mathtools package, but the symbols are not centering:

\mathclap{\rightleftharpoons}\circ

How do I get the circle in the center of the arrows?

1 Answer 1

8

This is a job for \ooalign:

\newcommand{\circrlh}{\mathrel{\mathpalette\docircrlh\relax}}
\newcommand{\docircrlh}[2]{%
  \ooalign{$#1\rightleftharpoons$\cr\hfil$#1\circ$\hfil\cr}}

Now with

$a\circrlh b_{\circrlh}$

you get the following result.

enter image description here

See this answer for a quick course on \ooalign

You must log in to answer this question.

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