ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Duncan Hothersall <dh@capdm.com>
Subject: Register layout
Date: Tue, 03 Oct 2006 13:02:50 +0100	[thread overview]
Message-ID: <4522516A.4070407@capdm.com> (raw)

Quick question - how do I alter the width of the hanging indent of a
register entry which is too long to fit on one line?

I want to differentiate sub-entries, which each have an indent of 1em
more than the previous level, from the indentation of longer entries,
which by default is also set to 1em. In other words, for two entries:

"a short entry"
  "a sub-entry"
"quite a long-winded single entry"


I would like the layout (please view with fixed width font):

a short entry
  a sub-entry

quite a long-winded
      single entry

I tried putting \hangafter=1\hangindent=3em into the deeptextcommand of
\setupregister but no change. Are there any hooks for this sort of thing?

Thanks,

Duncan

                 reply	other threads:[~2006-10-03 12:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4522516A.4070407@capdm.com \
    --to=dh@capdm.com \
    --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).