On 2010-11-21 <13:22:32>, Wolfgang Schuster wrote: > > Am 21.11.2010 um 12:28 schrieb Philipp Gesang: > > > Dear fellow Contexters, > > > > there are some subheadings I’d like to place in the margin > > approximately like that: > > \setuplayout[grid=yes]\showgrid > > \define[2]\SectionCommand > {\inleftmargin{#2}} > > \setuphead > [section] > [alternative=text, > style=bold, > color=red, > command=\SectionCommand, > distance=0pt, > before={\blank[nowhite]}] > > \starttext > > \dorecurse{10} > {\section{Knuth} > \input knuth\par} > > \stoptext > > Wolfgang
Works like a charm, many, many thanks! > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
pgp51fsWJ1EvS.pgp
Description: PGP signature
___________________________________________________________________________________ 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 ___________________________________________________________________________________