baseline-shift
Allows repositioning of the dominant-baseline relative to the dominant-baseline of the parent area. The shifted object might be a subscript or superscript. Within the shifted object, the whole baseline-table is offset; not just a single baseline. The amount of the shift is determined from information from the parent area, the subscript or superscript offset from the nominal-font of the parent area, percent of the "line-height" of the parent area or an absolute value.
Attribute information
Namespace: None
Schema document: fo.xsd
Type: Anonymous
Properties: Local, Unqualified
Value
- Type based on xsd:string
- Pattern: [\+\-]?\d+(\.?\d+)?(pc|px|pt|mm|cm|in|em)
- Type based on xsd:string
- Pattern: [\+\-]?\d+(\.?\d+)?%
- Type based on xsd:token
Valid value inherit
- Type based on xsd:token
Valid value Description baseline There is no baseline shift; the dominant-baseline remains in its original position. sub The dominant-baseline is shifted to the default position for subscripts. The offset to this position is determined using the font data for the nominal font. super The dominant-baseline is shifted to the default position for superscripts. The offset to this position is determined using the font data for the nominal font.
from type fo:length-percentage-or-inherit
from type fo:length
from type fo:percentage
from type fo:inherit
Used in
- Attribute group fo:baseline-shift
- Anonymous type of element fo:basic-link via reference to fo:baseline-shift
- Anonymous type of element fo:character via reference to fo:baseline-shift
- Anonymous type of element fo:external-graphic via reference to fo:baseline-shift
- Anonymous type of element fo:inline via reference to fo:baseline-shift
- Anonymous type of element fo:inline-container via reference to fo:baseline-shift
- Anonymous type of element fo:instream-foreign-object via reference to fo:baseline-shift
- Anonymous type of element fo:leader via reference to fo:baseline-shift
- Anonymous type of element fo:page-number via reference to fo:baseline-shift
- Anonymous type of element fo:page-number-citation via reference to fo:baseline-shift
- Anonymous type of element fo:page-number-citation-last via reference to fo:baseline-shift
- Anonymous type of element fo:scaling-value-citation via reference to fo:baseline-shift
- Attribute group fo:area-alignment-properties via reference to fo:baseline-shift