答案1
这是一个使用选项\ooalign
:
\documentclass{article}
\usepackage{graphicx}
\usepackage{amsmath}
\newcommand\Inn{%
\mathrel{\ooalign{$\subset$\cr\hfil\scalebox{0.8}[1]{$=$}\hfil\cr}}%
}
\begin{document}
\[
A\in B
\]
\[
A\Inn B
\]
\end{document}
结果:
如果您需要不同的数学风格:
\documentclass{article}
\usepackage{graphicx}
\usepackage{amsmath}
\newcommand\Inn{%
\mathrel{\mathchoice
{\ooalign{$\displaystyle\subset$\cr\hfil\scalebox{0.8}[1]{$=$}\hfil\cr}}%
{\ooalign{$\textstyle\subset$\cr\hfil\scalebox{0.8}[1]{$\textstyle=$}\hfil\cr}}%
{\ooalign{$\scriptstyle\subset$\cr\hfil\scalebox{0.8}[1]{$\scriptstyle=$}\hfil\cr}}%
{\ooalign{$\scriptscriptstyle\subset$\cr\hfil\scalebox{0.8}[1]{$\scriptscriptstyle=$}\hfil\cr}}%
}%
}
\begin{document}
\[
A\in B\quad{\textstyle A\in B}\quad L_{A\in B}\quad M_{L_{A\in B}}
\]
\[
A\Inn B\quad{\textstyle A\Inn B}\quad L_{A\Inn B}\quad M_{L_{A\Inn B}}
\]
\end{document}
答案2
答案3
这使用了一个堆栈,并且可以在所有数学风格中发挥作用。
\documentclass{article}
\usepackage{graphicx,stackengine,scalerel}
\usepackage{amsmath}
\newcommand\Inn{\def\stackalignment{c}\def\stacktype{L}\ThisStyle{\mathrel{%
\stackon[0pt]{$\SavedStyle\subset$}{\scalebox{0.86}[1]{$\SavedStyle=$}}}}%
}
\begin{document}
\[
A\in B
\]
\[
A\Inn B\quad
\scriptstyle A\Inn B\quad
\scriptscriptstyle A\Inn B
\]
\end{document}