[texhax] parpic causes orphaned subsections headings

Donald Arseneau asnd at triumf.ca
Fri Apr 11 04:39:02 CEST 2008


Andy Farnell <padawan12 at obiwannabe.co.uk> writes:

> Using picins (\parpic) to create paragraphs which begin with a
> wrapped figure and text flowing around it.

> So, what happens is this... very often the heading (usually a subsection) is
> orphaned and everything starts on the next page. This happens even when
> there is plenty of room on the previous page.

I doubt the "plenty" part.  

Get picins fixed so it does not break the page when \@nobreak has been set.

> Research led me to this problem which seems relevant. 

It isn't.

> So, I have my figure code wrapped in a new command that embeds \parpic
> and what I would like is modify this to ***FORBID*** LaTeX from breaking

It is already forbidden, but picins apparently ignores it: I see
\pagebreak in the code, but no \if at nobreak.


-- 
Donald Arseneau                          asnd at triumf.ca


More information about the texhax mailing list