Mathdesign 中的小写书法字母

Mathdesign 中的小写书法字母

我想在 mathdesign 中使用小写书法字母。我可以通过取消定义mathcal以下内容来提取 dutchcal 中的字母\usepackage[charter]{mathdesign},然后使用 mathdesign 中更漂亮的书法字符。有没有一种方便的方法可以只提取 dutchcal 中的(=全部)小写书法字母?

谢谢!

\documentclass{article}

\usepackage[charter]{mathdesign}
\let\mathcal\undefined  % without this line I get an error message
\usepackage{dutchcal}  % without this line and the one before it, I don't get lower case calligraphic letters

\begin{document}

I want $\mathcal{F}$ from mathdesign, but mathdesign doesn't contain $\mathcal{f}$.  The only way I can get $\mathcal{f}$ from dutchcal to work is as indicated, but that gives me $\mathcal{F}$ from dutchcal.   The symbol $\mathfrak{l}$ is just too ugly compared to $\mathcal{l}$.
\end{document}

答案1

执行该操作dutchcal,但定义不同的命令:

\documentclass{article}

\usepackage[charter]{mathdesign}

\DeclareFontFamily{U}{dutchcal}{\skewchar\font=45 }
\DeclareFontShape{U}{dutchcal}{m}{n}{<-> s*[1.0] dutchcal-r}{}
\DeclareFontShape{U}{dutchcal}{b}{n}{<-> s*[1.0] dutchcal-b}{}
\DeclareMathAlphabet{\mathlcal}{U}{dutchcal}{m}{n}
\SetMathAlphabet{\mathlcal}{bold}{U}{dutchcal}{b}{n}



\begin{document}

\verb|$\mathcal{F}$|: $\mathcal{F}$ (mathdesign)

\verb|$\mathlcal{f}$|: $\mathlcal{f}$ (dutchcal)

\verb|$\mathlcal{F}$|: $\mathlcal{F}$ (dutchcal)

\verb|$\mathcal{F}\mathlcal{f}$|: $\mathcal{F}\mathlcal{f}$

$\mathlcal{abcdefghijklmnopqrstuvwyz}$

\end{document}

在此处输入图片描述

相关内容