Hot answers tagged

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:"))


3

Add your self-defined verbatim environment to LaTeX-indent-environment-list. Your modified example would look like this: \documentclass{article} \usepackage{verbatim} \begin{document} This text just shows that LaTeX-fill-region does something. \begin{myverbatimenv} First verbatim line. Second verbatim line. \end{myverbatimenv} \end{document} % Local ...


1

In case you're using fancyvrb.sty to define your custom environment, you only need to hit C-c C-n and let AUCTeX parse your document. AUCTeX has a sophisticated style file for fancyvrb.sty which takes care of adding your environment to various internal variables. After that, you can do C-c C-e myverTAB RET to include it in your document. AUCTeX will ...


Only top voted, non community-wiki answers of a minimum length are eligible