Re: Re: Default magnification for Help and Tutorials?
- To: mathgroup at smc.vnet.net
- Subject: [mg89268] Re: [mg89253] Re: [mg89242] Default magnification for Help and Tutorials?
- From: John Fultz <jfultz at wolfram.com>
- Date: Tue, 3 Jun 2008 03:58:37 -0400 (EDT)
- Reply-to: jfultz at wolfram.com
It's not necessary to modify a file in the installation directory. Using inherited stylesheets, you can create a very small file in= $UserBaseDirectory which tweaks the canonical stylesheet. Here's some code which creates such= a file in the right location. nb = NotebookPut[ Notebook[{Cell[ StyleData[ StyleDefinitions -> FrontEnd`FileName[{"Wolfram", "Reference.nb"}]]], Cell[StyleData[All, "Working"], Magnification -> 1.25]}]]; CreateDirectory[ ToFileName[{$UserBaseDirectory, "SystemFiles", "FrontEnd", "StyleSheets", "Wolfram"}]]; NotebookSave[nb, ToFileName[{$UserBaseDirectory, "SystemFiles", "FrontEnd", "StyleSheets", "Wolfram"}, "Reference.nb"]]; NotebookClose[nb]; Sincerely, John Fultz jfultz at wolfram.com User Interface Group Wolfram Research, Inc. On Sun, 1 Jun 2008 16:33:32 -0400 (EDT), W_Craig Carter wrote: > Hello AES, > > This is a bit of a hack, but it works for me. > > It appears that the Help browser is using the Wolfram/Reference.nb > stylesheet. > This is located at > /Applications/Mathematica.app/SystemFiles/FrontEnd/StyleSheets/Wolfram/ > on my system. The location is operating system dependent. > > 1. Make a copy and back up Reference.nb > 2. Edit Reference.nb with your favorite text editor. > 3. Change the Cell: > Cell[StyleData[All, "Working"], > DockedCells->FEPrivate`FrontEndResource[ > "FEExpressions", "HelpViewerToolbar"] > ], > > to > > Cell[StyleData[All, "Working"], > DockedCells->FEPrivate`FrontEndResource[ > "FEExpressions", "HelpViewerToolbar"], > Magnification->1.25], > > 4. Restart Mathematica, when you call up the Help browser you will get > a warning, but the browser will be at mag 1.25. > > 5. To remove this warning, open Reference.nb with Mathematica and then > use Save As to overwrite that file. > > 6. When you restart Mathematica, the browser will be at 1.25 with no > warning message. > - Hide quoted text - > > On Sun, Jun 1, 2008 at 3:35 AM, AES <siegman at stanford.edu> wrote: >> Is there a default I can set that will cause all Help pages and >> Tutorials to open in 125% magnification? (without changing the default >> magnification for other files I may open, like .nb files or New files)