![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hi again, Is there a way to make section headings automatically honour the current left- and rightskip? For example, like this: \starttext \showframe \startnarrower[left] \section{Section 1} stuff \stopnarrower \stoptext I know I could rig this up with \dontleavehmode\vbox{\advance\hsize-\leftskip\section{Section 1}}\par but that is horrible code. Is there any way to get the correct effect using \setuphead ? Best wishes, Taco
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Taco Hoekwater schrieb am 13.12.18 um 11:12:
Hi again,
Is there a way to make section headings automatically honour the current left- and rightskip? For example, like this:
\starttext \showframe \startnarrower[left] \section{Section 1} stuff \stopnarrower \stoptext
I know I could rig this up with
\dontleavehmode\vbox{\advance\hsize-\leftskip\section{Section 1}}\par
but that is horrible code. Is there any way to get the correct effect using \setuphead ?
\setuphead [section] [aligntitle=yes] \showframe [text] [text] \starttext \startnarrower[left] \startsection[title={Section 1}] stuff \stopsection \stopnarrower \stoptext Wolfgang
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hi Wolfgang, Thanks!
On 13 Dec 2018, at 17:08, Wolfgang Schuster
wrote: Taco Hoekwater schrieb am 13.12.18 um 11:12:
Hi again, Is there a way to make section headings automatically honour the current left- and rightskip? For example, like this:
\setuphead [section] [aligntitle=yes]
participants (2)
-
Taco Hoekwater
-
Wolfgang Schuster