Whenever I used an underscore it automatically adds those curly brackets to it. Now sometimes thats nice, but sometimes you really dont need this. Is there a way to disable that feature? I roamed through the options several times now but can't find the one regarding my problem.
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
migrated from stackoverflow.com Aug 31 '11 at 17:58
|
There are two ways you can control this behaviour in TeXShop: permanently or temporarily. Temporarily At the top of each source window there should be a check box called Key Bindings. (If it's not there, you can add it by choosing the Customize Toolbar item from the Window Menu and dragging it to the toolbar.)
If you unclick the checkbox, you can turn off all automatic substitutions temporarily. Permanently If you want to change just the behaviour of the underscore or caret, you can permanently change them by choosing the Key Bindings menu item from the Source menu. This will give you the Key Bindings editor and you can change any key binding you like:
|
|||
|
|
|
Can't you simply use a backslash?
|
|||||||
|


_{1}and_1are equivalent, I believe it's best to stick to the braces. A well known counterexample is_\inwhich might surprise the beginner; writing_{\in}it won't break. – egreg Aug 31 '11 at 23:20_{t},^{n}etc terms, rather than the simpler_tand^nterms, can make it harder to decipher the code. To improve legibility, it's far more important to leave adequate whitespace, to break up long lines judiciously, and to indent as appropriate. – Mico Sep 1 '11 at 4:01