jgm/texmath

Complex formula

Closed this issue · 1 comments

This latex coding was not processed in the word format:

\begin{eqnarray*}
d_j = \frac{| \sum_{i = 1}^{\frac{m}{2}}C_{ij}^T - \sum_{i = 1}^{\frac{m}{2}}C_{ij}^C |}{\frac{m}{2}}
\end{eqnarray*}

Neither was:

\begin{eqnarray*}
v_{ij}^* = \prod_{i=1}^{m} v_{ij} \times s_j
\end{eqnarray*}

jgm commented

With latest pandoc I cannot reproduce the issue:

% pandoc -o my.docx
$$
\begin{eqnarray*}
d_j = \frac{| \sum_{i = 1}^{\frac{m}{2}}C_{ij}^T - \sum_{i = 1}^{\frac{m}{2}}C_{ij}^C |}{\frac{m}{2}}
\end{eqnarray*}
$$

$$
\begin{eqnarray*}
v_{ij}^* = \prod_{i=1}^{m} v_{ij} \times s_j
\end{eqnarray*}
$$
^D

Screen Shot 2021-04-21 at 10 50 20 PM