开发者

fold LaTeX document by \section in AucTeX?

开发者 https://www.devze.com 2023-03-21 00:24 出处:网络
I can\'t seem to find examples of how to fold LaTeX documents by section headings using AucTeX (though I find claims that this is possible and I have not doubt that this is a true statement). Currentl

I can't seem to find examples of how to fold LaTeX documents by section headings using AucTeX (though I find claims that this is possible and I have not doubt that this is a true statement). Currently -- in the default configuration -- folding the whole buffer seems to just hide the names of the macros and environm开发者_如何学Cents but does not fold anything vertically... Any leads? Thanks --

Edit: not sure if this helps, but my TeX-fold-type-list is (env macro math), which is the default value.


AucTeX supports emacs' outline minor mode, which does what you want (hint: bind outline-toggle-children to something or set outline-minor-mode-prefix).

0

精彩评论

暂无评论...
验证码 换一张
取 消