Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Here is the cell style data for my custom version of Section:

Cell[StyleData["Section"],
 MenuCommandKey->"1",
 MenuSortingValue->10000,
 CellFrame->{{0, 0}, {0, 0}},
 CellMargins->{{10, Inherited}, {8, Inherited}},
 CellFrameMargins->1]

But when I type command+1 I still get the old red Title cell.

enter image description here

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

You'll also need to make a version of the Title cell which has the MenuCommandKey option unset. I.e.,

Cell[StyleData["Title"], MenuCommandKey->None]

The FE doesn't have a standard way of resolving styles with overlapping MenuCommandKey options, so if you want it to work properly, it's important to make sure that you prevent overlaps.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.