There are many questions in this site on changing the background color of quoted text, but I am bewildered and disheartened by the huge proliferation of different ways to do this, each using a different additional package. I can't believe that such a common and conceptually simple task doesn't have one basic, canonical solution. (This solution may be inadequate for specific situations, of course, but only then I would consider bringing in speciallized tools.)
Basically, I'm looking for something analogous in appearance to
this effect (but without the fancy borders, just the background color change)
...or
this effect (but without the change of font or foreground color, just the background color change)
...or preferably somewhere in-between, namely, the simple color change of the latter, but without the change of font.
Doesn't "bare LaTeX" provide a way to do this?
color
package is in the core "required" release so it is as canonical as article class, and\colorbox{yellow}{hello}
will write that text on a yellow background.math
module, one found that there dozens of different possible modules to compute logs in Python.qtree
was the canonical way to draw trees, thentikz-qtree
and nowforest
.