5

My questions is related to combining text and math fonts. I am a real fan of Georgia-like "dense" and "no so thin" fonts. It seems that books published by AMS use similar one.

My problem is that I cannot find a good math font to fit the text: newtxmath seems too thin for Georgia, it fits Times New Roman more. I have tried using STIX Math Two, but the \bm package won't work with it. Also, mathbb, mathcal and mathscr styled letters look much better in newtxmath.

I am searching for a solution of at least one of these problems:

  • Can I somehow load the symbols I like from newtxmath package and make bm work?
  • What is the font that looks good with Georgia and has good support for math symbols, proper spacing and works with other packages (most prefferable -- loadable with unicode-math package)?

Some examples:

newtxmath (good mahtbb, but font is too thin) enter image description here

XITS (some symbols are awkward) enter image description here

STIX math two (very good, but mathbb is strange) enter image description here

MWE contains a short example of a formula and text. I am including some packages into MWE that sometimes conflict with the font-loading stuff. I use LuaLaTeX to compile.

\documentclass[a4paper,10pt,openany]{book}
\usepackage{geometry}
\geometry{
margin=1in
}
%


\usepackage{mathtools}

\usepackage{amsthm}
\usepackage{thmtools}

\usepackage{wasysym}
%\usepackage{newtxmath}
%\usepackage[notext,not1,notextcomp]{stix}
%\let\coloneqq\relax
%\let\Coloneqq\relax
%\let\eqqcolon\relax
\usepackage[math-style=ISO]{unicode-math}
\setmathfont{STIX Two Math}
%\setmathfont{XITS Math}

\usepackage{bm}


\usepackage{mathrsfs}

\usepackage{lipsum}

\usepackage[utf8]{inputenc}
\usepackage{polyglossia}

\defaultfontfeatures{Ligatures=TeX}

\setmainfont{Georgia}

\setmainlanguage{english}

\DeclareFontFamily{U}{skulls}{}
\DeclareFontShape{U}{skulls}{m}{n}{ <-> skull }{}
\newcommand{\skull}{\text{\usefont{U}{skulls}{m}{n}\symbol{'101}}}

%

\begin{document}

If $\omega$ is a positive linear functional on a $C^{\ast}$-algebra~$A$,
then we can construct a unique (up to unitary equivalence)
representation~$\pi_\omega$ of algebra~$A$ in some Hilbert
space~$H_\omega$ over field of scalars $\mathbb{C}$ and
a vector~$\xi_\omega$ such that
    $$
    \omega(a)=\left(\pi_{\omega(a)}\xi_\omega,\,\xi_\omega\right).
    $$

\end{document}
  • I get no change if I uncomment bm, did you intend to have an example that showed an error with \bm being used? – David Carlisle Apr 19 '17 at 16:22
  • note \defaultfontfeatures{Ligatures=TeX} is the default anyway, and don't specify \usepackage[utf8]{inputenc} with luatex – David Carlisle Apr 19 '17 at 16:23
  • @DavidCarlisle it gives me an error if i write '\bm{\omega}' – Michael Fraiman Apr 19 '17 at 16:29
  • 2
    Tex Gyre Schola Math looks quite nice with Georgia as the main font. – Thruston Apr 19 '17 at 16:55
  • 2
    @MichaelFreimann you don't need \bm to get a bold omega with unicode-math the stix font has bold greek built in so you can use \symbf{\omega} – David Carlisle Apr 19 '17 at 17:18

Your Answer

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

Browse other questions tagged or ask your own question.