4

I am using URW Palladio L for my main text font. I have no math font of URW Palladio L on my system installed, but I like the math font of Bitstream Charter. Alternateively I could also use the URW Palladio font of LaTeX.

This is how I set my main font

\setmainfont{URW Palladio L}

What about the math font? Should I use \setmathfont, but to what value, it's not a system font. If I simply add the package, it looks like I get the behavior I want, except that the font for the Bibliography heading, title etc. becomes a font I have not seen yet.

\usepackage[bitstream-charter]{mathdesign}

This seems really bogus, how I solve this properly?

  • 1
    Welcome to TeX.SX! The TeX Gyre Pagella Math font for unicode-math is specifically designed for combining with Palladio (the TeX Gyre Pagella text font is based on URW Palladio). – egreg Sep 22 '13 at 10:42
  • @egreg Thanks for pointing out. So I would go to gust.org.pl/projects/e-foundry/tg-math/download/…, download the font, and add it through \setmathfont{TG Pagella Math}? – RevMoon Sep 22 '13 at 10:48
  • If you're running an update TeX Live distribution, you already have the font. – egreg Sep 22 '13 at 11:01
  • Asana Math (based on pxfonts) is also suitable. – Leo Liu Sep 22 '13 at 11:41
  • @RevMoon: You sould use \setmathfont{TeX Gyre Pagella Math}, not \setmathfont{TeX Gyre Pagella}. – Leo Liu Sep 22 '13 at 12:22
5

There're many possible solutions, for example:

  • A modern solution, use TeX Gyre Pagella (a Palatino clone) together with TeX Gyre Pagella Math or Asana Math.

    \documentclass{article}
    
    \usepackage{fontspec}
    \setmainfont{TeX Gyre Pagella} % or URW Palladio L
    
    \usepackage{unicode-math}
    \setmathfont{TeX Gyre Pagella Math}
    
    
    \begin{document}
    
    Let $f$ be holomorphic on a closed disc $\overline{D}(z_0, R)$, $R>0$. Let $C_R$ be the circle bounding the disc. Then $f$ has a power series expansion
    \[
      f(z) = \sum_{n=0}^{\infty} \frac{(z-z_0)^n}{2\pi\mathrm{i}}
        \int_{C_R} \frac{f(\zeta)}{(\zeta-z_0)^{n+1}} \mathrm{d}\zeta.
    \]
    
    \end{document}
    

    enter image description here

    ......
    \setmainfont{TeX Gyre Pagella} % or URW Palladio L
    \setmathfont{Asana Math}
    ......
    

    enter image description here

  • A traditional solution, use pxfonts or newpxtext/newpxmath package. Why not? We don't always need fontspec to select the main font. Note that you may need to change the font encoding between T1/OT1 and EU1 manually sometimes.

    \documentclass{article}
    
    \usepackage{fontspec}
    \newfontfamily\inconsolata{Inconsolatazi4}
    
    \usepackage{pxfonts}
    \usepackage[T1]{fontenc}
    
    \begin{document}
    
    Let $f$ be holomorphic on a closed disc $\overline{D}(z_0, R)$, $R>0$. Let $C_R$ be the circle bounding the disc. Then $f$ has a power series expansion
    \[
      f(z) = \sum_{n=0}^{\infty} \frac{(z-z_0)^n}{2\piup\mathrm{i}}
        \int_{C_R} \frac{f(\zeta)}{(\zeta-z_0)^{n+1}} \mathrm{d}\zeta.
    \]
    
    {\inconsolata Something special. 01234}
    
    \end{document}
    

    enter image description here

  • What exactly you want — Palatino together with mathdesign. There is nothing magic:

    ......
    \usepackage[charter]{mathdesign} % Use it before fontspec
    \usepackage{fontspec}
    \setmainfont{TeX Gyre Pagella} % or URW Palladio L
    ......
    

    enter image description here

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.