Text FormattingPrevent Hyphenation between two Pages

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
shinkei
Posts: 2
Joined: Fri Aug 19, 2011 12:11 am

Prevent Hyphenation between two Pages

Post by shinkei »

Hello everyone and thank you in advance for taking time to read my post.

I have some issues concerning word's hyphenation when a new page occurs.
The two parts of the word are written on two different pages, wich is, I guess, an aesthetic problem.

Is there any automatic solution to avoid such a behaviour ?
Or should I \mbox every cases I encounter ?
I don't find anything about this topic by using google or by searching here.

Again, thanks in advance for your solution(s).
Regards, Shinkei.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Prevent Hyphenation between two Pages

Post by josephwright »

You can discourage breaking pages at hyphens by increasing \brokenpenalty

Code: Select all

\brokenpenalty=200\relax
(in the preamble). The standard setting is 100, so work your way up until you find a good value (the maximum is 10000).
Joseph Wright
shinkei
Posts: 2
Joined: Fri Aug 19, 2011 12:11 am

Re: Prevent Hyphenation between two Pages

Post by shinkei »

Thank you very much Mr. Joseph Wright,
the value you have given works perfectly at the first try.

Best regards
Post Reply