Creating and managing text styles

Text styles can be created via the context toolbar or on the Text Styles panel, ready for applying to text. You can manage and edit them at any time.

There are several ways to create a new text style:

  • Build it from scratch—the new text style will have no initial connection to any other text style.
  • Duplicate it from another style—the new text style will initially be exactly the same as the existing text style but has no ongoing relationship to it. Both styles can be edited without affecting each other.
  • Base it on an existing style—the new text style will have the same settings as the existing text style and has an ongoing relationship to it. Changes to the existing style may affect the new style created from it.

A text style can be modified in two ways:

  • Editing the text style directly.
  • Updating the text style to match some selected, locally formatted text.

You can also assign your own keyboard shortcuts to individual text styles, usually to those you apply often.

Options

The following options are available on the Style section of the Text Style Editor dialog:

  • Based on—sets the default settings for this style. The selected text style acts as a master for the new style.
  • Next style—for paragraph styles, this determines the text style automatically applied to the following paragraph (see note below).
  • Next level—for multi-level paragraph styles (e.g., those that use 1, 1.1 and 1.1.1 auto-numbering prefixes) this determines the style that is used for the subordinate level.
  • Shortcut—sets the keyboard shortcut that will apply this text style.
  • Type—determines the predominant nature of the text style, i.e. whether it is considered a character, paragraph, or group style.
  • Show in both panels—if this option is off (default), the text style can only be applied in its predominant way (determined by the Type option). When selected, a paragraph or group style can be applied as a character style.
  • Reset Formatting—removes all the settings applied in the Character, Typography, and Paragraph sections of the dialog. The settings in the Style section remain unchanged.

The Next style feature is only activated when you press the ⏎ key (Mac) / Return key (Windows) when typing text, or when you select Apply "<style name>" Then Next Styles on a text style's options menu on the Text Styles panel.

You can store character and paragraph formatting in text styles. Other sections of the dialog mirror the options available on the Character and Paragraph panels.

When a text style attribute is set to [No change], its value will be inherited from the text style selected for the Based on option.

Additional Edit Text Style dialog options

  • Style name—defines the name the text style will use throughout the app.
  • Character—adds character-level attributes or overwrites those determined by the Based on style. See Character panel for details.
  • Typography—activates OpenType features for the text style or overwrites those determined by the Based on style. See OpenType font features for details.
  • Paragraph—assigns paragraph-level attributes to the text style or overwrites those determined by the Based on style. See Paragraph panel for details.
  • Style settings—summarizes all the attributes applied to the current text style.
  • Apply style to selection—applies the current text style to any selected text (if text was selected prior to entering the dialog) when you select OK.

How to update a text style

The text style is updated to match the local formatting.

How to edit an existing text style

How to create a text style from an existing style

How to create a text style from locally formatted text

How to create a text style from scratch

How to assign a keyboard shortcut to a text style

How to import text styles from another Affinity document

How to save a set of text styles as the default for new documents

How would you rate the help you received from this article?