¿Cómo lidiar con diferentes comas en modo texto y matemático?

¿Cómo lidiar con diferentes comas en modo texto y matemático?

Estoy escribiendo una tesis y decidí usar Charter ( \usepackage{XCharter}) para texto y Palatino ( \usepackage{mathpazo}) para matemáticas. Desafortunadamente, las comas en Charter y Palatino se ven muy diferentes, por lo que tengo problemas al escribir listas de variables en el texto. Aquí hay un ejemplo mínimo:

The polynomial ring $\C[x,y,z]$ has variables $x$, $y$, $z$.

Esto se representa como:

ejemplo renderizado

¿Es aceptable esta diferencia en las fuentes o debería considerar usar diferentes combinaciones de fuentes?

Respuesta1

El diseño de Palatino no es realmente compatible con Charter. Existe una versión gratuita de una fuente matemática compatible con Charter, disponible con formato mathdesign.

\documentclass{article}
\usepackage[charter]{mathdesign}
\usepackage{XCharter}

\newcommand{\numberset}[1]{\mathbb{#1}}
\newcommand{\C}{\numberset{C}}

\begin{document}
The polynomial ring $\C[x,y,z]$ has variables $x$, $y$, $z$.

\itshape
The polynomial ring $\C[x,y,z]$ has variables $x$, $y$, $z$.
\end{document}

ingrese la descripción de la imagen aquí

Si prefieres la mathpazopizarra en negrita, añade un par de líneas:

\documentclass{article}
\usepackage[charter]{mathdesign}
\usepackage{XCharter}

\DeclareMathAlphabet\PazoBB{U}{fplmbb}{m}{n}
\renewcommand{\mathbb}{\PazoBB}

\newcommand{\numberset}[1]{\mathbb{#1}}
\newcommand{\C}{\numberset{C}}

\begin{document}
The polynomial ring $\C[x,y,z]$ has variables $x$, $y$, $z$.

\itshape
The polynomial ring $\C[x,y,z]$ has variables $x$, $y$, $z$.
\end{document}

ingrese la descripción de la imagen aquí

información relacionada