Draw attention with underlined text. Traditional emphasis technique, automatically applied to links.

OOXML Structure

<w:r>
  <w:rPr>
    <w:u w:val="single"/>
  </w:rPr>
  <w:t>Underlined text</w:t>
</w:r>

Why you’d use this

  • Legal documents - Emphasize terms and conditions
  • Forms - Indicate fill-in areas: _____________
  • Headings - Alternative to bold
  • Links - Automatic with hyperlinks
  • Emphasis - Triple emphasis with bold + italic + underline

Attributes

underlineType
UnderlineConfig
default:"'single'"
Style of underline

Commands

setUnderline

Apply underline formatting
setUnderline()

unsetUnderline

Remove underline formatting
unsetUnderline()

toggleUnderline

Toggle underline formatting
toggleUnderline()

Keyboard Shortcuts

CommandShortcutDescription
toggleUnderline()⌘/Ctrl-uToggle underline formatting
toggleUnderline()⌘/Ctrl-UToggle underline formatting (uppercase)

Types

UnderlineConfig

Underline style configuration