Input:
<sup>sup element</sup>
<sub>sub element</sub>
<span style="vertical-align: super">vertical align super</span>
<span style="vertical-align: sub">vertical align sub</span>
<span style="vertical-align: 50%">vertical align 50%</span>

Output:
NSParagraphStyle:
Alignment 4
    LineSpacing: 0
    ParagraphSpacing: 0
    ParagraphSpacingBefore: 0
    HeadIndent: 0
    TailIndent: 0
    FirstLineHeadIndent: 0
    LineHeight: 15/0
    LineHeightMultiple: 0
    LineBreakMode: 0
    Tabs: ()
    DefaultTabInterval: 36
    Blocks: (
)
    Lists: (
)
    BaseWritingDirection: 0
    HyphenationFactor: 0
    TighteningForTruncation: YES
    HeaderLevel: 0
[sup element]
    NSColor: #000000 (NSDeviceRGBColorSpace)
    NSFont: Times-Roman 13.33 pt.
    NSKern: 0pt
    NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
    NSStrokeWidth: 0
    NSSuperScript: 1
NSParagraphStyle:
Alignment 4
    LineSpacing: 0
    ParagraphSpacing: 0
    ParagraphSpacingBefore: 0
    HeadIndent: 0
    TailIndent: 0
    FirstLineHeadIndent: 0
    LineHeight: 18/0
    LineHeightMultiple: 0
    LineBreakMode: 0
    Tabs: ()
    DefaultTabInterval: 36
    Blocks: (
)
    Lists: (
)
    BaseWritingDirection: 0
    HyphenationFactor: 0
    TighteningForTruncation: YES
    HeaderLevel: 0
[ ]
    NSColor: #000000 (NSDeviceRGBColorSpace)
    NSFont: Times-Roman 16.00 pt.
    NSKern: 0pt
    NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
    NSStrokeWidth: 0
NSParagraphStyle:
Alignment 4
    LineSpacing: 0
    ParagraphSpacing: 0
    ParagraphSpacingBefore: 0
    HeadIndent: 0
    TailIndent: 0
    FirstLineHeadIndent: 0
    LineHeight: 15/0
    LineHeightMultiple: 0
    LineBreakMode: 0
    Tabs: ()
    DefaultTabInterval: 36
    Blocks: (
)
    Lists: (
)
    BaseWritingDirection: 0
    HyphenationFactor: 0
    TighteningForTruncation: YES
    HeaderLevel: 0
[sub element]
    NSColor: #000000 (NSDeviceRGBColorSpace)
    NSFont: Times-Roman 13.33 pt.
    NSKern: 0pt
    NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
    NSStrokeWidth: 0
    NSSuperScript: -1
NSParagraphStyle:
Alignment 4
    LineSpacing: 0
    ParagraphSpacing: 0
    ParagraphSpacingBefore: 0
    HeadIndent: 0
    TailIndent: 0
    FirstLineHeadIndent: 0
    LineHeight: 18/0
    LineHeightMultiple: 0
    LineBreakMode: 0
    Tabs: ()
    DefaultTabInterval: 36
    Blocks: (
)
    Lists: (
)
    BaseWritingDirection: 0
    HyphenationFactor: 0
    TighteningForTruncation: YES
    HeaderLevel: 0
[ ]
    NSColor: #000000 (NSDeviceRGBColorSpace)
    NSFont: Times-Roman 16.00 pt.
    NSKern: 0pt
    NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
    NSStrokeWidth: 0
[vertical align super]
    NSColor: #000000 (NSDeviceRGBColorSpace)
    NSFont: Times-Roman 16.00 pt.
    NSKern: 0pt
    NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
    NSStrokeWidth: 0
    NSSuperScript: 1
[ ]
    NSColor: #000000 (NSDeviceRGBColorSpace)
    NSFont: Times-Roman 16.00 pt.
    NSKern: 0pt
    NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
    NSStrokeWidth: 0
[vertical align sub]
    NSColor: #000000 (NSDeviceRGBColorSpace)
    NSFont: Times-Roman 16.00 pt.
    NSKern: 0pt
    NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
    NSStrokeWidth: 0
    NSSuperScript: -1
[ vertical align 50% ]
    NSColor: #000000 (NSDeviceRGBColorSpace)
    NSFont: Times-Roman 16.00 pt.
    NSKern: 0pt
    NSStrokeColor: NSDeviceRGBColorSpace 0 0 0 1
    NSStrokeWidth: 0

