如何从字体 eurm10 制作出这个“p”变体?

如何从字体 eurm10 制作出这个“p”变体?

AMS 字体包提供了字体eurm10(参见此 PDF) 有两个p字符。在字体表中,它们位于位置 70 和 7D。第二个看起来有点像,\wp但不那么复杂,而且在我看来更易读。但是...我无论如何也想不出如何从该字体中获取那一个字符 (7D)。我想用它进行computer modern除那个字符之外的所有数学运算,例如\varp。我该如何使用该字符?

答案1

“7D符号\wp 符号(如欧拉字体中设计的那样)。我不确定您是否想用这个符号替换数学字母 p(在我看来这是一个奇怪的想法),或者定义数学字母 p 的变体,或者用欧拉符号替换 cm \wp,或者使用 cm \wp 的变体。

无论如何,下面的代码都可以帮助您。

\documentclass[a4paper]{article}
\DeclareSymbolFont{euletters}{U}{eur}{m}{n}
\SetSymbolFont{euletters}{bold}{U}{eur}{b}{n}
%% uncomment the line below if you want a \varwp variant for the \wp symbol
%%\DeclareMathSymbol{\varwp}{\mathord}{euletters}{"7D}
%% uncomment the line below if you want to replace the \wp symbol by the euclid one
%%\DeclareMathSymbol{\wp}{\mathord}{euletters}{"7D}
%% comment the line below if you want to replace the math letter p by the euler \wp symbol (strange idea!)
\DeclareMathSymbol{p}{\mathalpha}{euletters}{"7D}
%% uncomment the line below if you want a \varp variant for the math letter p.
%%\DeclareMathSymbol{\varp}{\mathalpha}{euletters}{"7D}

\begin{document}
    $\wp \neq p$
    {\boldmath $\wp \neq p$}
\end{document}

相关内容