Re: [NTG-context] frames, hrule, vfill and pagebreaks (was: Vertically stretched split table)

2014-04-14 Thread Joshua Krämer
Dear list, if somebody cares, the following solution works for me: \hrule \penalty1 \vfill \penalty1 \dontleavehmode\framed{...} \penalty1 \vfill \penalty1 \hrule height 0pt \par\penalty-5000 Joshua

[NTG-context] frames, hrule, vfill and pagebreaks (was: Vertically stretched split table)

2014-04-08 Thread Joshua Krämer
Dear list, at first, I thought the following code (simplified) with frames, hrules and vfills between them would work to typeset my table. However, I have now realized that sometimes a pagebreak occurs before the final (invisible) hrule, and then there's no vfill at the bottom of the page

Re: [NTG-context] A thinner hrule for headers

2013-03-29 Thread Hans Hagen
On 3/28/2013 4:36 PM, Thomas Kreuzer wrote: Am 3/24/2013 20:43, schrieb Marcin Borkowski: If this \hrule is TeX's primitive \hrule, then you can (maybe) type [after={\hrule height 0.4pt\relax}] for the default (and change the height for other dimensions). That said, this is a low-level

Re: [NTG-context] A thinner hrule for headers

2013-03-29 Thread Thomas Kreuzer
Am 3/24/2013 20:43, schrieb Marcin Borkowski: If this \hrule is TeX's primitive \hrule, then you can (maybe) type [after={\hrule height 0.4pt\relax}] for the default (and change the height for other dimensions). That said, this is a low-level hack and not very ConTeXt-y (even if it works,

Re: [NTG-context] A thinner hrule for headers

2013-03-29 Thread Thomas Kreuzer
Am 3/24/2013 20:43, schrieb Marcin Borkowski: If this \hrule is TeX's primitive \hrule, then you can (maybe) type [after={\hrule height 0.4pt\relax}] for the default (and change the height for other dimensions). That said, this is a low-level hack and not very ConTeXt-y (even if it works,

Re: [NTG-context] A thinner hrule for headers

2013-03-24 Thread Otared Kavian
Hi Aditya, Yes indeed you are right… \setupbackgrounds[header][text][bottomframe=on, framethickness=0.4pt] works fine but then the ruler of the bottomframe is too close to the text. Since Thomas Kreuzer did not provide a minimal example, it is not clear what he wants exactly. Best regar

Re: [NTG-context] A thinner hrule for headers

2013-03-24 Thread Aditya Mahajan
On Sun, 24 Mar 2013, Otared Kavian wrote: You can also enclose your header in a \framed commande, such as \framed[frame=off,bottomframe=on] A header is already enclosed in a frame! Something like \setupbackgrounds[header][text][bottomframe=on, framethickness=0.4pt] should work. Adit

Re: [NTG-context] A thinner hrule for headers

2013-03-24 Thread Otared Kavian
: > Hello everyone, > > I'd like to know if it is possible to get a thinner hrule in headers (mkiv). > > Right now I am using > > \setupheader[after=\hrule] > > replacing hrule with thinrule or hairline results in space below the header > text and the line, an

Re: [NTG-context] A thinner hrule for headers

2013-03-24 Thread Marcin Borkowski
Dnia 2013-03-24, o godz. 13:32:28 Thomas Kreuzer napisał(a): > Hello everyone, > > I'd like to know if it is possible to get a thinner hrule in headers > (mkiv). > > Right now I am using > > \setupheader[after=\hrule] If this \hrule is TeX's primitive \hrule

[NTG-context] A thinner hrule for headers

2013-03-24 Thread Thomas Kreuzer
Hello everyone, I'd like to know if it is possible to get a thinner hrule in headers (mkiv). Right now I am using \setupheader[after=\hrule] replacing hrule with thinrule or hairline results in space below the header text and the line, and the line actually spans two lines. How

Re: [NTG-context] How to control \hrule width in header & footer

2005-05-15 Thread VnPenguin
On 5/15/05, Tobias Burnus <[EMAIL PROTECTED]> wrote: > Hello, > > VnPenguin wrote: > > >I'm trying to add \hrule after header and before footer. Here is the > >testing code: > >\setupheader[after=\hrule] > >\setupfooter[before=\hrule\blank] >

Re: [NTG-context] How to control \hrule width in header & footer

2005-05-15 Thread Tobias Burnus
Hello, VnPenguin wrote: I'm trying to add \hrule after header and before footer. Here is the testing code: \setupheader[after=\hrule] \setupfooter[before=\hrule\blank] Try \setupheader[text][...] By the way using a \hairule or thinrule instead of a \hrule makes it possible t

[NTG-context] How to control \hrule width in header & footer

2005-05-15 Thread VnPenguin
Hi all, I'm trying to add \hrule after header and before footer. Here is the testing code: - \setupheader[after=\hrule] \setupfooter[before=\hrule\blank] \setupheadertexts [text][chapter][section] [section][ch