Discussion:
[Dvipng] Question: How to change the background color.
Zhang
2008-06-05 12:01:26 UTC
Permalink
I write document in word, using "aurora" to typeset the "formula".
"aurora" invoke the latex.exe, dvipng.exe to generate the embeded graph into word.

the background of graph is "white".
I wonder whether dvipng can change the background color or it should be set in my tex code.

OS: windows xp sp2
Jan-Åke Larsson
2008-06-06 09:17:00 UTC
Permalink
Post by Zhang
the background of graph is "white".
I wonder whether dvipng can change the background color or it should be set in my tex code.
You just issue \background{blue}
/JÅ
Zhang
2008-06-06 09:42:26 UTC
Permalink
I find the solution on google
http://answers.google.com/answers/threadview?id=282787
Google Answers: Boxes with background color in LaTeX

use the \colorbox is ok.
I type the following code in aurora. it works
the background is red now.
---------------------------------------------------------
\colorbox{red}{${(-2)^3}$}
---------------------------------------------------------
Post by Zhang
the background of graph is "white".
I wonder whether dvipng can change the background color or it should be set in my tex code.
You just issue \background{blue}
/JÅ

Loading...