Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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