The photo is from Prof Alfredo Canziani from NYU, who manage to create presentation with formulas which parameters using different colour regarding to a same formula.
I wonder is there any editors or tricks in Latex to achieve this especially for blackground presentation.
Link of reference to Professor Alfredo's photo
What I have tried?
I have tried to use draw.io for this code
$$x \text { in }\left(Z_{p}\right)^{*} \text { is a Q.R. } \Leftrightarrow x^{(p-1) / 2}=1 \text { in } Z_{p}$$
The Latex become uncompilable after only assign colors to a certain parameters in the formula