Am 14.05.2013 um 02:51 schrieb Sietse Brouwer <sbbrou...@gmail.com>:

> Dear list,
> 
> I am making a foray into grid typesetting, and would like to align the
> top of my (possibly multi-line) section titles with the top of the
> textarea. I thought I could do that with
> \setuphead[subject][grid={broad,high}], but this is not working. I
> have tried nearly every other combination of grid keywords, and then
> tried them again with the subject wrapped in a framed.


1. Use the command key to apply the frame to the heading and not textcommand.

2. Apply the style for the title with \setuphead.

3. The location key for \framed doesn’t accept lists (e.g. 
location={top,hanging}),
   only single arguments are possible.

\define[2]\SubjectCommand
  {\startframed[align=flushleft,location=top]%
   #2
   \stopframed}

\setuphead[subject]
  [header=high,
   page=yes,
   style=AntykwaChapter,
   grid=low,
   alternative=command,
   command=\SubjectCommand]

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