Poor man's solution
The following example constructs the symbol ⫇ by putting \sim
below \subset
.
The \sim
is set in a smaller font, if the current math style is \displaystyle
or \textstyle
, then \scriptstyle
is used for \sim
, if the current math style is \scriptstyle
or \scriptscriptstyle
then \scriptscriptstyle
is used for \sim
. Since in the latter case the font is not smaller, this solution works for \displaystyle
, \textstyle
, and \scriptstyle
.
\documentclass{article}
\makeatletter
\newcommand*{\subsetsim}{%
\mathrel{%
\mathchoice
{\@subsetsim\displaystyle\scriptstyle}%
{\@subsetsim\textstyle\scriptstyle}%
{\@subsetsim\scriptstyle\scriptscriptstyle}%
{\@subsetsim\scriptscriptstyle\scriptscriptstyle}%
}%
}
\newcommand*{\@subsetsim}[2]{%
\sbox0{$\m@th#1\subset$}%
\sbox2{$\m@th#2\sim$}%
\sbox4{$\m@th#2$}%
\raisebox{.5\dimexpr\ht2-\ht4\relax}{%
\oalign{\copy0 \cr\hidewidth\copy2\hidewidth}%
}%
}
\begin{document}
\[ a \subset a \sim a \subsetsim a - a_{b \subsetsim b_{c \subsetsim c}} \]
\end{document}
Remarks:
- The minus shows the math axis.
- In the latest case (c ⫇ c) the
\sim
is a little too large because the expression is set in \scriptscriptstyle
, see above.