framed – Framed or shaded regions that can break across pages

The pack­age cre­ates three en­vi­ron­ments:

framed, which puts an or­di­nary frame box around the re­gion,

shaded, which shades the re­gion, and

left­bar, which places a line at the left side.
The en­vi­ron­ments al­low a break at their start (the
\FrameCom­mand en­ables cre­ation of a ti­tle that is
“at­tached” to the en­vi­ron­ment); breaks are also
al­lowed in the course of the framed/shaded mat­ter.

There is also a com­mand \MakeFramed to make your own
framed-style en­vi­ron­ments.