To change the shaded color of the \rule{...}{...} command, one solution is
\textcolor{blue}{\rule{2cm}{2cm}}
but I want to know how can I directly change the color of this command globally?
|
|
|
You could do
But it may be better to instead define a new If you need to override this sometimes it's probably better to use a colour such as
|
|||||||||||
|
|
I just do the following on a case by case basis.
But if you want to define your own command, you can put this in the preamble or latter.
And if you want to fix the color, try:
|
|||||
|