I am writing a mathematical report. where i need to include some examples, e.g., solving odes. is there a package which provide a good environment for writing examples?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
One possibility is to add
for the definition of the Example environment. You can adjust the counters and such things as well. Here's a minimal example:
|
|||
|
|
amsthm, for example, will let you define a new "theorem-like" environment, i.e. it has a numbered heading ("Example 1.1") that can be referenced. – Ulrich Schwarz Apr 4 '11 at 7:15