titlesec problem

David Carlisle d.p.carlisle at gmail.com
Mon Apr 8 23:50:30 CEST 2024


On Mon, 8 Apr 2024 at 22:21, Zdenek Wagner <zdenek.wagner at gmail.com> wrote:

> po 8. 4. 2024 v 23:01 odesílatel Hartmut Henkel via tex-live
>
> That was the descripton of the sectioning commands. Anythign inside
> \section{...} travels the same way. It would be the same for \index
> and many more. More can be found in any book on LaTeX.
>
> > Best Regards
> > Hartmut
>
> latex makes \label  (normally), \index and some other commands safe to use
in section header arguments, it's just that here the titlesec package
re-arranges things and removes the normal
guard for \label. The issue is specific to titlesec not a general problem
with using \label in the argument of \section.


David



>
> Zdeněk Wagner
> https://www.zdenek-wagner.eu/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20240408/8959112d/attachment-0001.htm>


More information about the tex-live mailing list.