[texhax] parpic causes orphaned subsections headings
Andy Farnell
padawan12 at obiwannabe.co.uk
Fri Apr 11 15:45:33 CEST 2008
Okay
I wrapped it in a conditional thus:
\ifdim\d at hoehe>\d at tmp%
\vskip 0pt plus\d at hoehe\relax%
\if at nobreak\else\pagebreak[3]\fi%
\vskip 0pt plus-\d at hoehe\relax%
\ifnum\c at picpos=1\c at picpos=0\else\c at picpos=\@changemode\fi%
\fi%
Seems to work properly now.
Thankyou Donald.
Andy
On 10 Apr 2008 19:39:02 -0700
Donald Arseneau <asnd at triumf.ca> wrote:
> 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
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
--
Use the source
More information about the texhax
mailing list