ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tomas Hala <tomas.hala@mendelu.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to shift unnumbered ToC entry?
Date: Wed, 23 Sep 2020 11:59:35 +0200	[thread overview]
Message-ID: <20200923095935.GA11305@akela.mendelu.cz> (raw)
In-Reply-To: <95W.6ApJX.1Yrlz1Gxpn1.1VQmXf@seznam.cz>

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
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2020-09-23  9:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-23  8:33 Lukas/ConTeXt
2020-09-23  9:59 ` Tomas Hala [this message]
2020-09-23 10:17   ` Lukas/ConTeXt
2020-09-23 13:57 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200923095935.GA11305@akela.mendelu.cz \
    --to=tomas.hala@mendelu.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).