答案1
您可以使用\lfilet
不断增长的分隔符mathabx
,其大小与材料的宽度一致并进行旋转。
\documentclass{article}
\usepackage{graphicx}
\DeclareFontFamily{U}{mathx}{}
\DeclareFontSubstitution{U}{mathx}{m}{n}
\DeclareFontShape{U}{mathx}{m}{n}{ <-> s*[0.6]mathx10 }{}
\DeclareSymbolFont{mathx}{U}{mathx}{m}{n}
\DeclareMathDelimiter{\lfilet}{4}{mathx}{"37}{mathx}{"37}
\makeatletter
\DeclareRobustCommand{\overfilet}[1]{{%
\mathpalette\over@filet{#1}%
}}
\newcommand{\over@filet}[2]{%
\sbox\z@{$\m@th#1#2\vphantom{^1}$}%
\sbox\tw@{$\m@th
#1\left\lfilet\vbox to 0.55\wd\z@{}\right.
\kern-\nulldelimiterspace
$}%
\vbox{\ialign{\hfil##\hfil\cr
\rotatebox[origin=c]{90}{\box\tw@}\cr
\noalign{\nointerlineskip}
\box\z@\cr
}}%
}
\makeatother
\begin{document}
\[
P_g = \overfilet{g^2(t)} + \overfilet{g(t)g(t\pm\tau)}
\]
\end{document}
用s*[0.4]mathx10
代替0.6
,输出将是