在 AucTeX 中按 \section 折叠 LaTeX 文档?
我似乎找不到如何使用 AucTeX
按节标题折叠 LaTeX
文档的示例(尽管我发现这是可能的,而且我毫不怀疑这是真实的陈述)。目前 - 在默认配置中 - 折叠整个缓冲区似乎只是隐藏宏和环境的名称,但不会垂直折叠任何内容......有任何线索吗?谢谢 -
编辑:不确定这是否有帮助,但我的 TeX-fold-type-list
是 (env macro math)
,这是默认值。
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 environments 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AucTeX 支持 emacs 大纲次要模式,它可以执行您想要的操作(提示:绑定
outline-toggle-children
为某些内容或设置outline-minor-mode-prefix
)。AucTeX supports emacs' outline minor mode, which does what you want (hint: bind
outline-toggle-children
to something or setoutline-minor-mode-prefix
).