From: Bruce Horrocks <ntg@scorecrow.com>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Re: margin in TocEntry definition
Date: Thu, 11 Mar 2021 22:04:38 +0000 [thread overview]
Message-ID: <FEF2C2BA-D327-48FB-A740-14806E5596EB@scorecrow.com> (raw)
In-Reply-To: <4bc5ef53-10ad-f75b-4713-270c0619e8cd@gmail.com>
> On 11 Mar 2021, at 02:20, jbf <roma83537@gmail.com> wrote:
>
> Hi list,
>
> I have:
>
> \define[1]\SectionTocEntry{%
> #1\crlf% title
> \doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}%
> }
>
> which successfully gives me a ToC with:
>
> Chapter title
> Author name
>
> But I want the author name indented by .5cm and do not know how to use 'margin' in the above definition, or some other way of getting the indentation. I have tried various versions of 'margin' before the \doifnot part of the definition, but to no avail.
There is a very similar previous question that might be what you are looking for.
<https://www.mail-archive.com/ntg-context@ntg.nl/msg97548.html>
Try that but use 'flushleft' instead of 'middle'.
—
Bruce Horrocks
Hampshire, UK
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-03-11 22:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-11 2:20 jbf
2021-03-11 22:04 ` Bruce Horrocks [this message]
2021-03-11 22:22 ` jbf
2021-03-12 0:51 ` Bruce Horrocks
2021-03-12 7:16 ` jbf
2021-03-12 5:19 ` Wolfgang Schuster
2021-03-12 0:03 ` jbf
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=FEF2C2BA-D327-48FB-A740-14806E5596EB@scorecrow.com \
--to=ntg@scorecrow.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).