Re: Group opener disappearing with Textbook style
- To: mathgroup at smc.vnet.net
- Subject: [mg81393] Re: Group opener disappearing with Textbook style
- From: shirahsong at gmail.com
- Date: Fri, 21 Sep 2007 03:15:03 -0400 (EDT)
- References: <fct8lq$pp5$1@smc.vnet.net>
...actuall some fo the folks that inhabit this list are not
guys :-). There are indeed some women that use Mathematica!
However, I am a guy and so will answer your question (hopefully).
The style that you define below does indeed have a Group opener. The
GroupOpener does not appear unless there is at least one cell below a
TOCBookChapterTitle cell that is contained in its cell group.
It works for me...
--David
On Sep 20, 3:49 am, chuck009 <dmili... at comcast.com> wrote:
> Hello guys,
>
> I noticed whenever I add a cell frame or background color to my private settings for TOCBookChapter, TOCBookSection, TOCBookSubSection styles, the group opener disappears. Here's how I have the Chapter defined: Now, if I add CellFrame->{{2,2},{2,2}} or Background->RGBColor[1,0,0], the group opener disappears. Can anyone help?
>
> Cell[StyleData["TOCBookChapterTitle"],
> CellMargins->{{2, 2}, {5,5}},
> CellFrameMargins->{{8,2}, {2,2}},
> CellGroupingRules->{"SectionGrouping", 40},
> ShowGroupOpener->True,
> CellFrameLabels->{{
> Cell[
> TextData[{
> CounterBox["TOCBookChapterTitle"]}], "TOCBookChapterTitleLabel", CellBaseline -> Center,
> CellSize -> {75, 75}, CellMargins -> {{1, 1}, {1, 10}}, CellFrameMargins->{{0,0},{0,0}},CellFrame -> {{2, 2}, {2, 2}},
> Background->RGBColor[0.500008, 0.500008, 0.749996]],
> Inherited}, {Inherited, Inherited}},
> CounterIncrements->"TOCBookChapterTitle",
> CounterAssignments->{{"TOCBookSection", 0}},
> MenuPosition->1830,
> FontFamily->"Helvetica",
> FontSize->48,
> FontWeight->"Bold",
> TextAlignment->Center,
> FontColor->RGBColor[0, 0, 0]]