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?




colorpackage 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. – David Carlisle Jun 08 '18 at 22:26mathmodule, one found that there dozens of different possible modules to compute logs in Python. – kjo Jun 10 '18 at 03:38qtreewas the canonical way to draw trees, thentikz-qtreeand nowforest. – Alan Munn Jun 10 '18 at 03:47