ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* margin in TocEntry definition
@ 2021-03-11  2:20 jbf
  2021-03-11 22:04 ` Bruce Horrocks
  0 siblings, 1 reply; 7+ messages in thread
From: jbf @ 2021-03-11  2:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.

Hopefully I can achieve:

Chapter title

      Author name

Julian

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-03-12  7:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11  2:20 margin in TocEntry definition jbf
2021-03-11 22:04 ` Bruce Horrocks
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

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).