I use emacs to write latex and I need to enclose a lot of small expression in braces ( \{ and \} for latex) I would like to select the text to enclose and have some command that would add { before the selected text and } after. Is it possible with a simple command? Thank you.

EDIT: Corrected { } to \{ \}

  • 2
  • Do you use AUCTeX or the built-in LaTeX mode? – matteol Feb 20 at 11:19
  • the built-in latex mode, I believe, the mode is called LaTeX/P in the gui, I am on an office laptop so I am not the one that configured emacs. – KiriaKasis Feb 20 at 11:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.