Skip to main content

Sub

Description

Specifies subscript text, used in expressions like mathematical formulas or chemical notations where text is set below the baseline.

Namespace
2.0
Category
inline

Differences

Well tagged PDF:

The 'Sub' element is used to denote subscript text in Well-Tagged PDF. It indicates that the enclosed text should be rendered lower than the baseline, typically for scientific, mathematical, or chemical notations.

It must be properly nested within the inline structure and should clearly convey its role as subscript, ensuring that content extraction and reflow processes recognize the altered baseline.


PDFUA:

In PDF/UA, the 'Sub' element signifies subscript text, which is important for accurately representing content like formulas or annotations in an accessible manner.

Each 'Sub' element must be tagged so that assistive technologies can interpret it correctly, preserving the semantic relationship between the subscript and its associated content.

Use cases

Sub element used to identify lines in document

Try it

Sub elements represent individual lines of code.

Try it

Tag Relationships

Related Matterhorn Protocol checkpoints