In latex-math-mode, when using any macro, curly braces are inserted. for example using `-g inserts \gamma{}. I would like it to produce only \gamma. I couln't find a way to do this.


1 Answer 1


Turns out I was not inside a math environment. When the cursor is inside any math mode environment the macro works as expected, with no braces added.

  • (1) Don't refer to comments - comments can be deleted at any time. Incorporate whatever you need from comments into your answer. (2) Please develop your answer, to make clearer what the answer is (how it answers the question). Thx.
    – Drew
    Apr 13, 2022 at 17:22

Your Answer

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

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