What is a simple way to have \ll
on top of \gg
with equal size and vertically center aligned and have them work as a binary relation symbol like \lessgtr
? The commands \underset
and \overset
cannot be used because they do not treat the two symbols equally, and they do not vertically center.
[Tex/LaTex] a simple way to create a binary relation symbol on top of another
math-moderelation-symbolssymbols
Best Answer
You can try
substack
I added
amsmath
for\lessgtr
but it also needed forsubstack
. You may read more about this command in theamsmath
documentation or in themathmode
paper. As @tohecz pointed out, one may need some spacing correction bymathrel
. Furthermore i added a vertical correction with the optional argument of\\
. This makes the symbol a little bit more like belonging together (and might be a thing of personal taste too).