The Quality Without A Name

2009/02/14

Option-⌦ in Mathematica

Filed under: Uncategorized — mayoff @ 2:31 am

Option-⌦ (that’s option-forward-delete) is the standard Mac key sequence for deleting the word to the right of the text cursor.  For some reason, Mathematica doesn’t understand that by default.

To correct this problem, edit this file:

/Applications/Mathematica.app/SystemFiles/FrontEnd/TextResources/Macintosh/KeyEventTranslations.tr

Find the line that contains the word “ForwardDelete”, and add this line after it:

Item[KeyEvent["ForwardDelete", Modifiers->{Option}], "DeleteNextWord"],

Of course you might want to make a backup of KeyEventTranslations.tr first.


2009/02/07

Mathematica Home Edition’s banner ad, revisited

Filed under: Uncategorized — mayoff @ 5:27 pm

It turns out to be very easy to remove the Mathematica Home Edition banner ad from all existing and newly-created notebooks.  Just run this expression:

SetOptions[$FrontEnd,DockedCells->{}]

The effect of this command persists when you quit and restart Mathematica.

Something else you might find annoying is the “Welcome to Mathematica 7 Home Edition” window (the Mathematica Navigator), which appears every time you start Mathematica.  You can prevent Mathematica from opening that window by running this expression:

SetOptions[$FrontEnd,AutoOpenNotebooks->{}]

2009/02/06

Mathematica Home Edition’s banner ad

Filed under: Uncategorized — mayoff @ 10:50 pm

Mathematica Home Edition includes a banner ad for itself at the top of every new notebook you create:

Mathematica Home Edition empty notebook with banner ad

How annoying.  You can remove it by evaluating this expression:

SetOptions[SelectedNotebook[],DockedCells->{}]

I haven’t figured out how to make this happen automatically in every new notebook I create.

Blog at WordPress.com.