auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Manage auto insertion of labels


From: Mosè Giordano
Subject: Re: [AUCTeX-devel] Manage auto insertion of labels
Date: Tue, 12 Aug 2014 12:59:38 +0200

Hi Vladimir,

2014-08-12 12:42 GMT+02:00 Vladimir Lomov <address@hidden>:
> Hello,
> ** Tassilo Horn [2014-08-12 12:27:57 +0200]:
>
>> Mosč Giordano <address@hidden> writes:
>
>>>>   2. Wrt. 1, what if I want labels in a paragraph environment but not
>>>>   for a \paragraph{} section?
>
>>> I believe you can't define an environment with the same name of an
>>> existing macro and vice versa, so there should never be a naming clash
>>> :-)
>
>> Oh, indeed!
>
> Sectioning commands (standard ones) are expections. See attached
> example. So, in general in LaTeX it is possible to define macros and
> environments with the same name.

Thanks for sharing this, I didn't know!  But this applies only to
these sectioning commands, right?  An environment defined with
`\newenvironment' does clash with an existing macro with the same
name.

Anyway, I hope there won't be many people wanting to label `\section'
but not the `section' environment ;-)

Bye,
Mosè



reply via email to

[Prev in Thread] Current Thread [Next in Thread]