mathpazo、mathdesign 和 kpfonts

mathpazo、mathdesign 和 kpfonts

有可能有\usepackage{mathpazo}但是\usepackage[nomath,fulloldstylenums,fulloldstyle]{kpfonts}有来自的积分符号(\int \ointecc)\usepackage[utopia]{mathdesign}\ell来自的字符\usepackage[fulloldstylenums,fulloldstyle]{kpfonts}

\int对我来说, from的衬线\usepackage{mathpazo}不符合 kpfonts;或者我错了?

\documentclass[a4paper]{memoir}

\usepackage[T1]{fontenc}

\usepackage{mathpazo}

\usepackage[utopia]{mathdesign}

\usepackage[nomath,fulloldstylenums,fulloldstyle]{kpfonts}

\begin{document}
\begin{equation}
\int f(x)\, dx
\end{equation}
\end{document}

答案1

mathdesign我认为这可以满足您的所有要求。基本思想是从中获取单个符号kpfonts。大部分代码来自上传者:,它是 的一部分mathdesign

\documentclass[a4paper]{memoir}
\usepackage[T1]{fontenc}
\usepackage{mathpazo}
\usepackage[nomath,fulloldstylenums,fulloldstyle]{kpfonts}

\makeatletter
\def\MD@def#1#2{\global\let#2=\@undefined #1#2}

\DeclareSymbolFont{md}{OMX}{mdput}{m}{n}%   
\MD@def\DeclareMathSymbol{\oint}{\mathop}{md}{72}
\MD@def\DeclareMathSymbol{\int}{\mathop}{md}{90}

\DeclareFontEncoding{MDB}{}{}
\DeclareSymbolFont{mathdesignB}{MDB}{mdput}{m}{n}% 

\MD@def\DeclareMathSymbol{\intclockwise}{\mathop}{mathdesignB}{128}
\MD@def\DeclareMathSymbol{\ointclockwise}{\mathop}{mathdesignB}{130}
\MD@def\DeclareMathSymbol{\ointctrclockwise}{\mathop}{mathdesignB}{132}
\MD@def\DeclareMathSymbol{\oiint}{\mathop}{mathdesignB}{134}
\MD@def\DeclareMathSymbol{\oiiint}{\mathop}{mathdesignB}{136}

\DeclareSymbolFont{kpletters}{OML}{jkpss}{m}{it}
\MD@def\DeclareMathSymbol{\ell}{\mathchar}{kpletters}{96}

\makeatother

\begin{document}
The quick brown fox jumps over the lazy dog. $\ell$
\begin{equation}
\ointctrclockwise \ointclockwise \intclockwise \oint \int \oiint \oiiint f(x)\, dx
\end{equation}
\end{document}

相关内容