Edit: how to colour an edited formula

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
14 replies · 2K views
mcastillo356
Gold Member
Messages
666
Reaction score
365
TL;DR
I've needed to edit a formula, and wanted to colour it. No way. LaTeX command "\color{red}" doesn't work. Whch should be the typing?
Hi PF
How to colour the edited formula?
Greetings!
 
Physics news on Phys.org
In what application?
[tex]\vec F_{net}=m\vec a[/tex]
... but this seems tedious to do for specific items in an equation.
Quote this post to see the tags COLOR tags surrounding the tex tags.

You could use \bf ...
[tex]\bf \vec F_{net}=m\vec a[/tex]
or \Large
[tex]\Large \vec F_{net}=m\vec a[/tex]
 
  • Informative
Likes   Reactions: mcastillo356
robphy said:
In what application?
[tex]\vec F_{net}=m\vec a[/tex]
... but this seems tedious to do for specific items in an equation.
Quote this post to see the tags COLOR tags surrounding the tex tags.

You could use \bf ...
[tex]\bf \vec F_{net}=m\vec a[/tex]
or \Large
[tex]\Large \vec F_{net}=m\vec a[/tex]
Fine. I'll give a try... Suppose I want to colour only ma in F=ma in this sentence: "The formula ##\vec F=m\vec a## is one of the most importants in physics", written inside a paragraph... How?
Thanks!
 
Hi, @robphy , PF
What about if the LaTeX inside a sentence is
\dfrac{|f(u)-f(v)|}{|u-v|}=\dfrac{||u|-|v||}{|u-v|}\leq 1
and I want to colour
\dfrac{||u|-|v||}{|u-v|}
 
A little bit mind-blowing, I will take it easy, ie, read and write down #2

Love
 
pbuk said:
Ah yes that forces it but it would be better to fix the broken configuration.
.. which Greg has now done (it was a breaking change in MathJax 3.1) so no need for \require.