我使用\stackrel{<}{\sim}
来堆叠两个符号。但是我需要降低\sim
,这自然会超过该线,否则<
也会升高。这是当前的输出:
任何想法?
答案1
该amssymb
软件包为您提供\lesssim
,并且,正如 egreg 所评论的,该wasysym
软件包提供\apprle
,这会稍微提高波浪号。它们并排如下:
\documentclass{article}
\usepackage{amssymb}
\usepackage{wasysym}
\begin{document}
$T\lesssim S \qquad T\apprle S$
\end{document}
该MnSymbol
包还实现了\lesssim
,它是其同名的更紧凑的变体amssymb
(注意:同时加载amssymb
和MnSymbol
会导致名称冲突)。
答案2
强制性的 Unicode 解决方案:
% Just to get the needed fonts for the example up and running with Plain.
% You'd also need the mapping-files for this to work.
% For LaTeX, I think that unicode-math sets all of these up.
\def\mathfont{Asana Math}
\def\lfont#1#2#3{%
\expandafter\font\csname#1\endcsname="\mathfont:script=math;mapping=#2" at 10pt
\expandafter\font\csname#1s\endcsname="\mathfont:script=math;+ssty=0;mapping=#2" at 7pt
\expandafter\font\csname#1ss\endcsname="\mathfont:script=math;+ssty=1;mapping=#2" at 5pt
\textfont#3=\csname#1\endcsname
\scriptfont#3=\csname#1s\endcsname
\scriptscriptfont#3=\csname#1ss\endcsname}
\lfont{mathrm}{roman}{0}
\textfont3=\mathrm \scriptfont3=\mathrms \scriptscriptfont3=\mathrmss
\lfont{mathit}{italic}{1} % you could go on with \lfont{mathbf}{bold}{6} etc.
% end of makeshift font loading
\XeTeXmathchardef\lesssim="3"1`≲ % for LaTeX with unicode-math, this is already set.
$ T \lesssim S $
\bye
看起来像: