答案1
软件包MnSymbol
和以和的fdsymbol
形式提供。如果您不喜欢它们,您可以从 CM glyphs 构建它们。\lesseqgtrslant
\gtreqlessslant
\documentclass{article}
\usepackage{amssymb}
\makeatletter
\newcommand*{\lesseqgtrslant}{\mathrel{\mathpalette\@gtr@less@eq{\leqslant>}}}
\newcommand*{\gtreqlessslant}{\mathrel{\mathpalette\@gtr@less@eq{\geqslant<}}}
\newcommand*{\@gtr@less@eq}[2]{%
\vcenter{%
\offinterlineskip
\m@th
\setbox0=\hbox{$#1\@secondoftwo#2$}%
\hbox{$#1\@firstoftwo#2$}%
\kern-.2\ht0 % <--- had to guess this...
\box0
}%
}
\makeatother
\begin{document}
\noindent
$a \lesseqgtrslant a \gtreqlessslant a$\\[1ex]
$\scriptstyle a \lesseqgtrslant a \gtreqlessslant a$\\[1ex]
$\scriptscriptstyle a \lesseqgtrslant a \gtreqlessslant a$
\end{document}
编辑为了减小垂直尺寸,你可以挤压盒子。但是,挤压过度会导致线条变细。添加并替换上面\usepackage{graphicx}
的定义\@gtr@less@eq
\newcommand*{\@gtr@less@eq}[2]{%
\offinterlineskip
\m@th
\setbox0=\hbox{$#1\@secondoftwo#2$}%
\hbox{$#1\vcenter{\hbox{\scalebox{1}[.85]{\vbox{\hbox{$#1\@firstoftwo#2$}\kern-.2\ht0\box0}}}}$}%
}