About
Shop
LaTeX
Free Software
Books
News
Contact
Blog
News (2018-01-05): glossaries-extra v1.26 released.


10.1 Redefining Environments

It is also possible to redefine an environment using:

\renewenvironment{<env-name>}[<n-args>][<default>]{<begin-code>}{<end-code>}

As with \renewcommand, only redefine an existing environment if you want a modified version of that environment rather than because you like the environment name.

Exercise 25: Defining a New Environment

If you did any of the exercises from Exercise 10 to Exercise 17, go back to the document you created and define the exercise environment as in the example above. Then try creating some exercises using this environment. You could, maybe, put an exercise in the first chapter, and then another one in the second chapter. Again you can download or view an example.


This book is also available as A4 PDF or 12.8cm x 9.6cm PDF or paperback (ISBN 978-1-909440-00-5).

Last modified: 2017-02-06.

The free resources on this site are funded by book sales, not by adverts. If you would like to help keep this site free of annoying third-party ads, please consider buying a book.

© 2012 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Site Map FAQs