[texhax] Asking about def

William Adams will.adams at frycomm.com
Tue Jul 7 14:11:32 CEST 2009

On Jul 7, 2009, at 7:19 AM, wawan wrote:

> Hi all
> Can I using
> \begin{def_name}
> \end{def_name}
> to call def ?
> or how to using that command ( begin--end)

You need to define the new environment (see _The LaTeX Companion)

%commands to happen at beginning of environment
%commands to happen at end of environment

If you need grouping which passes between beginning and end you'll  
have to use the appropriate command instead of brackets


William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.

More information about the texhax mailing list