I have a document that is consists of many smaller portions, say paragraphs. What I want is, each of the paragraphs will be in just one page. It will not be broken in two consequent pages. In that case, the whole paragraph/portion will shift to next page.

Is it possible with Microsoft Word or LATEX? This is needed to be done programmatically. Manual edit is not useful.

link|improve this question

57% accept rate
feedback

3 Answers

I believe the 'Keep lines together' option can do what you want. It can be applied automatically to existing documents, however I'm not aware of a way to make this a default for all new documents (i.e.Normal.dot etc).

This website has some information on how to use this option: http://mockbox.net/office-2010/298-word-2010-separate-paragraphs-on-new-page.html

link|improve this answer
Known in the trade as widow and orphan control and Word has paragraph option for it. – Linker3000 May 18 '11 at 13:01
feedback

You can manually insert a page break after each paragraph via the Insert tab. See this for more details.

link|improve this answer
I know that. But I want something different. I have further clarified the question. – Gulshan May 18 '11 at 12:04
@Gulshan You can write a macro in Word VBA that will do essentially the same thing. I'm not sure what you are expecting. – jonsca May 18 '11 at 12:08
feedback

In LaTeX each paragraph could be put into a minipage environment

\begin{minipage}[position]{width}
       text
\end{minipage}

There is a useful discussion on keeping units of text on the same page in the UK TUG FAQ. The UK TUG FAQ also has a section on automatic provision of the mandatory width parameter for a minipage.

If you have more questions after that you may want to try the StackExchange TeX and friends site http://tex.stackexchange.com/.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.