MathGroup Archive 2008

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

Search the Archive

StyleSheets How-to

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85651] StyleSheets How-to
  • From: Šerých Jakub <Serych at panska.cz>
  • Date: Sun, 17 Feb 2008 07:22:29 -0500 (EST)

Hi all!
Does anybody know about some good tutorial about the creation and edition of
StyleSheets (M6.0.1)? I have found some  information in the help and on WRI
documentation pages, but all the information is only partial and I need to
glue it in my head little bit.

What I cannot find anywhere is, how to work with background images in
StyleSheet (for axample the brown hexagons on the top of
Creative/NaturalColor StyleSheet). I have searched in Option Inspector nearly
line by line and haven't found it. If I open this StyleSheet notebook in some
text editor, it seems to me, that the image is may be UUencoded inside the
notebook. There is something like in it:

Cell[StyleData["Notebook"],
 DockedCells->{
   Cell[
    GraphicsData[
    "Bitmap",
     =
"CF5dJ6E]HGAYHf4PAg9QL6QYHg<PAVmbKF5d0`4000Eg0000620010400?l00000o`\
00003o\n00000?ooTVPgoonBJ3Oooi9X=oooTVPgoonBJ3Mloi9X=`003?mc<0D3ogPh2`03oh@\
l2on=\n@0coQ3`;00?oPd<41?n9A@@00on8A`GoSDT4ohe91002ohe91003oi=<1?nHD@ \
OoSDT400co\n\
SDT400?oTd`4oiQA1on=B@@00_n=B@@9ohU51003oh=31?n9A@CoSDT400_oOD850on 3@`@0\n\
0on=B@CoOD85oge21@05oge21@KoPd<400?oRDD4oiQA1onVF0H02on/F`P2ojeP2@03ojIH\n\

..... continues aprox 1150 lines of such "scattered tea" code .....

00goIe0a00?oKELeofM@<OmWD3403?mWD3400omZDc;oIe0aofM@<@0HofM@<@00"],
    "Graphics", ImageSize -> {1399, 24}, ImageMargins -> 0,
    CellMargins -> {{0, 0}, {0, 0}}, Background ->
    RGBColor[0.403922, 0.313725, 0.192157],
    CellFrameMargins -> {{0, 0}, {0, 0}}]}

But how to create StyleSheet with my own images?

Thanks for any tip

Jakub


  • Prev by Date: Re: Garbage collection and mutable data structures
  • Next by Date: Mathematica 6 over ssh tunnel
  • Previous by thread: Re: [functional approach should give] an even faster way
  • Next by thread: RE: StyleSheets How-to