<\body> provides three standard types of numbered textual environments: theorem-like environments, remark-like environments and exercise-like environments. The following aspects of these environments can be easily customized: <\itemize> Adding new environments. Modifying the rendering of the environments. Numbering the theorems in a different way. First of all, new environments can be added using the meta-macros , and . These environments take two arguments: the name of the environment and the name which is used for its rendering. For instance, you may wish to define the environment by <\tm-fragment> > When available in the dictionaries, the text ``Experiment'' will be automatically translated when your document is written in a foreign language. In the section about , it is also explained how to define other numbered textual environments (besides theorems, remarks and exercises). The principal rendering of the environments can be customized by redefining the , and macros. These macros take the of the environment (like ``Theorem 1.2'') and its as arguments. For instance, if you want theorems to appear in a slightly indented way, with a slanted body, then you may redefine as follows: <\tm-fragment> >|||1.5fn>|>>> >> This redefinition produces the following effect: <\with|render-theorem|<\macro|which|body> >|||1.5fn>|>>> > <\theorem> This is a theorem which has been typeset in a slanted font. By default, the theorems are rendered as remarks with the only difference that their bodies are typeset in an italic font. Hence, redefining the macro will also affect the rendering of theorems. The default macro is also based on . Instead of redefining the entire rendering, the user might just wish to customize the way names of theorems are rendered or redefine the separator between the name and the body. As the user may have noticed by examining the above redefinition of , these aspects are controlled by the macros and . For instance, consider the following redefinitions: <\tm-fragment> >>>> >> Then theorem-like environments will be rendered as follows: <\with|theorem-name|>>|theorem-sep|> <\proposition> This proposition is rendered in is a fancy way. In the sections about , it is explained how to customize the counters of numbered environments for particular purposes. For instance, by redefining , you may force theorems to reset the counter of corollaries: <\tm-fragment> >>>>>>>> Notice the trick with and in order to take into account additional action which might have been undertaken by the previous value of the macro . The following code from is used in order to prefix all standard environments with the number of the current section: <\tm-fragment> >>> >>>