Fabrice Couvreur <mailto:fabrice1.couvr...@gmail.com>
10. August 2015 09:13
Dear Hans,
I tested without understanding what \unexpanded, and of course it works!

You can use ConTeXt’s \define command where you don’t have to think about \unexpanded etc., e.g.

\define[2]\ChapterCommand
  {\setbox\scratchbox\hbox to \leftmarginwidth{#1\hss}%
   \hskip-\dimexpr\leftmarginwidth+\leftmargindistance\relax
   \framed
     [background=titled,frame=off,offset=0pt]
     {\box\scratchbox
      \hskip\leftmargindistance
      #2}}

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