Hi, How do I prevent a paragraph to be broken between pages (or columns)? Thanks, Maurício
On Sun, 25 Nov 2007, Maurício wrote:
Hi,
How do I prevent a paragraph to be broken between pages (or columns)?
Add a \vbox{....} around the paragraph. You can also use \framed[align=normal], or \start-stop framed, which are fancier vboxes and provide more control. Aditya
Aditya Mahajan escreveu:
On Sun, 25 Nov 2007, Maurício wrote:
Hi,
How do I prevent a paragraph to be broken between pages (or columns)?
Add a \vbox{....} around the paragraph. You can also use \framed[align=normal], or \start-stop framed, which are fancier vboxes and provide more control.
Aditya
Are those supposed to work with verbatim code (\startC etc.) inside? Maurício
Aditya Mahajan wrote:
On Sun, 25 Nov 2007, Maurício wrote:
Hi,
How do I prevent a paragraph to be broken between pages (or columns)?
Add a \vbox{....} around the paragraph. You can also use \framed[align=normal], or \start-stop framed, which are fancier vboxes and provide more control.
a vbox messes up the spacing ... \starttext \input tufte \blank \input tufte \blank \setpenalties\widowpenalties{100}\maxdimen \dorecurse{3}{\input tufte } \blank \input tufte \blank \input tufte \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
How do I prevent a paragraph to be broken between pages (or columns)?
Add a \vbox{....} around the paragraph. (...)
a vbox messes up the spacing ...
\starttext
\input tufte \blank \input tufte \blank
\setpenalties\widowpenalties{100}\maxdimen \dorecurse{3}{\input tufte}
\blank \input tufte \blank \input tufte
\stoptext
Is it possible to do that with verbatim text? Like \startC (a lot of text) \stopC?
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Maurício