[Tex/LaTex] Different Sum signs

math-mode

During my research I noticed different sum signs:

enter image description here

The first one is mine and is created by $\sum_{i=1}^n$. The second one is from a paper. Any idea how to write it in LaTeX?

Best Answer

Adapting my answer here, Standard AMS-Sum Operator using MnSymbols?, for mathptmx, you can use either font's sum operator (\sum mathptmx and \Xsum computer modern), while retaining the underlying mathptmx math font.

\documentclass{article}
\usepackage{mathptmx,mathtools}
% =============================================
%Import symbols from font cmex without importing the whole package
% =============================================
\DeclareFontFamily{U} {cmex}{}

\DeclareFontShape{U}{cmex}{m}{n}{
  <-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}

%\DeclareMathSymbol{\Xdsum}{\mathop}{Xcmex}{88}% LaTeX can find displaystyle
\DeclareMathSymbol{\Xsum}{\mathop}{Xcmex}{80}
% =============================================
%\usepackage{fonttable}
\begin{document}
\centering
sum under mathptmx:\par
$\sum_{i=1}^2 x_i $
\[\sum_{i=1}^2 x_i \]
Defined Xsum from cmex:\par
$\Xsum_{i=1}^2 x_i $
\[\Xsum_{i=1}^2 x_i \]
%\tiny\fonttable{cmex8}
\end{document}

enter image description here

If one uncomments the two lines in the MWE related to fonttable, one will see the computer-modern math extension font table, showing the text and displaystyle sum signs at slots 80 and 88, which are reflected in my \DeclareMathSymbol declarations.

Related Question