Hi Vladimir, 2014-08-12 12:42 GMT+02:00 Vladimir Lomov <[email protected]>: > Hello, > ** Tassilo Horn [2014-08-12 12:27:57 +0200]: > >> Mosč Giordano <[email protected]> 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è _______________________________________________ auctex-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex-devel
