I would like to adjust the margin for sections, subsections, etc. I came
across a suggestion that you can use setuphead with the beforesection and
aftersection options to do something like this, but I tried this with MKIV,
and beforesection and aftersection appear to have no effect (see the example
below). Recent documentation doesn't show these as parameters for setuphead.
How do I do this with MKIV?

 

Example:

 

\setuphead[section] [margin=0.5in,
beforesection={\startnarrower[left=0.5in]}, aftersection={\stopnarrower}]

\setuphead[subsection] [margin=1in,
beforesection={\startnarrower[left=1.0in]}, aftersection={\stopnarrrower}]

 

\starttext

 

\chapter{chapter}

This is a chapter

 

\section{section}

This is a section

 

\section{subsection}

This is a subsection

 

\stoptext

 

-Lance Larsen

___________________________________________________________________________________
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