How to type this symbol?

\documentclass{article}
\usepackage{stackengine,graphicx}
\newcommand\sori{\stackengine{1pt}{\ensuremath{>}}{\rotatebox[origin=c]{90}{%
  \scalebox{-1.3}[1]{\textsl{=}}}}{O}{c}{F}{F}{L}}
\begin{document}
A\sori B
\end{document}

enter image description here


A picture mode implementation:

\documentclass{article}
\usepackage{pict2e,picture}

\makeatletter
\newlength\sori@ht
\newlength\sori@wd
\newlength\sori@thin
\newlength\sori@thick
\DeclareRobustCommand{\textsori}{%
  \begingroup
  \sbox\z@{$\sharp$}%
  \setlength{\sori@ht}{\dimexpr\ht\z@+\dp\z@}%
  \setlength{\sori@wd}{\wd\z@}%
  \setlength{\sori@thin}{\dimexpr\sori@wd/15}%
  \setlength{\sori@thick}{\dimexpr\sori@wd/6}%
  \setlength{\unitlength}{\sori@wd}%
  \raisebox{-\dp\z@}{\text@sori}%
  \endgroup
}
\newcommand{\text@sori}{%
  \begin{picture}(\sori@wd,\sori@ht)
  \roundcap
  \linethickness{\sori@thin}
  \put(4\sori@thin,0){\line(0,1){\dimexpr\sori@ht-2\sori@thin}}
  \put(11\sori@thin,2\sori@thin){\line(0,1){\dimexpr\sori@ht-2\sori@thin}}
  \buttcap
  \linethickness{\sori@thick}
  \polyline(0.13333,0.4)(0.86667,1.075)(0.13333,1.75)
  \end{picture}%
}
\providecommand{\textsharp}{\ensuremath{\sharp}}
\makeatother

\begin{document}

\textsharp\textsori

\end{document}

enter image description here


\newcommand*\sori{\ifmmode\mathrel\fi{\ooalign{$>$\cr\hidewidth$\parallela$\hidewidth\cr}}}

With that command you can use \sori in text mode (in case you wanted to use it in text mode) and in case your intended use is in math mode it will give \mathrel spacing.

If you need it to scale in subscripts we can do that easily.

Tags:

Symbols