# \clubpenalty and \widowpenalty seem to have no impact

I have a KomaScript Project and i have set the following parameters as it is suggested everywhere around the web:

\clubpenalty=10000
\widowpenalty=10000
\displaywidowpenalty=10000
\raggedbottom  % this was my last try, it also doesn't seem to have an effect


Howvever, there are way to may widows in my document, I believe, the commands do not have any effect at all.

Example 1

Example 2

Are there any pitfalls which may cause these commands to not work properly? The documentclass is scrreprt with twoside option disabled.

• A one line paragraph is not a widow, as far as TeX is concerned. Without an example, it's impossible to say more. Oct 17 '14 at 10:31
• i have added 2 images for you to see some examples. i hope that helps Oct 17 '14 at 10:34
• both those images show two lines being taken over a page not 1 so the penalties have had an effect (or were not needed) Oct 17 '14 at 10:34
• @nozzleman they are a penalty against a single line being affected by a page break, two lines are considered OK (etex has an extension that allows you to specify penalties for multiple lines into the paragraph) Oct 17 '14 at 10:53
• well you could rephrase it to ask how to prevent just two lines being taken over a page (and then I'll look up exactly how \widowpenalties (with an s) is supposed to work:-) Oct 17 '14 at 10:56

You can use \widowpenalties to avoid that two lines are alone on the second page:
\documentclass{article}

• Assuming you want the widow penalty to apply only to the lines you've specified you want \widowpenalties=4 10000 10000 150 0 here: the last value is repeated. (Try for example \showthe\widowpenalties4 in your example to see this.) Oct 17 '14 at 12:26