答案1
这个只是在现有的上面画白线\subseteq
并称之为\notsubseteq
。按照目前的定义,它不会缩放到其他尺寸。如果这是主要问题,也许 OP 会让我知道。
\documentclass{article}
\usepackage{stackengine,xcolor}
\stackMath
\def\notsubseteq{\mathrel{
\stackinset{l}{0pt}{c}{}{\wrule[2pt]{5pt}{.5pt}}{
\stackinset{l}{1.6pt}{c}{}{\wrule[-4pt]{.5pt}{10pt}}{
\stackinset{l}{3.35pt}{c}{}{\wrule[-4pt]{.5pt}{10pt}}{
\stackinset{l}{5.1pt}{c}{}{\wrule[-4pt]{.5pt}{10pt}}{
\subseteq}}}}
}}
\newcommand\wrule[3][0pt]{\textcolor{white}{\rule[#1]{#2}{#3}}}
\begin{document}
\[ A \subseteq B \]
\[ A \notsubseteq B \]
\end{document}
这是尝试以垂直间隔切割符号的版本。我在上一个版本中将白色重新定义为红色以显示叠加。
\documentclass{article}
\usepackage{stackengine,xcolor,graphicx}
\stackMath
\def\notsubseteq{\mathrel{
\stackinset{l}{0pt}{c}{}{\wrule[2pt]{5pt}{.5pt}}{
\stackinset{l}{1.6pt}{c}{}{\wrule[-10pt]{.5pt}{3pt}}{
\stackinset{l}{0.5pt}{c}{1.5pt}{\rotatebox[origin=center]{45}{\wrule[2pt]{.5pt}{3pt}}}{
\stackinset{l}{0.5pt}{c}{}{\rotatebox[origin=center]{-45}{\wrule[-5pt]{.5pt}{3pt}}}{
\stackinset{l}{3.35pt}{c}{}{\wrule[-4pt]{.5pt}{10pt}}{
\stackinset{l}{5.1pt}{c}{}{\wrule[-4pt]{.5pt}{10pt}}{
\subseteq}}}}}}
}}
\newcommand\wrule[3][0pt]{\textcolor{white}{\rule[#1]{#2}{#3}}}
\begin{document}
\[ A \subseteq B \]
\[ A \notsubseteq B \]
\renewcommand\wrule[3][0pt]{\textcolor{red}{\rule[#1]{#2}{#3}}}%
\[ A \notsubseteq B \]
\end{document}