6

A while ago, I asked what was the correct way of changing the font used to set operator names. I stabilized at:

\DeclareSymbolFont{sfoperators}{OT1}{cmss}{m}{n}
\DeclareSymbolFontAlphabet{\mathsf}{sfoperators}
\makeatletter
\def\operator@font{\mathgroup\symsfoperators}
\makeatother

Now, the peculiar combination of fonts I am using (Bookman at 11pts, standard cmss) results in the operator names being set in letters which are too small:

enter image description here

Can I change the fontsize used here?

6

You can scale up the sans serif font; it's better to use Latin Modern (the shapes are pretty much the same as Computer Modern) for it's scalable without problems:

\DeclareFontFamily{OT1}{slmss}{}
\DeclareFontShape{OT1}{slmss}{m}{n}
     {<-8.5> s*[1.1] rm-lmss8
      <8.5-9.5> s*[1.1] rm-lmss9
      <9.5-11> s*[1.1] rm-lmss10
      <11-15.5> s*[1.1] rm-lmss12
      <15.5-> s*[1.1] rm-lmss17
     }{}

\DeclareSymbolFont{sfoperators}{OT1}{slmss}{m}{n}
\DeclareSymbolFontAlphabet{\mathsf}{sfoperators}
\makeatletter
\def\operator@font{\mathgroup\symsfoperators}
\makeatother

enter image description here

However, this mixture of Bookman and Computer Modern Math Italic doesn't seem to be very nice.

4
  • I'm open to suggestions of a sans-serif font which matches Bookman better :) Jun 22 '12 at 21:20
  • @MarianoSuárez-Alvarez I said nothing about the sans serif font. It's the math font which doesn't agree at all with Bookman.
    – egreg
    Jun 22 '12 at 21:32
  • Well, I am open to suggestions in general :) Jun 22 '12 at 23:16
  • There's no math font that agrees with Bookman, at present. You may try the mathastext package for getting math in Bookman, but I'm afraid that the results won't be very good in all cases.
    – egreg
    Jun 22 '12 at 23:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.