Styles
February 20, 2023
Last updated on November 16, 2026
The built-in OneNote styles are defined by OneNote and cannot be changed. The OneMore Styles commands let you create and edit your own styles. These are saved and appear in the My Styles gallery. Just like the OneNote styles, each style in the My Styles gallery can be applied to selected text. You can also apply all styles in the gallery to the current page, where it will attempt to match your content to an appropriate style in the gallery.
|
Styles Gallery |
Styles Editor |
|
|
|
Applying a style is as simple as positioning your cursor or selecting content and then choosing a style from the styles gallery.
The first nine styles - regardless of what they are - are automatically bound to the key sequences Ctrl+Alt+Shift + 1 through Ctrl+Alt+Shift + 9. You can override these key bindings in the Settings dialog. You can also define command aliases for use in the Command Palette.
My Styles Commands
The full complement of styles shown in the My Styles gallery are stored together and known as a style set.
Apply These Styles to Page
Default shortcut is Ctrl + Alt + S
Applies the current style set to the page. This attempts to intelligently map each style to styles in the existing content. Any content styled as a standard OneNote heading will be converted to the correlated custom heading. All other content will be styled based on inferred styling and closest match to a style defined in the style set.
When a header (1..6) is followed by a blank line, this will ensure that these blank lines are set to the custom style set's Normal style, fixing the problem mentioned below in Regarding Heading Styles and The Next Paragraph.
Apply Conditional Formatting
Applies either a chosen built-in style or a custom style to the matched portions within the page or selected content by searching for text using a regular expression. The regular expression match is constrained to just the matched text; when applying a paragraph style, that style is treated like an inline character style and applied just to the matched text and not the entire paragraph.
Edit Styles
The My Styles editor lets you create, edit, and organize the custom styles you apply to text in OneNote. It opens when you edit your styles. When you create a single new style from a selection, a simpler version opens titled New Style.
Style Types
OneNote styles are always applied to an entire paragraph. OneMore styles can be applied to either a paragraph or a text run, with additional special types, such as a code block - used by the Colorize commands.
|
Type |
Applies to |
|
Heading |
Heading paragraphs, included in the table of contents; must be ordered |
|
Page title |
The page title paragraph |
|
Citation |
A reference paragraph |
|
Quote |
A quoted-text paragraph |
|
Code |
A code block paragraph; treated uniquely by Colorize |
|
Paragraph |
An entire paragraph |
|
Character |
Only the selected words within a paragraph |
Optional checkboxes
- Apply colors: includes the style's text and highlight colors when the style is applied. Leave it unchecked to leave text colors alone.
- Font only: applies just the font family and size (Paragraph style types only). When not enabled, all attributes are applied aggressively, meaning it will override bold, italic, underline, sub/superscript, colors, and highlights.
- Source code paragraph: marks the paragraph as code.
- Disable spell check: turns off proofing for text with this style.
Page color options
The Options section at the bottom applies to the whole set of styles:
- Change the page color when applying these styles: when checked, Applying These Styles also sets the page color.
- Click here to select the page color: opens a color picker for the page color.
- Intended for pages with dark backgrounds: check this if the set is designed for dark pages. Colors are adjusted to match how OneNote displays them in dark mode.
Contrast warning
The preview is drawn on the selected page color. If the style’s text color is too close to the page color, the message “Text may be unreadable” appears in the Options area. Hover over it for details. Change the text color, the highlight, or the page color until the message clears. The message clears automatically when you switch to a style with enough contrast.
The Options section isn’t shown when you are creating a single new style.
Load Styles
The styles in the My Styles gallery are stored as XML files. Each XML file defines one set of styles. When you load an XML file, its file name is displayed in the Edit Styles command, for example "Orange" in the picture above.
Loading a new XML file will entirely replace the current styles in the gallery. Only one set can be loaded at a time.
Create New Style from Text
Open the style editor, detecting the style attributes of the currently selected text.
Set Page Color
Changes the page background to a custom color.
────────────────────────────────────────────────────────────────────────────────────────────────────
Regarding Heading Styles and The Next Paragraph
There is a known problem that appears to be a glitch in the way OneNote works. OneNote will automatically switch to a normal paragraph immediately following a heading line. But this doesn't work as expected when applying a OneMore custom heading style.
While it may appear to work correctly as you press Enter after custom heading:
This is a custom Heading 2
This looks like a normal paragraph but it is not!
Internally, the paragraph is actually a stylized Heading 2. There is no known automated solution to this at this time. But there is a workaround. After typing a custom heading and pressing Enter, immediately press Ctrl + Shift + N to force the Normal style on the next paragraph. If the new paragraph is not set to a Normal style, then the paragraph may be restyled to a Heading style.
This is patched automatically by the Apply These Styles to Page command.
Regarding The Office Black Theme and Custom Page Backgrounds
By default, OneNote lets you select from a light, pastel palette for page backgrounds but if you change the Office theme to Black then it does a fairly decent job of colorizing your content and the OneMore custom styles work just fine.
But if you don't want to affect all Office products then OneMore offers true dark-mode background capabilities as well as custom page color selections. And OneMore comes with a style theme named DarkStyles.xml that you can load.
If you've selected a darker page background color, OneMore will generate the information box, warning box, and code box with darker colors as well, such as:

If you switch the page background, snippets like the info boxes are not automatically recolored; you may need to change the color manually or reinsert the snippet.
#omwiki #omcommands
© 2020 Steven M Cohn. All rights reserved.
Please consider a sponsorship or one-time donation to support ongoing development
Created with OneNote.

