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
___________________________________________________________________________________

Reply via email to