Enter TeX-mode (AUCTeX), type


and then C-c C-o C-b. This will 'fold' the macro and show only test in a 'fontified' manner. For me this means blue, italic, and bold. But I am unable to use describe-char to discover which face determines this, since moving point to any of the chars effects an unfolding. How do I find the face?

  • You could use (buffer-string) to get a string with fontification on a buffer with such overlay. If the string is too large, store it in a variable and inspect it somewhere else. – DoMiNeLa10 Oct 29 '18 at 20:26

Your Answer

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

Browse other questions tagged or ask your own question.