axf:avoid-widow-words

(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Category Trimming and Hanging

The axf:avoid-widow-words specifies spacing behavior between words or characters so that the last line of the paragraph does not have only one word left (one character for CJK).

Value:true | false
Initial:false
Applies to:fo:block
Inherited:yes
Percentages:N/A

Values have the following meanings.

trueAdjusts the spacing so that the last line of the paragraph does not have only one word left (one character for CJK) when the spacing behavior is available by trimming the space between Japanese characters or Western words.
false Does nothing.

If the width of columns (length of the line) is short, it is not so effective because there is not enough space to run on. In addition, in case there is no room for a word to be placed at the end of the line, axf:avoid-widow-words has no effect. Please note that there may have no more space to trim by setting axf:punctuation-trim or axf:text-justify-trim. With non-CJK languages, adjusting by sending a character to the next will not be done.

Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: