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 auto number such as Example 1.1 (for first example in chapter 1), or even manually add to it.
|
|
||||
|
|
migrated from stackoverflow.com Apr 4 '11 at 15:49
|
Put it in an environment, like the
These commands define or redefine an environment.
|
||||
|
|
|
Look at the |
||||
|
|
|
You could use the
Edit: |
||||
|