I've been searching for answers, found a couple but could not make them to work in my particular situation. If there is a general procedure to do the change, I'd be glad to read it.
Is there a way to change a couple of symbols from one symbol set to another? More specifically, I'd like to change the sum and product operators from mtpro2
(lite) to the ones in mathptmx
. It'd be great to have a new set of commands, like e.g. \newsum
or \newprod
for the newly-defined symbols.
I'm using XeLaTeX. A basic TeX file is the one I'm posting below.
Thank you.
\documentclass[14pt, a4paper, reqno]{extarticle}
\usepackage{amsmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{mathptmx}
\usepackage[lite]{mtpro2}
\usepackage{mathspec}
\setmainfont[Scale=0.95]{Crimson Text}
\setsansfont[Scale=0.8]{Ubuntu}
\setmonofont[Scale=0.9]{Ubuntu Mono}
\setmathsfont(Latin)[Uppercase=Italic,Lowercase=Italic,Scale=0.95]{Crimson Text}
\setmathsfont(Greek)[Uppercase=Regular,Lowercase=Regular,Scale=0.85]{GFS Didot}
\setmathrm{Crimson Text}
\usepackage{microtype}
\usepackage{amssymb}
\usepackage{amstext}
\usepackage{amsthm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
$$\sum_{i=1}^nX_iY_{n-i}$$
$\sum_i\varphi (x_i)$
\end{document}
unicode-math
, you can\setmathfont[range={\sum, \prod, \coprod}, Scale=MatchUppercase]{TeX Gyre Termes Math}
(or your math font of choice).