In the below link
http://www.math.uiowa.edu/~goodman/algebrabook.dir/bookmt.pdf
the author highlights anything which is important using a greyish color background. For example, if you see Equation 1.5.3 (which on page 22 of the book) it is highlighted in grey. I would like to know the TeX commands for producing similar output.
Best Answer
As mentioned in the comments,
mdframed
is perfect for this. You can combine it with your favouritetheorem
package too- in the MWE below I've used it withntheorem
, but there's nothing to stop you from usingamsthm
or something similar.This example is very simple, but you can get very sophisticated using
tikz
orpstricks
as the engine, as shown in the excellent documentation