MathGroup Archive 2009

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

Search the Archive

Re: Stylesheets

  • To: mathgroup at
  • Subject: [mg96704] Re: [mg96679] Stylesheets
  • From: "David Park" <djmpark at>
  • Date: Sat, 21 Feb 2009 19:39:56 -0500 (EST)
  • References: <24268593.1235127915881.JavaMail.root@m02>


Using Preferenences you could even make you style sheet your default style

To put your styles in the Notes that you send to other people:

1) With your notebook open select Menu > Format > Edit Style Sheet.
2) You will obtain a Private Style Definitions for your notes that has a
single line saying it is inheriting base definition from stylesheet
3) The line will also have a link. Click on the link to obtain Private Style
Definitions For MyStyle.nb. 
4) Now select all the cells in MyStyle.nb, use Ctrl-C to copy them and then
use Ctrl-V to REPLACE the single line in the original Notes style sheet. The
notebook will now contain a private copy of all your styles.

There is one catch - you must use Ctrl-C and Ctrl-V and you cannot use the
copy and paste items on the context menu. This is a bug that may not get
fixed for a while.

From: Simon [mailto:simonjtyler at] 


I've written some cascaded style sheets for some of my notes.
If I want to distribute the notebooks to someone else I have two
1.  Give them my set of style sheets and have them 'install' them...
2.  Put the style definitions into the notebook.

Now option 1 is not always so easy to explain to people.

The only way I know to do option 2 is to open up the notebook as
text... eg in a text editor and replace the term StyleDefinitions-
>"MyStyle.nb" with StyleDefinitions->Notebook[{...}]  where the ... is
all of the StyleData objects contained in "MyStyle.nb".
Admittedly, this is just a simple copy-paste action,  but it seems
rather inelegant  (and tiresome if you have to do it too often).

Finally to my question:
Is there an equivalent frontend procedure?


  • Prev by Date: Mathematica question about commutativity of multiplication
  • Next by Date: Re: Dynamic Module with Trigger
  • Previous by thread: Re: Stylesheets
  • Next by thread: Re: Stylesheets