Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: why won't style sheet appear in Stylesheet list? (6.0)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76950] Re: [mg76871] why won't style sheet appear in Stylesheet list? (6.0)
  • From: John Fultz <jfultz at wolfram.com>
  • Date: Wed, 30 May 2007 05:31:33 -0400 (EDT)
  • Reply-to: jfultz at wolfram.com

On Tue, 29 May 2007 04:54:15 -0400 (EDT), Murray Eisenberg wrote:
> I put a newly-created 6.0 version style sheet in the
>
> \SystemFiles\FrontEnd\StyleSheets
>
> subdirectory of my $UserBaseDirectory (= my $UserAddOnsDirectory), yet
> it does not appear in the drop-down list of available style sheets when
> I use the menu item Format > Stylesheet.
>
> Of course I restarted Mathematica with clean preferences.  And the
> stylesheet itself seems OK: I can use the Other entry on the list to
> find it and apply it to a new notebook.
>
> Another newly-created stylesheet does appear in that list.  Also, that
> stylesheet appears above the first divider and directly below Default.
> How can I control the order in which stylesheets are listed there.

Use the MenuPosition option at the notebook level for the stylesheet.  
Mathematica sorts the stylesheet menu by the numerical values of the 
stylesheets' MenuPosition option, then alphabetically where equivalent values 
are used.  Built-in stylesheets will have a MenuPosition in the 1000-2000 range,so choosing a value below 1000 will always get your stylesheet before the 
built-in ones, if that's what you want (that information also applies for 
MenuPosition as used for individual named styles, as well).

Sincerely,
 
John Fultz
jfultz at wolfram.com
User Interface Group
Wolfram Research, Inc.




  • Prev by Date: Re: $10K Mathematica Machine
  • Next by Date: Re: Gauss-Kronrod algorithm
  • Previous by thread: why won't style sheet appear in Stylesheet list? (6.0)
  • Next by thread: Re: Re: why won't style sheet appear in Stylesheet