Fabrice Couvreur schrieb am 23.08.2020
um 16:02:
Hello,
For the title of
the chapters I use the following command.
\unexpanded\def\HeadTitle#1#2%
{\framed
[frame=off,
width=fit,
align=flushleft]
{\color[darkgray]{\tfxx\cap\bf\labeltext{chapter}}
\blank#1\blank#2}
When I compile my project, I have the label "Chapitre" above
the word "Sommaire" in the table
of contents : how to
delete it ?
1. Don't apply the command to \title
\setuphead[title][command=]
2. Make the command local to bodypart of your document, this works only
when you use section blocks (e.g. \startbodymatter)
\startsectionblockenvironment[bodypart]
\setuphead[chapter][command=\HeadTitle]
\stopsectionblockenvironment
Wolfgang
___________________________________________________________________________________