MinionPro 字体带有来自 kpfonts 的一些符号

MinionPro 字体带有来自 kpfonts 的一些符号

目前我正在使用 MinionPro 软件包。但我不喜欢大多数MnSymbol的符号。我发现我真的很喜欢来自的一些符号kpfonts(如果有人建议更好的,我会听取你的意见,但我只寻找无圆角符號)。

我想从中得到kpfonts

  • 所有关系符号(=>~\subset... 全部)。
  • 所有运算符(\times+÷, ... )。
  • 关于大运算符,我想保留 MinionPro 包(minionint选项)中的积分,其余的都欢迎(好吧,\sum无论如何我都会替换符号,所以它来不来都没关系)。
  • 所有的箭头(或类似的箭头)。
  • 所有分隔符,除了(如果可能的话)根据括号和根据括号(源自 Minion Pro 字体并且看起来不错)。我对此不确定,但我真正讨厌的是\langle/\rangle和括号(基本括号除外)。
  • 另外,我对黑板粗体字母感兴趣。但对书法字母不感兴趣(因为我使用的swash是 Minion Pro)。
  • 至于口音,我一点也不确定,因为我无法轻易比较两者。所以这取决于你。

顺便说一下,我想从 MinionPro 中保留的是:

  • 原始字体的所有符号(如\partial)。
  • MinionPro 中的所有希腊字母和、、、\mathrm和数字。\mathit\mathnormal
  • 主要符号,以及(我再说一遍)可能是重音,我不确定是否听取您的意见。

我可能忘了什么,但目前就这些了。欢迎任何想法或建议。每个近似值(不是所有点,但其中一些)也都欢迎。

我之所以想要这个(给你这个想法,这样你就可以自己思考并说出你的意见)是因为我更喜欢符号而不是圆形顺便说一句,我认为其他一些符号看起来不太好,或者不适合 Minion Pro 字体。我认为kpfonts有很多不错的符号可能更适合 Minion。再次重申,我会听取您的任何建议。

为了给出一个起点,这是我的实际模板:

\documentclass{scrartcl}
\usepackage[%
    opticals,%
    smallfamily,%
    textosf,%
    footnotefigures,%
    swash,%
    openg,%
    fourierbb,%
    minionint,%
    italicgreek,%
    mathlf,%
    mathtabular,%
    onlytext,%
]{MinionPro}
\usepackage[notext]{kpfonts}
\makeatletter
  \DeclareSymbolFont{operators}  {T1} {\Mn@Math@Family}{m} {n}
  \DeclareSymbolFont{letters}    {OML}{MinionPro-TOsF} {m} {\Mn@Math@LetterShape}
  \SetSymbolFont{operators}{bold}{T1} {\Mn@Math@Family}{eb}{n}
  \SetSymbolFont{letters}  {bold}{OML}{MinionPro-TOsF} {eb}{\Mn@Math@LetterShape}
  \DeclareMathAlphabet\mathbf    {T1} {\Mn@Math@Family}{eb}{n}
  \DeclareMathAlphabet\mathit    {T1} {\Mn@Math@Family}{m} {it}
  \SetMathAlphabet\mathit  {bold}{T1} {\Mn@Math@Family}{eb}{it}
  \DeclareMathVersion{tabular}
  \SetSymbolFont{operators}{tabular}    {T1} {\Mn@Math@TFamily}{m}{n}
  \SetSymbolFont{letters}  {tabular}    {OML}{MinionPro-TOsF}  {m}{\Mn@Math@LetterShape}
  \SetMathAlphabet\mathit  {tabular}    {T1} {\Mn@Math@TFamily}{m}{it}

  \DeclareMathVersion{boldtabular}
  \SetSymbolFont{operators}{boldtabular}{T1} {\Mn@Math@TFamily}{eb}{n}
  \SetSymbolFont{letters}  {boldtabular}{OML}{MinionPro-TOsF}  {eb}{\Mn@Math@LetterShape}
  \SetMathAlphabet\mathit  {boldtabular}{T1} {\Mn@Math@TFamily}{eb}{it}
\makeatother
\begin{document}
\[
    \int_a^b f(x) \, \mathrm{d}x = 3 + 2 = 5 \subset \mathbb{N}
\]
\end{document}

答案1

我不确定这是否有用。如果没有用,我会删除它。大部分内容都是从 复制粘贴的MinionPro.sty

有必要调整 中的代码MinionPro.sty,尤其是为了让积分在从 中引入其他符号时能够正常工作kpfonts。为此,我声明了一种新的符号字体,intsymbols,并根据该字体定义了积分。这意味着 的初始声明kpfontssymbols所有其他符号都有效。

我删除了声明的命令,operators因为这只是覆盖了声明,但至少您希望从那里获得大部分内容。要从 MinionPro 中获取重音符号,我认为最好将它们视为例外,就像积分一样。所以我为此kpfonts设置了另一种符号字体。accents

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{textcomp,parskip}
\usepackage[%
% x    opticals,%
    smallfamily,%
    textosf,%
    footnotefigures,%
    swash,%
    openg,%
    fourierbb,%
    minionint,%
    italicgreek,%
    mathlf,%
    mathtabular,%
    onlytext,%
]{MinionPro}
\usepackage[notext]{kpfonts}
\makeatletter

  \DeclareMathVersion{tabular}
  \DeclareMathVersion{boldtabular}

  \DeclareSymbolFont{letters}    {OML}{MinionPro-TOsF} {m} {\Mn@Math@LetterShape}
    \SetSymbolFont{letters}  {bold}{OML}{MinionPro-TOsF} {eb}{\Mn@Math@LetterShape}
    \SetSymbolFont{letters}  {tabular}    {OML}{MinionPro-TOsF}  {m}{\Mn@Math@LetterShape}
    \SetSymbolFont{letters}  {boldtabular}{OML}{MinionPro-TOsF}  {eb}{\Mn@Math@LetterShape}

  \DeclareSymbolFont{minoperators}  {T1} {\Mn@Math@Family}{m} {n}
    \SetSymbolFont{minoperators}{bold}{T1} {\Mn@Math@Family}{eb}{n}
    \SetSymbolFont{minoperators}{tabular}    {T1} {\Mn@Math@TFamily}{m}{n}
    \SetSymbolFont{minoperators}{boldtabular}{T1} {\Mn@Math@TFamily}{eb}{n}

  \DeclareMathAlphabet\mathbf    {T1} {\Mn@Math@Family}{eb}{n}
    \SetMathAlphabet\mathbf  {tabular}    {T1} {\Mn@Math@TFamily}{eb}{n}

  \DeclareMathAlphabet\mathit    {T1} {\Mn@Math@Family}{m} {it}
    \SetMathAlphabet\mathit  {bold}{T1} {\Mn@Math@Family}{eb}{it}
    \SetMathAlphabet\mathit  {tabular}    {T1} {\Mn@Math@TFamily}{m}{it}
    \SetMathAlphabet\mathit  {boldtabular}{T1} {\Mn@Math@TFamily}{eb}{it}

  \DeclareMathAlphabet\mathrm    {T1}  {\Mn@Math@Family}{m}{n}
    \SetMathAlphabet\mathrm  {bold}{T1} {\Mn@Math@Family}{eb}{n}
    \SetMathAlphabet\mathrm  {tabular}{T1} {\Mn@Math@TFamily}{m}{n}
    \SetMathAlphabet\mathrm  {bold}{T1} {\Mn@Math@TFamily}{eb}{n}

  % for figures
  \DeclareMathSymbol{0}{\mathalpha}{minoperators}{`0}
  \DeclareMathSymbol{1}{\mathalpha}{minoperators}{`1}
  \DeclareMathSymbol{2}{\mathalpha}{minoperators}{`2}
  \DeclareMathSymbol{3}{\mathalpha}{minoperators}{`3}
  \DeclareMathSymbol{4}{\mathalpha}{minoperators}{`4}
  \DeclareMathSymbol{5}{\mathalpha}{minoperators}{`5}
  \DeclareMathSymbol{6}{\mathalpha}{minoperators}{`6}
  \DeclareMathSymbol{7}{\mathalpha}{minoperators}{`7}
  \DeclareMathSymbol{8}{\mathalpha}{minoperators}{`8}
  \DeclareMathSymbol{9}{\mathalpha}{minoperators}{`9}

  % for accents
  \DeclareMathAccent{\grave}   {\mathalpha}{minoperators}{0}
  \DeclareMathAccent{\acute}   {\mathalpha}{minoperators}{1}
  \DeclareMathAccent{\hat}     {\mathalpha}{minoperators}{2}
  \DeclareMathAccent{\tilde}   {\mathalpha}{minoperators}{3}
  \DeclareMathAccent{\ddot}    {\mathalpha}{minoperators}{4}
  \DeclareMathAccent{\mathring}{\mathalpha}{minoperators}{6}
  \DeclareMathAccent{\check}   {\mathalpha}{minoperators}{7}
  \DeclareMathAccent{\breve}   {\mathalpha}{minoperators}{8}
  \DeclareMathAccent{\bar}     {\mathalpha}{minoperators}{9}
  \DeclareMathAccent{\dot}     {\mathalpha}{minoperators}{10}

%   % for blackboard - I prefer this commented out but I suppose it is a matter of taste
%   \Mn@load@bb

  % for greek
  \newcommand\Mn@greek@list@upper{}
  \newcommand\Mn@greek@list@lower{}
  \let\Mn@greek@list@upper\@gobble
  \let\Mn@greek@list@lower\@gobble
  \newcommand\Mn@greek@list{}
  \newcommand*\Mn@greek@letter[3]{%
    \expandafter\DeclareMathSymbol
    \expandafter{\csname it#1\endcsname}{\mathord}{letters}{#2}%
    \expandafter\DeclareMathSymbol
    \expandafter{\csname up#1\endcsname}{\mathord}{letters}{#3}%
    \edef\@tempa{`\@car#1\@nil}%
    \edef\Mn@greek@list{\expandafter\noexpand\csname
      Mn@greek@list@\ifnum\uccode\@tempa=\@tempa upper\else lower\fi\endcsname}%
    \expandafter\edef\Mn@greek@list{\Mn@greek@list,#1}%
  }
  \Mn@greek@letter{Gamma}         {'000}{'200}
  \Mn@greek@letter{Delta}         {'001}{'201}
  \Mn@greek@letter{Theta}         {'002}{'202}
  \Mn@greek@letter{Lambda}        {'003}{'203}
  \Mn@greek@letter{Xi}            {'004}{'204}
  \Mn@greek@letter{Pi}            {'005}{'205}
  \Mn@greek@letter{Sigma}         {'006}{'206}
  \Mn@greek@letter{Upsilon}       {'007}{'207}
  \Mn@greek@letter{Phi}           {'010}{'210}
  \Mn@greek@letter{Psi}           {'011}{'211}
  \Mn@greek@letter{Omega}         {'012}{'212}
  \Mn@greek@letter{alpha}         {'013}{'213}
  \Mn@greek@letter{beta}          {'014}{'214}
  \Mn@greek@letter{gamma}         {'015}{'215}
  \Mn@greek@letter{delta}         {'016}{'216}
  \Mn@greek@letter{epsilon}       {'017}{'217}
  \Mn@greek@letter{zeta}          {'020}{'220}
  \Mn@greek@letter{eta}           {'021}{'221}
  \Mn@greek@letter{theta}         {'022}{'222}
  \Mn@greek@letter{iota}          {'023}{'223}
  \Mn@greek@letter{kappa}         {'024}{'224}
  \Mn@greek@letter{lambda}        {'025}{'225}
  \Mn@greek@letter{mu}            {'026}{'226}
  \Mn@greek@letter{nu}            {'027}{'227}
  \Mn@greek@letter{xi}            {'030}{'230}
  \Mn@greek@letter{pi}            {'031}{'231}
  \Mn@greek@letter{rho}           {'032}{'232}
  \Mn@greek@letter{sigma}         {'033}{'233}
  \Mn@greek@letter{tau}           {'034}{'234}
  \Mn@greek@letter{upsilon}       {'035}{'235}
  \Mn@greek@letter{phi}           {'036}{'236}
  \Mn@greek@letter{chi}           {'037}{'237}
  \Mn@greek@letter{psi}           {'040}{'240}
  \Mn@greek@letter{omega}         {'041}{'241}
  \Mn@greek@letter{varepsilon}    {'042}{'242}
  \Mn@greek@letter{vartheta}      {'043}{'243}
  \Mn@greek@letter{varpi}         {'044}{'244}
  \Mn@greek@letter{varrho}        {'045}{'245}
  \Mn@greek@letter{varsigma}      {'046}{'246}
  \Mn@greek@letter{varphi}        {'047}{'247}
  \Mn@greek@letter{varbeta}       {'260}{'250}
  \Mn@greek@letter{varkappa}      {'261}{'251}
  \Mn@greek@letter{backepsilon}   {'262}{'252}
  \Mn@greek@letter{varbackepsilon}{'263}{'253}
  \Mn@greek@letter{digamma}       {'264}{'254}
  \Mn@greek@letter{eth}           {'266}{'256}
  \newcommand*\Mn@greek@select[2]{%
    \expandafter\let\expandafter\Mn@greek@list\csname Mn@greek@list@#2\endcsname
    \@for\@tempa:=\Mn@greek@list\do{%
      \expandafter\let\csname\@tempa\expandafter\endcsname
      \csname#1\@tempa\endcsname
    }%
  }
  \newcommand*\Mn@greek@Upright{%
    \Mn@greek@select{up}{upper}%
    \Mn@greek@select{up}{lower}%
  }
  \newcommand*\Mn@greek@Italic{%
    \Mn@greek@select{it}{upper}%
    \Mn@greek@select{it}{lower}%
  }
  \newcommand*\Mn@greek@Mixed{%
    \Mn@greek@select{up}{upper}%
    \Mn@greek@select{it}{lower}%
  }
  \Mn@load@greek

  % for symbols
  \let\hbar\undefined
  \DeclareMathSymbol{\hbar}             {\mathord}{letters}{'265}
  \DeclareMathSymbol{\uphbar}           {\mathord}{letters}{'255}
  \DeclareMathSymbol{\partial}          {\mathord}{letters}{'100}
  \DeclareMathSymbol{\uppartial}        {\mathord}{letters}{'300}
  \DeclareMathSymbol{\ell}              {\mathord}{letters}{'140}
  \DeclareMathSymbol{\upell}            {\mathord}{letters}{'340}
  \DeclareMathSymbol{\slashedzero}      {\mathord}{letters}{'257}
  \DeclareMathSymbol{\upimath}          {\mathord}{letters}{'373}
  \DeclareMathSymbol{\upjmath}          {\mathord}{letters}{'374}
  \DeclareMathSymbol{\varsmallint}      {\mathord}{letters}{'376}
  \DeclareMathSymbol{\openg}            {\mathalpha}{letters}{'267}
  \DeclareRobustCommand\lambdabar       {\middlebar\lambda}
  \DeclareRobustCommand\lambdaslash     {\middleslash\lambda}

  % integrals
  \newcommand\Mn@Decl@Minion@Ints{%
    \DeclareFontFamily{U}{MnSymbolFI}{}
    \DeclareFontShape{U}{MnSymbolFI}{m}{it}{
        <-6>  MnSymbolFI\Mn@minionint@opticals5
       <6-7>  MnSymbolFI\Mn@minionint@opticals6
       <7-8>  MnSymbolFI\Mn@minionint@opticals7
       <8-9>  MnSymbolFI\Mn@minionint@opticals8
       <9-10> MnSymbolFI\Mn@minionint@opticals9
      <10-12> MnSymbolFI\Mn@minionint@opticals10
      <12->   MnSymbolFI\Mn@minionint@opticals12
    }{}
    \DeclareFontShape{U}{MnSymbolFI}{b}{it}{
        <-6>  MnSymbolFI\Mn@minionint@bold\Mn@minionint@opticals5
       <6-7>  MnSymbolFI\Mn@minionint@bold\Mn@minionint@opticals6
       <7-8>  MnSymbolFI\Mn@minionint@bold\Mn@minionint@opticals7
       <8-9>  MnSymbolFI\Mn@minionint@bold\Mn@minionint@opticals8
       <9-10> MnSymbolFI\Mn@minionint@bold\Mn@minionint@opticals9
      <10-12> MnSymbolFI\Mn@minionint@bold\Mn@minionint@opticals10
      <12->   MnSymbolFI\Mn@minionint@bold\Mn@minionint@opticals12
    }{}
    \DeclareSymbolFont{intsymbols}  {U}{MnSymbolFI}{m}{it}
    \SetSymbolFont{intsymbols}{bold}{U}{MnSymbolFI}{b}{it}
    \let\varint\tint
    \let\variint\tiint
    \let\variiint\tiiint
    \let\variiiint\tiiiint
    \let\varidotsint\tidotsint
    \let\varlandupint\tlandupint
    \let\varlanddownint\tlanddownint
    \let\varstrokedint\tstrokedint
    \let\varoint\toint
    \let\varoiint\toiint
    \let\varrcirclerightint\trcirclerightint
    \let\varlcirclerightint\tlcirclerightint
    \let\varrcircleleftint\trcircleleftint
    \let\varlcircleleftint\tlcircleleftint
    \let\varsumint\tsumint
    \DeclareMathSymbol\tint            \mathop{intsymbols}{112}
    \DeclareMathSymbol\tiint           \mathop{intsymbols}{114}
    \DeclareMathSymbol\tiiint          \mathop{intsymbols}{116}
    \DeclareMathSymbol\tiiiint         \mathop{intsymbols}{118}
    \DeclareMathSymbol\tidotsint       \mathop{intsymbols}{120}
    \DeclareMathSymbol\tlandupint      \mathop{intsymbols}{122}
    \DeclareMathSymbol\tlanddownint    \mathop{intsymbols}{124}
    \DeclareMathSymbol\tstrokedint     \mathop{intsymbols}{126}
    \DeclareMathSymbol\toint           \mathop{intsymbols}{128}
    \DeclareMathSymbol\toiint          \mathop{intsymbols}{130}
    \DeclareMathSymbol\trcirclerightint\mathop{intsymbols}{132}
    \DeclareMathSymbol\tlcirclerightint\mathop{intsymbols}{134}
    \DeclareMathSymbol\trcircleleftint \mathop{intsymbols}{136}
    \DeclareMathSymbol\tlcircleleftint \mathop{intsymbols}{138}
    \DeclareMathSymbol\tsumint         \mathop{intsymbols}{140}
    \let\intop\tint
    \let\ointop\toint
  }
  \Mn@load@integrals

%   % openg
%   \Mn@Define@Open@g

  % for cal
  \Mn@load@cal

\makeatother

\begin{document}

{\fontfamily{jkp}\selectfont
  AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
  \marginpar{\fontfamily{jkp}\selectfont kpfonts}\\
  0123456789

  \textit{AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz\marginpar{\fontfamily{jkp}\itshape\selectfont kpfonts}}}

AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
\marginpar{minion}\\
0123456789\marginpar{\small osf: prop, tab}
{\tbfigures 0123456789}\\
{\lnfigures 0123456789\marginpar{\small ln: prop, tab}
\tbfigures 0123456789}

\textit{AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz\marginpar{\itshape minion}}

\[
    AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
\]
\[
    0123456789
\]
\[
    \int_a^b f(x') \, \mathrm{d}x = 3 + 2 = 5 \subset \mathbb{N}
\]
\[
    \alpha \beta \varbeta \Gamma \varGamma \gamma \Delta \varDelta \delta \varepsilon \zeta \eta \Theta \varTheta \theta \vartheta \iota \kappa \Lambda \varLambda \lambda \mu \nu \Xi \varXi \xi \Pi \varPi \pi \varpi \rho \varrho \Sigma \varSigma \sigma \varsigma \tau \Upsilon \varUpsilon \upsilon \Phi \varPhi \phi \varphi \chi \Psi \varPsi \psi \Omega \varOmega \omega
\]
\[
    \mathcal{AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz}
\]
\[
    \mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\]
\[
    \times \div + - \Re \aleph \wp \eth \imath \Bbbk \partial \nabla \mho
\]
\[
    \acute{a}\grave{a}\check{a}\check{a}\hat{a}\tilde{a}\bar{a}\breve{a}\dot{a}\ddot{a}\mathring{a}
\]
\[
    \rightarrow\leftarrow\leftrightarrow\mapsto\longleftarrow\longleftrightarrow\longrightarrow\longmapsto\downarrow\updownarrow\uparrow\nwarrow\searrow\nearrow\swarrow\Leftarrow\nleftarrow\nleftrightarrow\nrightarrow\Leftrightarrow\Rightarrow\Longleftarrow\Longleftrightarrow\Longrightarrow\Updownarrow\Uparrow\Downarrow\nLeftarrow\nLeftrightarrow\nRightarrow
\]

\end{document}

将产生:

数学:MinionPro、kpfonts

我不确定,但我认为这应该采取以下内容kpfonts

  • 除 MinionPro 明确定义的符号之外的所有关系符号。
  • 除 MinionPro 明确定义的运算符之外的所有运算符,包括积分。
  • 除 MinionPro 明确定义的箭头之外的所有箭头。
  • 除 MinionPro 明确定义的分隔符之外的所有分隔符。
  • 黑板。

我希望以下内容来自 MinionPro:

  • 原始字体的所有符号(如\partial)。
  • 所有希腊字母和、、、\mathrm和数字。\mathit\mathnormal
  • 积分。

它还从 MinionPro 中获取了以下内容:

  • 重音。
  • 书法。

这些都在代码中进行了标记,因此您可以根据kpfonts需要将其注释掉以获取它们。就我个人而言,我更喜欢带有注释的黑板部分的结果,但您的公里数可能会有所不同。

我目前不知道如何挑选分隔符或如何仅拉出主要符号。(我猜这应该是来自 MnSymbol,但我不知道如何让它工作。)

我也不知道在没有缩放选项的情况下你能对尺寸做些什么。通常,这是内置在字体定义文件中的。我认为你可能能够调整 MinionPro,因为你有光学器件。我不能玩这个,因为我没有,但也许使用该normalsize/nonormalsize选项或类似选项可能会有用。

相关内容