I'm using reftex under emacs. In my document, my label policy is the following :

\label{<buffer name>:<env>:<key>}

for example


Is there a way to do that automatically with reftex ?

Thanks you for any advice, link or documentation...

1 Answer 1


RefTeX customization -> RefTeX Label Support -> Reftex Defining Label Environments -> Reftex Label Alist. Change Label prefix string (for every entry). Use %f for filename (extension will be stripped); for details, see the documentation in the customization buffer.

  • Doesn't work, since my reftex seems to ignore completly all customization. I have to check that... Mar 28, 2013 at 8:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .