LaTeX 分解了太多的单词 [英] LaTeX breaking up too many words

查看:13
本文介绍了LaTeX 分解了太多的单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用 LaTeX 编写了一个文档,使用两列格式,11pt,times 字体.我的许多单词都带有连字符,并且对于每个描述列表项,我都会收到一个 badbox 警告(尽管在输出中没有可见问题).我该如何解决这个问题?

I've written a document in LaTeX, using two-column format, 11pt, times font. Many of my words appear hyphenated, and for every description list item, I get a badbox warning (no problems visible in the output though). How can I fix this?

推荐答案

你应该在序言的某处设置断字惩罚:

you should set a hyphenation penalty somewhere in your preamble:

hyphenpenalty=750

750 的值适合我在信纸(8.5x11 英寸)上使用 12 磅字体的两列布局的需要.调整值以满足您的需要.数字越大,出现的断字越少.您可能还想看看 hyphenat 包,它提供的不仅仅是断字惩罚.

The value of 750 suited my needs for a two column layout on letter paper (8.5x11 in) with a 12 pt font. Adjust the value to suit your needs. The higher the number, the less hyphenation will occur. You may also want to have a look at the hyphenatpackage, it provides a bit more than just hyphenation penalty.

这篇关于LaTeX 分解了太多的单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆