I am using 2.0.5.1 on a windows XP OS. I have MikTeX 2.9 installed.
I am trying to use the needspace package. As such I have opened MikTex installed it , then refreshed FNDB via the 'Settings' in admin mode.
I then open LyX, load my document and have entered
\usepackage{needspace}
\needspace{5\baselineskip}
in the preamble and hit the 'reconfigure' option in Lyx.
Problem is it appears that Lyx does not 'register' the needspace package as my lines are running over pages etc.
My question is how would I apply the \needspace{5\baselineskip} to the whole document so that LyX knows that I dont want paragraphs drifting between pages...either the paragraph stops before the end of a page or starts on a new page if the space is less than 5
\needspace{5\baselineskip}LaTeX macro where you need it, not in the preamble... – Werner Aug 16 '13 at 06:27LyXafter you add a package but (assuming you already did that) running reconfigure after you edit the preamble does nothing. – scottkosty Aug 16 '13 at 08:29@Wernerat the start of your comment. – scottkosty Aug 16 '13 at 08:30\everypar{\needspace{5\baselineskip}}; not tested though... – Werner Aug 16 '13 at 12:37