Home > Archive > Mathematica > September 2007 > Group opener disappearing with Textbook style
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Group opener disappearing with Textbook style
|
|
| chuck009 2007-09-20, 4:41 am |
| 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]]
| |
| shirahsong@gmail.com 2007-09-21, 4:31 am |
| ....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...@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}} o
r 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]]
| |
| chuck009 2007-09-22, 4:27 am |
| Hello David. Then I must have something else wrong with my style sheet: I have cells contained within the chapter but as soon as I add a background color to the title, the group opener disappears . . . guys means girls too. That's what you call them tog
ether when you have one of each :)
| |
| David Reiss 2007-09-23, 4:38 am |
| ....I guess that thre are some girls on this group. Probably more
Women though...
Send me your stylesheet (to the gmail address on this post) and 'd be
happy to take a look at it for you to see if I can find the problem.
Best,
David
On Sep 22, 3:43 am, chuck009 <dmili...@comcast.com> wrote:
> Hello David. Then I must have something else wrong with my style sheet: I have cells contained within the chapter but as soon as I add a background color to the title, the group opener disappears . . . guys means girls too. That's what you call them t
ogether when you have one of each :)
| |
| chuck009 2007-09-26, 8:15 am |
| Thanks David. I know you're good at them. Mine is messy, unorganized, and spread over two stylesheets. Maybe that's the problem: perhaps if I clean up my code and condense it into one organized stylesheet, that may fix the problem. I'll try that firs
t. :)
> Send me your stylesheet (to the gmail address on this
> post) and 'd be
> happy to take a look at it for you to see if I can
> find the problem.
>
> Best,
>
> David
>
>
|
|
|
|
|