Hi Pablo,

On 26/05/2010, at 2:17 AM, Pablo Rodríguez wrote:

On 05/25/2010 05:28 PM, Ulrike Fischer wrote:
Am Tue, 25 May 2010 17:12:08 +0200 schrieb Pablo Rodríguez:

  (I know that \makeatletter ends with \makeatother,
although I'm not sure what are they used for ;-).)

Well \makeatletter makes @ (at) to a letter, which means that you
can use commands with @ in their names (command names end at the
first non-letter char), \makeatother makes @ to a "non-letter".

Thanks for your clear explanation, Ulrike.

But naming commands with @ is only a convention, isn't it?

Yes, but it is more than just this.

It means that a macro's meaning cannot be accidentally redefined,
without first going to the trouble of changing the status
of the @ character.
Only someone who knows (pretty much) what they are doing
will have tried that, so it serves as a safety mechanism too.


Thanks again,


Pablo

Hope this helps,

        Ross

------------------------------------------------------------------------
Ross Moore                                       ross.mo...@mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------






--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to