You need quoted-insert
function. It's bound by default to C-q.
What is the good way to input \ in auctex and _ when cdlatex is on?
سؤال
I would like to input \ in auctex but when I type \, a minibuffer will prompt out to ask me to choose a macro. I think it is a good feature but sometimes the only thing I need is a real \ . Is there a solution?
And, I would like to type _ in my text but when cdlatex is on, it will add $$ around it and see it as a subscript.
Looking for answer!
المحلول
نصائح أخرى
It seems you set TeX-electric-escape
to non-nil in your init file. If you want to restore the normal behavior of \
you should remove this setting, otherwise you can insert a character literally using C-q when you want to insert just a \
.
لا تنتمي إلى StackOverflow