1

I'm setting a book with main text font Source Serif Pro while sticking with Computer Modern math font. (Those may not be the best choices, but for the time being, I am stuck with them.) But \mathit is not behaving as I hope. I want $v$ and $\mathit{vs}$ to look compatible, but instead they look startlingly different.

demonstration of wildly different v's

Here's the code:

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Source Serif Pro}[Scale=MatchLowercase]
\begin{document}
\thispagestyle{empty}
Singular $v$, plural $\mathit{vs}$, list \texttt{(cons $v$ $\mathit{vs}$)}.
\end{document}

I have found the question How do I change the math italic font in XeTeX/fontspec? and I have poked at the documentation for the mathspec and fontspec packages, and fontspec preserves the Computer Modern symbols just as I had hoped. How can I tell \mathit that I want it to do the same thing it did under Computer Modern?

  • even in cm I wouldn't use $\mathit{vs}$ as the plural of $v$, \mathit is the text italic font, used in math, not the math italic font, so $v$s would be better markup. – David Carlisle Dec 04 '19 at 20:56
  • @DavidCarlisle $\mathit{vs}$ is meant to be a metavariable with a two-letter name, not a plural of $v$. Not sure if that makes a difference. – Norman Ramsey Dec 08 '19 at 14:02

1 Answers1

2

use the no-math option

\documentclass{article}
\usepackage[no-math]{fontspec}
\setmainfont{Source Serif Pro}[Scale=MatchLowercase]
\begin{document}
\thispagestyle{empty}
Singular $v$, plural $\mathit{vs}$, list \texttt{(cons $v$ $\mathit{vs}$)}.
\end{document}

enter image description here

Ulrike Fischer
  • 327,261