4

The default value of LaTeX-section-label is:

(("part" . "part:")
 ("chapter" . "chap:")
 ("section" . "sec:")
 ("subsection" . "sec:")
 ("subsubsection" . "sec:"))

However, for chapter, when typing C-c C-s, we get cha instead of chap:.

\chapter{asdf}
\label{cha:asdf}

1 Answer 1

4

If reftex is enabled and the variable reftex-plug-into-AUCTeX is not nil the value of LaTeX-section-labelis ignored and reftex-section-prefixes is used. Its default value is

((0 . "part:")
 (1 . "cha:")
 (t . "sec:"))

Your Answer

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

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