Looking at book.cls, I find this: [EMAIL PROTECTED] \thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter}
\secdef is basically checking for a star (it's defined in latex.ltx in terms of [EMAIL PROTECTED]), and it invokes [EMAIL PROTECTED] if there isn't one and [EMAIL PROTECTED] if there is (in which case it also seems to play with the arguments, for reasons I don't understand). I'd try mimicking this technique. Richard Paul Tremblay wrote: > On Tue, 27 Feb 2007 21:02:15 -0500 > Richard Heck <[EMAIL PROTECTED]> wrote: > > >> I'm not texpert, but I'd have thought the solution had to involve the >> if-next-char-is-star trick that seems to be used in a lot of the >> classes to allow a single definition to handle both the starred and >> non-starred cases. Maybe Helge would know. Helge seems to be a real >> wiz with these things. >> >> > > Okay, that looks very useful. I've never used an if statements in Latex, > but I think > that is probably what I need. I'll wait to see if Helge has time to > respond and give > me some tips. > > Thanks > > Paul > -- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto