Mathematica 7.0 has a known issue with the Alt-Gr button with non-US keyboards. When you use Alt-Gr to type, for instance, square brackets it also adds a space in front of the newly created bracket. Hence, if you type “Alt-Gr + è” in an Italian keyboard, you will obtain ” [” instead of simply “[“. This is due to the fact that Alt-Gr behaves as the spacebar when it is pressed.

To remove this issue, open as root the file:
“/usr/local/Wolfram/Mathematica/7.0/SystemFiles/FrontEnd/TextResources/X/
KeyEventTranslations.tr”

and add the following new line after “EventTranslations[{“:

Item[KeyEvent[“ISO_Level3_Shift”], FrontEndExecute[{FrontEnd`NotebookWrite[FrontEnd`InputNotebook[],  Sequence[], After]}] ],

hacker emblem