How to allow line break in headers, to achieve not margined header-texts? ++++++++++++ \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 +++++++++++ Thanks Huseyin
On Tue, Nov 27, 2012 at 10:04 AM, "H. Özoguz"
\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), but you can try \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 -- luigi
Am 27.11.2012 um 10:11 schrieb luigi scarso
On Tue, Nov 27, 2012 at 10:04 AM, "H. Özoguz"
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
On Tue, Nov 27, 2012 at 10:24 AM, Wolfgang Schuster
Am 27.11.2012 um 10:11 schrieb luigi scarso
: On Tue, Nov 27, 2012 at 10:04 AM, "H. Özoguz"
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.
ah now I see -- the headertext . Hm, you can try a temp. patch \showframe \setupheadertexts[][\vbox{\hsize=0.45\textwidth\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.} \dorecurse{100}{\input knuth } \stoptext There is a macro to make a shortert title, but a shorter text with the “marking” key from \startsection is better, of course
Am 27.11.2012 um 10:36 schrieb luigi scarso
On Tue, Nov 27, 2012 at 10:24 AM, Wolfgang Schuster
wrote: Am 27.11.2012 um 10:11 schrieb luigi scarso
: On Tue, Nov 27, 2012 at 10:04 AM, "H. Özoguz"
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.
ah now I see -- the headertext .
Hm, you can try a temp. patch
\showframe \setupheadertexts[][\vbox{\hsize=0.45\textwidth\getmarking[section]}][][]
Or use a customized frame: \defineframed[headerframed][frame=off,width=.45\textwidth,align=normal,offset=0pt,location=bottom] \setupheadertexts [][\headerframed{\getmarking[section]}] [][]
There is a macro to make a shortert title, but a shorter text with the “marking” key from \startsection is better, of course
No need for a macro, it’s available as a option for \setupheader. \setupheader[width=6cm] \setupheadertexts [][section] [][] Wolfgang
participants (3)
-
"H. Özoguz"
-
luigi scarso
-
Wolfgang Schuster