1
vote
1answer
26 views

Set colour of equations when using preview package

I use the preview package to export a pdf containing only my equations by putting the following in the preamble \usepackage[active,tightpage,displaymath,textmath]{preview} ...
7
votes
2answers
157 views

How do I color one line of a display equation?

I want to color only one line of this display equation: \begin{align*} i_{fb} &= - \frac{v_o}{Z_F} \\ F(s) = \frac{i_{fb}}{v_o} &= - \frac{1}{Z_F} \\ \color{red} F(s) &= - \frac{1 + ...
1
vote
1answer
128 views

Changing align environment tag styles and colors [duplicate]

I'm using amsmath and amsfonts to typeset my homework, and since it will be read on a screen, I would like to make \tag{comments inside equations} differently colored, and optimally downsize them by a ...
4
votes
1answer
354 views

Set math fonts to predefined color

I am trying to define math text is some predefined color as in my preamble: \setbeamercolor{math text}{pmsGreen} \everymath{\color{pmsGreen}} \everydisplay{\relax \ifx \\\@eqncr \else ...
3
votes
2answers
512 views

Coloured shadowed boxes around equations

When I want to highlight some important result, I traditionnally put my equations in boxes: \begin{equation} boxed{\Delta = b^2-4ac} \end{equation} I would like to have a more fancy thing: to be ...
3
votes
1answer
188 views

Center displayed, boxed equation within environment

I would like to center, with respect to the page margins, a displayed equation that is boxed and is within either an enumerate or itemize environment. Below is an example of what I have. Notice that ...
11
votes
1answer
158 views

Extra space added after equation when it is coloured

For some reason space is added after my equation when I colour it. This does not happen if the colour is added to text. Is there a simple way to prevent this from happening, like a global setting (I ...
5
votes
1answer
720 views

Equations in fancy boxes

I've checked the post here, where the package empheq is used for embedding equations into coloured boxes. With that idea, I wrote in my file the following: % in the preambule \usepackage{empheq} ...
7
votes
1answer
340 views

colored equation numbers with breqn package?

I was experimenting with the use of breqn for a few unwieldy formulas, but wonder how to maintain the equation number coloring I'd been using, based on the following questions: Changing the apperance ...
8
votes
2answers
977 views

Avoid addition of spaces when using colorbox in equations

Colorbox adds some spaces when I use it in equations. E.g. in \documentclass[12pt]{article} \usepackage{xcolor} \begin{document} \colorbox{yellow}{${a^2}+b^2=c^2$} ...
8
votes
1answer
1k views

Coloured equation number (without changing colour of reference using hyperref)

I am working on a file where I am using the package hyperref so that the references to equations are linked and coloured. Here is a MWE: \documentclass{article} \usepackage{amsmath} ...
6
votes
3answers
6k views

Change border color of a \boxed equation?

I recently asked this question. The solution worked for me but I have a problem. cropped images are as small as possible. I would like to have a gif that bounds to borders of box of the equation. so I ...