I use the package txfonts but I don't like this symbolenter image description here

I would like to use Computer Modern symbol for the product symbol.

2 Answers 2


Variation on my answer here: Different Sum signs

% =============================================
%Import symbols from font cmex without importing the whole package
% =============================================
\DeclareFontFamily{U} {cmex}{}

  <-6> cmex5
  <6-7> cmex6
  <7-8> cmex7
  <8-9> cmex8
  <9-10> cmex9
  <10-12> cmex10
  <12-> cmex12}{}

\DeclareSymbolFont{Xcmex} {U} {cmex}{m}{n}

% =============================================
prod under txfonts:\par
$\prod_{i=1}^2 x_i $
\[\prod_{i=1}^2 x_i \]
Defined Xprod from cmex:\par
$\Xprod_{i=1}^2 x_i $
\[\Xprod_{i=1}^2 x_i \]

enter image description here


In the modern toolchain, with unicode-math, you could write:


%% There is also a TeX Gyre Termes X that’s a more exact clone of
%% newtxtext, or any Times font would work here:
\setmainfont{TeX Gyre Termes}
\setmathfont{TeX Gyre Termes Math}
\setmathfont[range=\prod, Scale=MatchUppercase]{Latin Modern Math}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .