axf:text-underline-position

(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 Character and Text Decoration

axf:text-underline-position specifies the position of underline. [CSS3-Text] Other text decoration simple properties: 'text-underline-position'

Value: auto | [ [ before-edge | alphabetic | after-edge ] || [ <percentage> | <length> ] ]
Initial:auto
Applies to:all elements with and generated content with textual content
Inherited:no
Percentages:refers to the "line-height" of the parent area

Values have the following meanings.

autoThe underline is placed on the automatically adjusted position. The specification of axf:vertical-underline-side in vertical writing mode is effective.
before-edgeThe underline is placed on the before-edge. When <percentage> or <length> is not specified, the upper end of the height of an underline is placed on the before-edge. When <percentage> or <length> is specified, the center of the height of an underline is placed on the before-edge.
alphabeticThe underline is placed on the position of the baseline. When <percentage> or <length> is not specified, the upper end of the height of an underline is placed on the baseline. When <percentage> or <length> is specified, the center of the height of an underline is placed on the baseline.
after-edgeThe underline is placed on the after-edge. When <percentage> or <length> is not specified, the upper end of the height of an underline is placed on the after-edge. When <percentage> or <length> is specified, the center of the height of an underline is placed on the after-edge.
<percentage>The underline position is shifted by the specified amount. When the underline is placed on the right side by axf:vertical-underline-side, it is moved to the opposite direction of the left side.
<length>The underline position is shifted by the specified amount. When the underline is placed on the right side by axf:vertical-underline-side, it is moved to the opposite direction of the left side.
Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: