如何删除 \hyphenpenalty & \预容差对节/小节标题的影响
在我的乳胶文档中,我设置了 \hyphenpenalty=15000
和 \pretolerance=10000
来删除单词连字符并使文本边界均匀。
但我无法禁用节/小节标题的此效果。由于单词之间的空格过大,所有标题看起来都很糟糕。
是否有任何解决方案可以禁用 \hyphenpenalty=15000
和 \pretolerance =10000
标题效果?
谢谢你!
In my latex document i've set \hyphenpenalty=15000
and \pretolerance=10000
to remove word hyphenation and make text bounds even.
But I can't disable this effect for section/subsection headers. All headers looks badly due to big spaces between words.
Are there any solution to disable \hyphenpenalty=15000
and \pretolerance=10000
effect for headers?
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许 titlesec 包可以帮助您。它允许您定义在每个切片命令处调用的命令。即使它被认为主要是为了改变外观,它也可能通过添加一些行来改变标题之前的值并改回标题之后的值来完成这项工作。
Maybe the titlesec package helps you. It let's you define commands to invoke at each sectioning command. Even if it is thought mainly to change the look, it might do the job by adding some lines that change the valuese before the heading and change back the values after the heading.