2
$\begingroup$

I have using the Wolfram Mathematica for two years. And I know the Mathematica has the operation Alt + ] that can generate []. However, when I use this shortcut,it cannot generate a [].

So my question is:

1.How to generate the [] rightly?

2.In other IDE like InteljIDEA, when I key the symbol [, it will generate the [] automatically.

Is it possible to do that in MMA front-end?

enter image description here

Edit

As @xzczd said,the Alt +) will generate

enter image description here

In addition, it is not convenient to use the Alt+) and Alt +} because I must key three keyboard Shift+Alt+]

$\endgroup$
4
  • $\begingroup$ With regards to point 1, you need to type Alt + ] to generate the []. You're typing the wrong bracket. $\endgroup$ Commented Aug 17, 2014 at 9:02
  • 1
    $\begingroup$ @blochwave According to the rest part of OP's question, I think it's a typo and correct it. As to OP's first question, what's your input method editor (IME)? In fact I just found my IME for Chinese character input will break this shortcut and after I turned it off, the shortcut works well. $\endgroup$
    – xzczd
    Commented Aug 17, 2014 at 9:08
  • $\begingroup$ Well, my last comment is only to the first question i.e. the generation of [], when you thought you pressed Alt + ) you actually pressed Alt + 0, which is another shortcut (that seems to be changed in v10? I'm still in v9 anyway.) And just as what you've noticed, to generate {} and () one needs to press 3 keys, which I personally don't feel it convenient, either. $\endgroup$
    – xzczd
    Commented Aug 17, 2014 at 9:23
  • $\begingroup$ Not an answer to the original question, but you can change keybindings as described here $\endgroup$
    – sebhofer
    Commented Aug 17, 2014 at 17:25

1 Answer 1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.