This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
BUILT-IN MATHEMATICA SYMBOL|See Also »

MenuCommandKey

MenuCommandKey
is an option for cells that specifies the keyboard shortcut to be associated with a style listed in the FormatStyle submenu.
  • Acceptable values include None and "1" through "9". Style definitions with menu command keys also generally include a to determine the location of the style in the FormatStyle submenu.
  • This option is typically specified in the style definition cell of a stylesheet.
Create a style definition for the cell style "MyTitle" that can be accessed by choosing FormatStyleMyTitle or pressing Alt+1 and reformat the cell:
Create a style definition for the cell style "MyTitle" that can be accessed by choosing FormatStyleMyTitle or pressing Alt+1 and reformat the cell:
MyTitle
New in 6