In my code, I use this command :
\newcommand{\boldstraightmath}[1]{\bm{\mathrm{#1}}}
The problem is that Mathtype does not recognize specific (or customized) command such as \boldstraightmath.
For example, the following equation is not well translated by mathtype recognize only classic Latex functions.
\boldstraightmath{C}_i(\boldstraightmath{q})=\mathrm{exp}(\boldstraightmath{Y}_1q_1)\cdot \mathrm{exp}(\boldstraightmath{Y}_2q_2)\cdot ...\cdot \mathrm{exp}(\boldstraightmath{Y}_iq_i)\boldstraightmath{A}_i
Consequently, I need to transform the command \boldstraightmath and coming back to initial definitions with classic functions such as: \bm{\mathrm{C}}.
Is there a way to come back to my original code without newcommand?
I need a better thing than find/ replace \boldstraightmath by \bm{\mathrm{A+}}
\bm{\mathrm{C}}that is just a slow and complicated way get\mathbf{C}– David Carlisle Sep 07 '21 at 09:24\mathbf{}seems simpler. – Marijn Sep 07 '21 at 20:59