Color in equations¶
Test 1:
$${\color{#0271AE}{\int dx e^-x}}$$
yields
\[
{\color{#0271AE}{\int dx e^-x}}
\]
Test 2:
$$(x={\color{#DC2830}{c_1}} \cdot {\color{#0271AE}{x_1}} + {\color{#DC2830}{c_2}} \cdot {\color{#0271AE}{x_2}})$$
yields
\[
(x={\color{#DC2830}{c_1}} \cdot {\color{#0271AE}{x_1}} + {\color{#DC2830}{c_2}} \cdot {\color{#0271AE}{x_2}})
\]
Test macro:
$$
A = \bmat{} 1 & 1 \\ 2 & 1\\ 3 & 2 \emat{},\ b=\bmat{} 2\\ 3 \\ 4\emat{},\ \gamma = 0.5
$$
yields
\[\begin{split}
A = \bmat{} 1 & 1 \\ 2 & 1\\ 3 & 2 \emat{},\ b=\bmat{} 2\\ 3 \\ 4\emat{},\ \gamma = 0.5
\end{split}\]
test sphinx shortcut for color
$$\bered{\int dx e^-x}$$
yields
\[
\bered{\int dx e^-x}
\]