Hello,
** Tassilo Horn [2014-08-12 12:27:57 +0200]:

> Mosè Giordano <m...@gnu.org> 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.

> Bye,
> Tassilo

---
WBR, Vladimir Lomov

-- 
God instructs the heart, not by ideas, but by pains and contradictions.
                -- De Caussade
\documentclass{article}

\begin{document}

\section{First numbered section}

Hello, World!

\begin{section}{Second numbered section}
Hello, World!
\end{section}

\end{document}
_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to