[NTG-context] How to shift unnumbered ToC entry?
Tomas Hala
tomas.hala at mendelu.cz
Wed Sep 23 11:59:35 CEST 2020
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 at 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
More information about the ntg-context
mailing list