TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use the AUCTeX feature to expand " into csquotes macros. To enable it I have put the following in my .emacs:

;; " expands into csquotes macros
(setq LaTeX-csquotes-close-quote "}"
      LaTeX-csquotes-open-quote "\\enquote{")

However, when I use it together with babel " is not expanded to csquotes macros.

For instance, pressing " in the following example





results in


Here is a screenshot of when I press " inside the document environment:

Screenshot of what happens when I press "

What I would like to happen is that \enquote{ is inserted.

share|improve this question
up vote 12 down vote accepted

For it to work you have to load babel after csquotes as reported in http://permalink.gmane.org/gmane.emacs.auctex.bugs/1850.





Now pressing " will correctly expand to \enquote{:

Screenshot of the working expansion

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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