I have been recently reading an article in Nature Reviews Chemistry and was impressed by the beauty of typography. Let me show you a small fragment of text involving some mathematical formulas.
I indicated different fonts with colors. As you can see, STIX is mixed with Minion Pro and with Diverda, but the mixture looks very natural and balanced. Without inspecting properties of PDF I would have never guessed that there are so many fonts here. How is it even possible? I know that unicode-math
supports Minion Math
(proprietary OpenType font), Cambria Math
, STIX
, but what about Diverda
? Obviously it lacks greek letters and therefore Minion Pro Italic
is used. But how? Can someone reproduce this beautiful excerpt with XeLaTex
? I managed to can close to it by using Minion Pro
for text and Cambria Math
for equations, but it is not even nearly the same.
Edit
Based on the 2 answers below, I would like to provide a working example and describe what exactly is my problem.
Consider this starting point
\documentclass[11pt,a4paper,onecolumn,openright,final,oneside]{memoir}
%===============================================
\settrims{0.cm}{0.cm}
\setbinding{0cm} % space for binding
\setlrmarginsandblock{*}{5cm}{1} % spine = edge. Edge=3cm
\setulmarginsandblock{2.5cm}{*}{1} % upper=lower. Upper=3cm
\checkandfixthelayout
%===============================================
\usepackage{microtype}
\usepackage{fontspec}
\usepackage[]{amsmath}
\usepackage{lipsum}
% -- text font --
\setmainfont[Ligatures=TeX]{Minion Pro}
\setsansfont[Ligatures=TeX]{Diverda Sans Com Light}[
BoldFont =Diverda Sans Com Medium
]
% -- math fonts --
\usepackage{unicode-math}
\setmathfont{Cambria Math}[version=body]
\setmathfont{STIX Two Math}[version=box]
% -- frame --
\usepackage[framemethod=TikZ]{mdframed}
\usepackage{xcolor}
\definecolor{Carrara}{HTML}{EEEDEA}
\mdfdefinestyle{refa}{linecolor=Carrara!50!black,
backgroundcolor=Carrara,roundcorner=5pt,leftmargin=2cm,%
topline = false,bottomline=false,leftline=false,rightline=false,%
frametitlerule=true,frametitlerulewidth=0.5pt,%
font=\sffamily\footnotesize,frametitle={Box}, frametitlefont=\footnotesize\bfseries\sffamily,%
}
\begin{document}
\pagestyle{empty}
%===============================================
\mathversion{body}
\lipsum[1][1-2] $W(\omega,t)/v_q+\symbf{\Sigma}(z_1,z_3)\otimes\symbf{G}(z_3,z_2)$, \lipsum[1][4-5]
$\hat{H}_p\equiv \symbf{\nabla}_p$, \lipsum[1][6-7].
\begin{mdframed}[style=refa]
\mathversion{box}
\lipsum[2][1-3] $\phi$ that is, $\mathversion{box}\Psi\approx\psi\otimes\phi$. \lipsum[2][4-5]
\begin{align}
i \hbar \frac{\partial}{\partial t}\psi(t)=\hat{H}_p(t)\psi(t)
\end{align}
\lipsum[3][1]
\end{mdframed}
\end{document}
It has the following characteristics:
- Body text - Minion Pro Body equations
- Cambria Math Box text
- Diverda Sans Com Light Box equations
- STIX Two Math
Let us say, I am happy with the body, but I want to change the math in the box. Why? Well, heavy STIX does not match light Diverda. But Diverda does not have greeks, therefore, let us use Minion Pro for them. The mathfonts are defined therefore as
\setmathfont{Cambria Math}[version=body]
\setmathfont{STIX Two Math}[version=box]
\setmathfont{Minion Pro Italic}[range=it/{Greek,greek},version=box]
\setmathfont{Diverda Sans Com Light Italic}[range=it/{latin, Latin},version=box]
with this result
What I am doing wrong? Why the body math font has changed? Why some characters are missing in the box?
a r e f u r t h e r s i m p l i fi e d a n d r e d u c e d t o
, this is a sign that the original is not prepared by TeX:)