I recently switched from TeXStudio to Emacs/AUCTEX. The problem is that I don't know how to cite a paper. Here is a MWE:


\textcite{Here is where I want autosuggestion on my papers' list to be appeared}



Like for any other macro you want to insert in AUCTeX, you should use C-c RET cite RET (or C-c C-m cite RET; for more information about autocompletion in AUCTeX see the quick start or Completion section of the manual). This works also for all other citation macros provided by natbib, biblatex, ect... (\citep, \citealt, \parencite, \textcite, etc...)

For the particular case of bibliography commands, you may want to take advantage of the great package RefTeX. AUCTeX has a basic support for bibliographic commands also without RefTeX, but this package provides a far superior completion.

In order to automatically start RefTeX when you open a LaTeX file add the following code to your init file

;; Turn on RefTeX in AUCTeX
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
;; Activate nice interface between RefTeX and AUCTeX
(setq reftex-plug-into-AUCTeX t)

In this way, you can still insert a \cite command with C-c RET cite RET, but you can also use the key-binding C-c [. RefTeX overtakes the task to provide completion of bibliographic entries, but you can continue using the usual AUCTeX-way to insert macros.


The command you need here is reftex-citation, which is bound to C-c [ by default. There is more info in the manual

Alternatively, you can use helm-bibtex in place of reftex. Helm-bibtex is more powerful, but it lacks a few features that reftex has, such as allowing you to search your records on different fields.

  • when i use C-c [ the terminal says that command is undefined – Yorgos Feb 22 '16 at 17:52
  • 2
    You need to turn on reftex with (setq reftex-plug-into-AUCTeX t), see the manual here – Tyler Feb 22 '16 at 17:59
  • @Yorgos You can also use C-c c if you add (setq reftex-extra-bindings t) – ppr Sep 27 '17 at 21:42

Your Answer

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

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