[NTG-context] Line break in header

Wolfgang Schuster wolfgang.schuster at gmail.com
Tue Nov 27 10:24:04 CET 2012


Am 27.11.2012 um 10:11 schrieb luigi scarso <luigi.scarso at gmail.com>:

> On Tue, Nov 27, 2012 at 10:04 AM, "H. Özoguz" <h.oezoguz at mmnetz.de> wrote:
>> \setupheadertexts
>> 
>> [] [{\getmarking[section]}]
>> 
>> [][]
>> 
>> 
>> \starttext
>> 
>> \section{This is a very long section title, and so, clearly, it does not fit
>> in one line, definitely not, absolutely no change. Without line break not
>> possible.}
>> 
>> \stoptext
> 
> Hm, I dont' understand clearly what you want (the title is ok for me), […]

The headertext isn’t broken into lines.

\defineframed[headerframed][frame=off,width=max,align=normal]

\setupheadertexts
  [][\headerframed{\getmarking[section]}]
  [][]

A better solution is to provide a shorter text with the “marking” key from \startsection.

Wolfgang


More information about the ntg-context mailing list