14
votes
4answers
5k views

Make an Example and shaded box like in the book

I want to make Examples in the book as in the following book http://www.analogmachine.org/Books/Chapter1.pdf See Page 2... Also shaded box as in the page 3... Pictures can be seen below. ...
7
votes
3answers
2k views

Example box with automatic numbering?

Working with LaTeX, I was just wondering how do you create a box around a set of related text such as an example in a textbook? I found \framebox or \makebox, but I can't figure out how to make it ...