# Symbol for succeeds or precedes? [duplicate]

Might be an obvious (or impossible) request, but does anyone know if there's an equivalent of the "less than or greater than" symbol but for "succeeds or precedes?" Thanks!

I've tried using detexify (which would just come back with the \lessgtr symbol) and looking through as many of the math symbol pdf guides as I can find. I might just be missing it, but I've tried searching a few different ways. Alternatively, if the sumbol doesn't exist, is there an easy (and at least somewhat elegant) way to force a \succ and \prec on top of each other?

## marked as duplicate by Alan Munn, Sebastiano, Zarko, Stefan Pinnow, RaajaJul 12 at 17:16

• Have you checked symbols-a4.pdf? \prec (≺) and \succ (≻) are likely the commands you are looking for. – andselisk Jul 12 at 15:42
• @AlanMunn I couldn't get it to come up on detexify, Not sure if that's because it doesn't exist, it's too similar to the \lessgtr symbol, or I'm bad at drawing (or all three!) – AndrewC Jul 12 at 15:50
• You can take a look at the final index in the ComprehensiveLaTeX Symbols list. Other than that, if it doesn't exist (as I think), you can easily make one from \succ and \prec with the \stackinset command from stackengine. – Bernard Jul 12 at 15:55
• @AndrewC Oh, I see what you mean: an alternative of ≶ for "succeeds or precedes". I don't think I've ever encountered such symbol, interesting question! As for the symbols in comments, I simply used Unicode. – andselisk Jul 12 at 15:55
• @Bernard I think the stackinset will have to do! Mind posting it as an answer so I can accept it? Thanks!! – AndrewC Jul 12 at 15:56

With just primitive commands:

\documentclass{article}
\usepackage{amsmath,amssymb}

\makeatletter
\newcommand{\succprec}{\mathrel{\mathpalette\succ@prec{\succ\prec}}}
\newcommand{\precsucc}{\mathrel{\mathpalette\succ@prec{\prec\succ}}}

\newcommand{\succ@prec}[2]{\succ@@prec#1#2}
\newcommand{\succ@@prec}[3]{%
\vcenter{\m@th\offinterlineskip
\sbox\z@{$#1#3$}%
\hbox{$#1#2$}\kern-0.4\ht\z@\box\z@
}%
}
\makeatother

\begin{document}

$A\succprec B\precsucc C_{\succprec\precsucc}$

$\succ\succprec>\gtrless$

\end{document}


Something like this?

\documentclass{article}
\usepackage{amsmath, amssymb}
\usepackage{stackengine}
\newcommand{\succprec}{\mathrel{\vcenter{\hbox{$\stackMath\stackinset{l}{-0.28em}{c}{0.9ex}{\prec}{\succ}$}}}}

\begin{document}

$a\succprec b$%

\end{document}


• The most unfair thing is that I have but one "accept answer." If it's ok, I'm going with @egreg's since the stackengine package seems to be giving my editor fits. But thank you so much for the help!! – AndrewC Jul 12 at 16:44