-->

How to remove diamonded question marks from equati

2019-07-25 06:57发布

问题:

I have simple bookdown document with labeled LaTeX equation:

---
title: "Equation text"
output: 
  bookdown::pdf_document2: default
  bookdown::word_document2: default
---

Below is the binom equation

\begin{equation}
f\left(k\right)=\binom{n}{k}p^k\left(1-p\right)^{n-k} (\#eq:binom)
\end{equation}

With RStudio it Knits normally to PDF:

Also it knits to docx-document and I have OMML equation inside:

But for some reason I need to have this equation in MathType form.
So I perform its conversion from OMML (Word 2007 and late (OMML) equations) to MathType (MathType equations (OLE objects)):

This procedure ends with equation in Word:

The question marks    have the following hex equivalent: E2 80 81 E2 80 81.

How can I remove these diamonded question marks? Or how can I avoid their appearance?

Ideally I need to have equation number on the right of equation.

回答1:

The problem solved by installing all needed fonts from MathType's distribution manually to C:/Windows/Fonts.

The diamonds gone:

Note: latex notation for diamonds was \qquad if someone is interested.