---
title: NSSuperscriptAttributeName
framework: appkit
role: symbol
role_heading: Global Variable
path: appkit/nssuperscriptattributename
---

# NSSuperscriptAttributeName

The superscript of the text.

## Declaration

```occ
extern NSAttributedStringKey NSSuperscriptAttributeName;
```

## Discussion

Discussion The value of this attribute is an NSNumber object containing an integer. The default value is 0.

## See Also

### Getting rendering attribute keys

- [NSBackgroundColorAttributeName](appkit/nsbackgroundcolorattributename.md)
- [NSBaselineOffsetAttributeName](appkit/nsbaselineoffsetattributename.md)
- [NSFontAttributeName](appkit/nsfontattributename.md)
- [NSForegroundColorAttributeName](appkit/nsforegroundcolorattributename.md)
- [NSGlyphInfoAttributeName](appkit/nsglyphinfoattributename.md)
- [NSKernAttributeName](appkit/nskernattributename.md)
- [NSLigatureAttributeName](appkit/nsligatureattributename.md)
- [NSParagraphStyleAttributeName](appkit/nsparagraphstyleattributename.md)
- [NSStrikethroughColorAttributeName](appkit/nsstrikethroughcolorattributename.md)
- [NSStrikethroughStyleAttributeName](appkit/nsstrikethroughstyleattributename.md)
- [NSStrokeColorAttributeName](appkit/nsstrokecolorattributename.md)
- [NSStrokeWidthAttributeName](appkit/nsstrokewidthattributename.md)
- [NSTrackingAttributeName](appkit/nstrackingattributename.md)
- [NSUnderlineColorAttributeName](appkit/nsunderlinecolorattributename.md)
- [NSUnderlineStyleAttributeName](appkit/nsunderlinestyleattributename.md)
