三倍近似符号

三倍近似符号

我想生成一个三重版本的近似符号作为数学符号的重音符号。感谢这个问题,我已经有一个近似符号的一半,定义为

\DeclareRobustCommand*{\halfapprox}{\clipbox{0em 0em 0em 0.14em}{$\scriptscriptstyle\approx$}}

但是,当我用来\stackrel堆叠这些符号时,它们之间的垂直空间太大。

\DeclareRobustCommand*{\trtilde}[1]{\accentset{\stackrel{\halfapprox}{\approx}}{#1}}

在此处输入图片描述

另外两个符号定义为

\DeclareRobustCommand*{\dbtilde}[1]{\accentset{\approx}{#1}} \DeclareRobustCommand*{\sgtilde}[1]{\accentset{\halfapprox}{#1}}

有没有一种优雅的方式来定义具有精确垂直间距的三重近似符号? 如果不可能,我该如何调整垂直间距\stackrel

谢谢!

答案1

不是一个答案,更多的是针对unicode好奇者和字体制作者-

在 unicode 中有一个三重波浪符号数学运算符(位于 U+224B),将其转换为重音符号后,在各种数学字体中看起来像这样(如果我做对了 - 它完全是实验性的):

三重波浪号重音符号

平均能量损失

\documentclass[12pt,varwidth,border=6pt]{standalone}
\usepackage{xcolor}
\pagecolor{red!3}
\usepackage{unicode-math}
\usepackage{accents}
\setmathfont{XITS Math}[Colour=blue]
\setmathfontface\masana{Asana Math}
\setmathfontface\mdejavu{DejaVu Math}
\setmathfontface\mtgdeja{TeX Gyre DejaVu Math}
\setmathfontface\mpagella{TeX Gyre Pagella Math}
\setmathfontface\mbonum{TeX Gyre Bonum Math}
\setmathfontface\mschola{TeX Gyre Schola Math}
\setmathfontface\mtermes{TeX Gyre Termes Math}
\setmathfontface\mlatin{Latin Modern Math}
\setmathfontface\mcambria{Cambria Math}
\setmathfontface\mfira{Fira Math}
\setmathfontface\mfreeserif{FreeSerif}
\setmathfontface\mlibert{Libertinus Math}
\setmathfontface\mnoto{Noto Sans Symbols}
\setmathfontface\mqui{Quivira}
\setmathfontface\mstixtwo{STIX Two Math}
\setmathfontface\mstixgen{STIXGeneral}
\setmathfontface\msymbola{Symbola}
\setmathfontface\mgaramond{\detokenize{Garamond-Math}}
\newcommand\mfsize{\Huge}
\setmainfont{Noto Serif}

%Define \ttilde in unicode-math-table.tex:
%\UnicodeMathSymbol{"0224B}{\ttilde                    }{\mathaccent}{triple tilde accent}%

\newcommand\themassym{\accentset{\ttilde{}}{

答案2

可能像这样吗?

\documentclass{article}
\newcommand{\tripprox}{\setbox0\hbox{$\approx$}%
\mbox{\makebox[0pt][l]{\raisebox{0.48\ht0}{$\approx$}}$\approx$}}
\begin{document}
\tripprox $\tripprox$
\end{document}

在此处输入图片描述

相关内容