LaTeX Colors inside formulas imported from MathType

AI Thread Summary
The discussion centers on incorporating colors into letters and numbers within formulas using MathType, specifically for posting on PhysicsForums. Users highlight that the correct Copy preference in MathType is "Equation for application or website," selecting Physics Forum from the list. However, while this method allows for equation copying, it does not retain color formatting. To reintroduce colors, users can manually edit the code using commands like \color{red}{element}. There are also mentions of issues with the preview functionality on PhysicsForums, which can be inconsistent and may require reloading the page to display correctly.
Saw
Gold Member
Messages
631
Reaction score
18
TL;DR Summary
How to include colors in numbers or letters of equations, esp. when pasted from MathType
I would like to include colors in letters or numbers inside formulas just like I did here with text.
By the way, I use the software MathType to build my formulas and used to be able to paste the equations easily on PhysicsForums, but can't do it lately. Do you know by chance the Copy-and-Paste option that I should choose at MathType so that the equation is readable here?
 
Physics news on Phys.org
I think I could answer myself.

With MathType (6.9 in my case), the Copy preference is last option "Equation for application or website" and choose Physics Forum in the list.

The copied code unfortunately misses the colors but you can edit it to reinclude them with code, for example, \color{red}{thenumberorletter}, like here:

\begin{array}{l}<br /> \color{red}{e_x} = (\color{blue}{e_x},0) = (1,0)\\<br /> \color{red}{e_t} = (v\color{blue}{e_x},{e_t}) = (v,1)<br /> \end{array}

The thing is that, as noted in some threads, the preview functionality works erratically. Apparently you need to reload the page... Bug to be fixed, isn't it?
 

Similar threads

Replies
7
Views
8K
Replies
3
Views
8K
Replies
3
Views
3K
Replies
5
Views
4K
Replies
2
Views
12K
Replies
12
Views
3K
Replies
9
Views
2K
Replies
9
Views
29K
Back
Top