5

This question already has an answer here:

I would like to know what is this font called? How can I reproduce it? I know that it is neither \mathsf{} nor \mathcal{}.

Is there any reference where can I find all mathematical fonts?

enter image description here

marked as duplicate by Werner, Sean Allred, Adam Liter, Gonzalo Medina, Xavier Jul 28 '15 at 3:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

5

Something too close?

enter image description here

The main difficulty is with the "not \mathcal{D}" character. But, we can go too close using the Zapf Chancery characters. For these, we declare the math font:

\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}      

The rest of the equation can be typeset with mathptmx.

\documentclass{article}
\usepackage{mathptmx}
\usepackage{amsmath}
\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}
\begin{document}

\begin{equation}
\begin{aligned}
\max_{\mathbf{x}} \quad  & \sum_{i\in \mathpzc{D}}w_i \sum_{k = 1}^{K} R_{ik}^{(D)}(\mathbf{x}) \\
  \text{s. t.}\quad & \sum_{i\in \mathpzc{D}}x_{ik}P_{D_i}g_{ii}(k)\le Q_k, \quad\forall k, \\
                    & x_{ik}\in [0,1],
\end{aligned}
\end{equation}

\end{document}
  • +1 for figuring out how to combine the Zapf Chancery-style "D" with the mathptmx package. :-) – Mico Jul 28 '15 at 0:18
  • Strangely the subscripts in the original example are not aligned, c.f. $x_{ik}$ and $g_{ii}^{(k)}, which force me to say maybe the math in @det's question wasn't created with LaTeX... – s__C Jul 28 '15 at 5:41
4

TeX Gyre Termes. There is a difference for the∀` symbol :

\documentclass{article}
\usepackage{newtxmath, newtxtext}

\begin{document}

\begin{align*}
  \max_{\mathbf{x}} & \sum_{i\in \mathcal{D}}w_i \sum_{k = 1}^{K} R_{ik}^{(D)}(\mathbf{x}) \\
  \text{s. t.}\quad & \sum_{i\in \mathcal{D}}x_{ik}P_{D_i}g_{ii}(k)\le Q_k, \quad\forall k, \\
                    & x_{ik}\in [0,1]
\end{align*}

\end{document} 

enter image description here

  • Quick remarks: parenthesis are not the same, spacing in the subscripts is not the same (bigger in your case), sum character is not the same. – s__C Jul 28 '15 at 5:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.