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}
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:"))
| improve this answer | |

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.