1
$\begingroup$

I'm using Mathematica 11.3. In an earlier version, there was, I believe, an option allowing one to change the magnification for new notebooks (created, say, using the menu item File > New or the corresponding keyboard shortcut).

Is there some option to still do this?

I do NOT want to just change the Global Preferences option Notebook Options > Display Options > Magnification, because that applies to all notebooks, including existing palettes.

$\endgroup$
10
  • 1
    $\begingroup$ You can use this: mathematica.stackexchange.com/q/100414/5478 with e.g. CreateNotebook["Default", Magnification -> 3]. This will work for menu and Ctrl+N but not for CreateDocument and related functions, don't know if you want that too. $\endgroup$
    – Kuba
    Nov 10 '18 at 22:49
  • $\begingroup$ @Kuba: I added SetOptions[$FrontEnd,NotebookEventActions:>{{"MenuCommand","New"}:>CreateNotebook["Default",Magnification->1.25]}] to my ~/Library/Mathematica/Autoload/init.m, but it has no effect. $\endgroup$
    – murray
    Nov 10 '18 at 23:02
  • $\begingroup$ Don't modify init.m, just evaluate it. I rephrased linked answer to make it clearer. $\endgroup$
    – Kuba
    Nov 10 '18 at 23:11
  • $\begingroup$ @Kuba: Yes, I understand that - but is there a way to "automate" this, so that I don't have to evaluate that SetOptions command manually each time I start Mathematica? (I did try in init.m wrapping the entire SetOptions expression with a FrontEndExecute, but that seemed to make no difference. $\endgroup$
    – murray
    Nov 11 '18 at 1:11
  • $\begingroup$ And it didn't work even if I start Mathematica with clear caches (although it DID add NotebookEventActions:>{{"MenuCommand", "New"} :> CreateNotebook["Default", Magnification -> 1.25]} to my FrontEnd > init.m`. $\endgroup$
    – murray
    Nov 11 '18 at 1:19