Is there a way to change the headings on NumberedItem style?
Instead of it going
1.
2.
3.
I am looking for it to go
A.
B.
C.
with the auto increment. I can't find a style that has headings as letters.
Is there a way to change the headings on NumberedItem style?
Instead of it going
1.
2.
3.
I am looking for it to go
A.
B.
C.
with the auto increment. I can't find a style that has headings as letters.
From @b3m2a1's linked post mathematica.stackexchange.com/a/159829/38205
Cell["a", "ItemNumbered",
CellChangeTimes->{{3.72170647675723*^9, 3.7217064817685165`*^9}},
CounterBoxOptions -> {
CounterFunction -> Function[CharacterRange["A", "Z"][[#]]]
}]
You should do this in the style sheet. So:
SetOptions[
EvaluationNotebook[],
StyleDefinitions -> Notebook[
{
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell[StyleData["ItemNumbered"],
CellDingbat->Cell[TextData[{CounterBox["ItemNumbered"], ")"}],FontWeight->Bold],
CounterBoxOptions->{CounterFunction->(CharacterRange["A","Z"][[#1]]&)}
]
},
StyleDefinitions->"PrivateStylesheetFormatting.nb"
]
]
where I used ")" instead of "." as requested in a comment.
Z? – Kuba Dec 08 '17 at 07:30CharacterRange. I think this question is a dupe of one I answered a few weeks back, but I'll need to look it up. – b3m2a1 Dec 08 '17 at 07:31Dso I hadn't considered that yet. @b3m2a1 I tried searching but I don't know how to phrase it. I looked for 'numbereditem string header' and similar but had no results. I just look through your answers for 'itemnumbered' and 'item', didn't find anything. – I should change my Username Dec 08 '17 at 07:32AA,AB,.... – Kuba Dec 08 '17 at 07:35CounterFunctiondefinitions they all look likeFunction[CharacterRange[n1, n2][[#]]]when not defined by string. I know the user might expect something else. That's just what Mathematica provides. – b3m2a1 Dec 08 '17 at 07:36CharacterRangein stylesheets. – Kuba Dec 08 '17 at 07:38CounterBoxOptionfrom ending in.to ending in)or-? – I should change my Username Dec 08 '17 at 07:43