对于pdflatex公司
你可以使用
\文档类{article}\使用包{amsmath}\新命令{\cind}{\mathrel{\perp\mspace{-9mu}\perp}}\新命令{\notcind}{\mathrel{\,\not\!\cind}}\开始{文档}美元\cind B$$A\注释B$\结束{文档}
![在此处输入图像描述](https://i.sstatic.net/oJ5JxA4i.png)
这不适合独角兽
,定义不同\不是
.
有\注意事项
,但取决于字体,它可能不是最佳选择。
\文档类{article}\使用包{amsmath}\usepackage{unicode-math}\新命令{\cind}{\mathrel{\perp\mspace{-9mu}\perp}}\标记字母\新命令{notcind}{mathrel{mathpalette\notcind@\relax}}\新命令{\notcind@}[2]{%\vphantom{\mathslash}%\ooalign{$\m@th#1\cind$\cr\hidewidth$\m@th#1\,\mathslash$\hidewidth\cr}%}\制造者\开始{文档}美元\cind B$$A\注释B$\结束{文档}
![在此处输入图像描述](https://i.sstatic.net/cW6cJwrg.png)
或者,您可以从另一种字体借用符号,这里是NewComputerModern Math。
\文档类{article}\使用包{amsmath}\usepackage{unicode-math}\setmathfont{拉丁现代数学}\setmathfont{NewComputerModernMath-Regular}[range=“2AEB]\setmathfont{拉丁现代数学}[range=]\新命令{\cind}{\Vbar}\新命令{\notcind}{\mathrel{\,\notaccent{\!\cind}}}}\开始{文档}美元\cind B$$A\注释B$\结束{文档}
![在此处输入图像描述](https://i.sstatic.net/oJsyQaKA.png)