ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setuplist inherit margin and width
@ 2011-06-23 14:49 Steffen Wolfrum
  2011-06-23 16:08 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2011-06-23 14:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

say, I want to design the TOC. Now I would write:

\setuplist[LevelFour]  [margin=1.20cm,width=0.5cm,...]
\setuplist[LevelFive]  [margin=1.70cm,width=0.5cm,]


But is there some clever command that makes a calculation like this:

\setuplist[LevelFour]  [margin=1.20cm,width=0.5cm,...]
\setuplist[LevelFive]  [margin={\the\dimexpr\measure{margin[LevelFour]+width[LevelFour]}\relax},width=0.5cm,]

Any idea?


Thanks, Steffen

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-06-23 18:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-23 14:49 setuplist inherit margin and width Steffen Wolfrum
2011-06-23 16:08 ` Wolfgang Schuster
2011-06-23 17:49   ` Jaroslav Hajtmar
2011-06-23 18:43     ` Wolfgang Schuster
2011-06-23 17:57   ` Hans Hagen

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