# [texhax] Re:\noalign{\nobreak} seems not work!

Rodolfo Medina romeomedina at libero.it
Tue Aug 12 18:36:14 CEST 2003

My copy is the fourteenth printing, 1988, and on page 193 it says:

In fact, you can /force/ a page break after a particular line if you insert
`\noalign{\break}' after the \cr for that line; and you can /prohibit/
such a break if you insert `\noalign{\nobreak}'. You can prohibit /all/
breaks in an \eqalignno if you enclose the whole works in a \vbox:
etc...

Well, it's high time I bought a newer copy of the TeXbook!
Thank you very much for taking care of the matter.
Rodolfo

-----Messaggio originale-----
Da: texhax-bounces at tug.org [mailto:texhax-bounces at tug.org]Per conto di
Ian Collier
Inviato: lunedì 11 agosto 2003 13.44
A: texhax at tug.org
Oggetto: Re: [texhax] \noalign{\nobreak} seems not work!

Took a while to get back to this, but to round things off...

Rodolfo Medina wrote:
>In the TeXbook, page 193, it is said that the command
>\noalign{\nobreak}
>after the \cr in \eqalignno
>will prohibit a page break after that line.

Then doug waud wrote:
>           Now, the log output indicated a penalty of about 100 without
>the an inserted nobreak (I did not chase down where this came from; I
>suspect it would be found in the definition of \noeqalignno)

and I observed that \eqalignno adds an \interdisplaylinepenalty between
adjacent lines.  The default value of \interdisplaylinepenalty just
happens to be 100.

Then I said:
>I don't have the TeXbook with me at the moment so I don't know how it
>explains the above - but looking up \interdisplaylinepenalty may help.

Well having checked my copy of the TeXbook, it doesn't actually make the
statement above on page 193.  It says:

In fact you can /force/ a page break after a particular line
if you insert `\noalign{\break}' after the \cr for that line.
You can prohibit /all/ breaks in an \eqalignno if you set
\interdisplaylinepenalty=10000; or you can enclose the whole
works in a \vbox:

Possibly this was modified in an earlier version of plain.tex and
the book was updated to reflect that.  My copy is the seventeenth
printing, revised January 1990.  If not then the original poster
must just have misread what it says.
--
---- Ian Collier : imc at comlab.ox.ac.uk : WWW page below
------ http://users.comlab.ox.ac.uk/ian.collier/imc.shtml
_______________________________________________
TeX FAQ: http://faq.tug.org/
Mailing list archives: http://tug.org/pipermail/texhax/

Automated subscription management: http://tug.org/mailman/listinfo/texhax
Human mailing list managers: postmaster at tug.org
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18/07/03

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18/07/03