* keeping together \subject and a table without a page break
@ 2018-05-03 10:22 Robert Zydenbos
2018-05-03 11:07 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Robert Zydenbos @ 2018-05-03 10:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
I am looking for a way to keep a subject header and a following table together on one page, without a page break. Something like:
---snippet begins---
\subsubject{Personal suffixes for the present tense}
\starttabulate [|w(.1\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|]
[…here comes the table…]
\stoptabulate
---snippet ends---
but everything together on one page. (The example uses \starttabulate, but I would also need this for \startTABLE.)
On the wiki I found a command \blank[samepage], but this does not seem to work (at least not in MkII), because the parameter 'samepage' is not recognized.
I would be very grateful for suggestions.
Robert
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: keeping together \subject and a table without a page break
2018-05-03 10:22 keeping together \subject and a table without a page break Robert Zydenbos
@ 2018-05-03 11:07 ` Hans Hagen
2018-05-03 11:34 ` Robert Zydenbos
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2018-05-03 11:07 UTC (permalink / raw)
To: ntg-context
On 5/3/2018 12:22 PM, Robert Zydenbos wrote:
> I am looking for a way to keep a subject header and a following table together on one page, without a page break. Something like:
>
> ---snippet begins---
>
> \subsubject{Personal suffixes for the present tense}
>
> \starttabulate [|w(.1\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|]
> […here comes the table…]
> \stoptabulate
>
> ---snippet ends---
>
> but everything together on one page. (The example uses \starttabulate, but I would also need this for \startTABLE.)
>
> On the wiki I found a command \blank[samepage], but this does not seem to work (at least not in MkII), because the parameter 'samepage' is not recognized.
>
> I would be very grateful for suggestions.
you can put \testpage[4] before the \subsubject (number of lines you want)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: keeping together \subject and a table without a page break
2018-05-03 11:07 ` Hans Hagen
@ 2018-05-03 11:34 ` Robert Zydenbos
0 siblings, 0 replies; 3+ messages in thread
From: Robert Zydenbos @ 2018-05-03 11:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
YES! Thank you!
> On 3. May 2018, at 13:07, Hans Hagen <j.hagen@xs4all.nl> wrote:
>
> On 5/3/2018 12:22 PM, Robert Zydenbos wrote:
>> I am looking for a way to keep a subject header and a following table together on one page, without a page break. Something like:
>> […]
> you can put \testpage[4] before the \subsubject (number of lines you want)
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-05-03 11:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 10:22 keeping together \subject and a table without a page break Robert Zydenbos
2018-05-03 11:07 ` Hans Hagen
2018-05-03 11:34 ` Robert Zydenbos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).