I am trying to set a good font for theorem body using \newtheoremstyle.

\newtheoremstyle{cooltheorem}% name of the style to be used
  {\topsep}% measure of space to leave above the theorem. E.g.: 3pt
  {\topsep}% measure of space to leave below the theorem. E.g.: 3pt
  {\itshape}% name of font to use in the body of the theorem
  {0pt}% measure of space to indent
  {\bfseries}% name of head font
  {. ---}% punctuation between head and body
  { }% space after theorem head; " " = normal interword space
  {\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}}

With \itshape the font is a little sharp and pointy enter image description here

I am looking for something rounder. Something like this: enter image description here

I tried tweaking the body font option in my theorem style. But I couldn't get it as I wanted. Do you guys know some good fonts?

It would be nice to make the theorem notes [Authors ...] have normal fonts instead of italics.

I am using the document class MastersDoctoralThesis from https://www.latextemplates.com/template/masters-doctoral-thesis

Tex Engine : pdfTeX (pdflatex)

For the rest of the document, I use palatino font from {mathpazo}

  • 1
    Please tell us which document class you employ, which TeX engine you use, and which fonts you load. – Mico May 23 '20 at 8:58
  • @Mico I am using MastersDoctoralThesis class (link in the question), I use pdflatex and mathpazo font for the rest of my document. – Severus Tux May 23 '20 at 9:05
  • 1
    @SeverusTux That's italic Palatino: when you use Palatino for the text font, the italic font is taken from the same typeface. If you don't like the italic, don't use that typeface (that is, remove \usepackage{mathpazo}). – egreg May 23 '20 at 9:09
  • @egreg, I like the Palatino font for the rest of my document. Is there a way to disable it only for theorem environment? – Severus Tux May 23 '20 at 9:12
  • @SeverusTux Mixing different serif typefaces? Sorry, that's not my idea of good typography. – egreg May 23 '20 at 9:14

It honestly sounds as if you want to choose a different text font and a different math font to go along with it. Any answer is going to be a matter of opinion. However, I’ll try to answer the question you asked.

The package you’re using, mathpazo, is a clone of Hermann Zapf’s Palatino, with additional math symbols by Young Ryu. It’s a matter of opinion, but there are two other fonts by Zapf that you might try out.

One is his sans-serif typeface Optima. There’s a clone of it available gratis, as URW Classico, through the getnonfreefonts script. You would use it with mathpazo (or its successor newpxmath) by loading the classico package that script installs, or in the modern toolchain, load it through fontspec with \setsansfont{URW Classico}[Scale=MatchLowercase]. Either way, you would then switch to it with \sffamily.

Another is to use his math font, AMS Euler, for your math variables, with symbols and text based on Palatino. There is a classic package for this, eulerpx, which you would load instead of mathpazo. In the modern toolchain, with unicode-math, you would need to download the OpenType Neo Euler font and load symbols from it on top of Asana Math (which is based on mathpazo) or perhaps TeX Gyre Pagella Math:

\defaultfontfeatures{Scale = MatchLowercase}

\setmainfont{TeX Gyre Pagella}[Scale = 1.0] % Or Palatino, Palatino Linotype, etc.
\setmathfont{Asana Math}
            ]{Neo Euler}

There has been at least one attempt to make a text font based on AMS Euler, spaced for body text rather than math: Aref Ruqaa.

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.