How to shift unnumbered ToC entry?
![](https://secure.gravatar.com/avatar/03f8b557ba35119e56eb9cb381d5ece5.jpg?s=120&d=mm&r=g)
Hello, how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: ---- \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm] \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext ---- I'm getting: " 1. S 1.1 Ss Sss " but I'd rather see: " 1. S 1.1 Ss Sss " How to achieve this? Best regards, Lukas
![](https://secure.gravatar.com/avatar/9c54554cf31b1a1894f2a3420f0ebbc1.jpg?s=120&d=mm&r=g)
Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext Best wishes, Tomáš Wed, Sep 23, 2020 ve 10:33:45AM +0200 Lukas/ConTeXt napsal(a): # Hello, # # how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: # # ---- # \setuphead[subsubsection][number=no] # \setuplist[subsubsection][distance=20mm,width=20mm] # # \starttext # \placecontent # \page # \section{S} # \subsection{Ss} # \subsubsection{Sss} # \stoptext # ---- # # I'm getting: # # " # 1. S # 1.1 Ss # Sss # " # # but I'd rather see: # # " # 1. S # 1.1 Ss # Sss # " # # How to achieve this? # # Best regards, # # Lukas # \setuphead[subsubsection][number=no] # \setuplist[subsubsection][distance=20mm,width=20mm] # # \starttext # \placecontent # \page # \section{S} # \subsection{Ss} # \subsubsection{Sss} # \stoptext # ___________________________________________________________________________________ # If your question is of interest to others as well, please add an entry to the Wiki! # # maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context # webpage : http://www.pragma-ade.nl / http://context.aanhet.net # archive : https://bitbucket.org/phg/context-mirror/commits/ # wiki : http://contextgarden.net # ___________________________________________________________________________________ Tomáš Hála -------------------------------------------------------------------- Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky Zemědělská 1, CZ-613 00 Brno, tel. +420 545 13 22 28 -------------------------------------------------------------------- http://akela.mendelu.cz/~thala
![](https://secure.gravatar.com/avatar/03f8b557ba35119e56eb9cb381d5ece5.jpg?s=120&d=mm&r=g)
Hello,
yes, this works well, thanks you!
(I guessed there was a built-in option to achieve this simply.)
Best regards,
Lukas
---------- Původní e-mail ----------
Od: Tomas Hala
participants (3)
-
Lukas/ConTeXt
-
Tomas Hala
-
Wolfgang Schuster