Strong of the help I got on the community site for using all kinds of auto numbering, I am trying to use it on Cell that have a background color.
I had to add some parameters to the Cell of the Dingbat to match the cell, but still, on most cells the height is wrong by one pixel, which makes the cell look bad. (the background behind the number is not as tall as the background behind the text)
here is the style definition in my stylesheet:
Cell[StyleData["ItemNumbered"],
CellDingbat->Cell[ TextData[{ CounterBox["ItemNumbered"], "."}], FontSize -> 24, CellFrame -> True,
CellFrameMargins -> 8,CellFrameColor->RGBColor[0.34641031509880216`, 0.544151979858091, 0.6997787441824979]],
MenuCommandKey->"2", FontSize->24, FontColor->GrayLevel[1],
Background->RGBColor[0.34641031509880216`, 0.544151979858091, 0.6997787441824979]
]
Is there a better way to do this?