Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

CounterBox[] & CounterFunction[] & DingBat

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111438] CounterBox[] & CounterFunction[] & DingBat
  • From: "Scot T. Martin" <smartin at seas.harvard.edu>
  • Date: Sun, 1 Aug 2010 04:57:55 -0400 (EDT)

I want to get a label like "B.i" for a cell. It seems I can 
only get "ii.i" or "B.A." That is, I cannot mix CounterFunction[] types. I 
didn't find much in the documentation on this. Anyone know how to do it?

Here is an example of the cell expression:

Cell[TextData[StyleBox["Instantaneous Drag Force", FontSlant->"Italic"]], 
"Subsubsubsection", CellChangeTimes->{3.4895729829194045`*^9}]


On the StyleSheet for "Subsubsubsection":

CellDingBat->Cell[TextData[{CounterBox["Subsubsection"], ".", 
CounterBox["Subsubsubsection"], "."}], CellSize -> {32, Inherited},  TextAlignment -> Right]

CounterFunction->RomanNumeral




  • Prev by Date: Re: CreatePalette -> make palette inherit notebook's kernel
  • Next by Date: classroom combinatorics
  • Previous by thread: Re: CreatePalette -> make palette inherit notebook's kernel
  • Next by thread: Re: CounterBox[] & CounterFunction[] & DingBat