答案1
定义它们如下。
\documentclass{article}
\usepackage{amssymb,mathtools}
\usepackage{graphicx}
\makeatletter
\newcommand{\succmid}{\mathrel{\mathrlap{\succ}}\mathrel{\mkern10mu\raisebox{0.1ex}{\ensuremath\shortmid}}}
\newcommand{\dashsucc}{\mathrel{\mathrlap{-}}\mathrel{\mkern0mu\succ}}
\makeatother
\begin{document}
$A\succmid B\dashsucc C$
\end{document}
答案2
您可以使用\mapsfromchar
提供的stmaryrd
和我最喜欢的技巧\ooalign
。
必须去掉减号才能保留与 相同的边界框\succ
。
我还添加了相应反向符号的代码。
\documentclass{article}
\usepackage{stmaryrd} % for \mapsfromchar
\NewDocumentCommand{\precbar}{}{\mapstochar\prec}
\NewDocumentCommand{\succbar}{}{\succ\mapsfromchar}
\makeatletter
\NewDocumentCommand{\precdash}{}{\mathrel{\mathpalette\spdash@\prec}}
\NewDocumentCommand{\succdash}{}{\mathrel{\mathpalette\spdash@\succ}}
\newcommand{\spdash@}[2]{%
\vphantom{#2}%
\ooalign{\smash{$\m@th#1-$}\cr$\m@th#1#2$\cr}%
}
\makeatother
\begin{document}
$A \prec B \precbar C \succbar D \precdash E \succdash F$
$\scriptstyle A \prec B \precbar C \succbar D \precdash E \succdash F$
% show the bounding boxes
\setlength{\fboxsep}{0pt}\setlength{\fboxrule}{0.1pt}
\fbox{$\succ$}\fbox{$\succbar$}\fbox{$\succdash$}
\end{document}