Is there a setting in auctex that can hide (fold) comments (paragraphs which start with %)?

1 Answer 1


You can use TeX-fold-comment (C-c C-o C-c) to hide the comment. You need to enable TeX-fold-mode to make use of this functionality.

See the AUCTeX manual on folding macros and environments for more information.

  • Can it be applied for the complete buffer?
    – alper
    Oct 1, 2022 at 19:24

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.