TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get the following couple of warnings when compiling my tex code. The \hbox warning is due to one of the articles I cite from my bibliography. What is the way to fix it?

 Underfull \hbox (badness 1997) in paragraph at lines 151--153
 []\OT1/cmr/m/n/10 Author X (year) Name of the article. Name of the journal

Underfull \vbox (badness 10000) has occurred while \output is active [15])
share|improve this question

closed as too localized by Joseph Wright Aug 4 '12 at 21:42

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Hard to help given so little information it is always better to post complete (small) documents. The underfull hbox means tex had trouble breaking a line, you have the choice of ignoring it if you think it is good enough, or changing the line breaking options eg making it raggedright or \sloppy, but hard to say. Similarly the second one means that tex could not break the page in a acceptable way, you could do a forced \clearpage (which tells tex it is allowed to leave the page short) or use \raggedbottom (allow all pages to be short) or ignore the warning – David Carlisle Jul 21 '12 at 23:24
@DavidCarlisle Could you clarify what you mean by "Hard to help given so little information it is always better to post complete (small) documents"? Since it is only a warning, I do not understand how posting a small document will help. What other information should I post? I do not wish to reveal the name of the author and title of the publication from my bibliography and hence if I edit the author name and title to post here, the warning might also disappear. – user1876 Jul 21 '12 at 23:34
You can fake a bibliography and other data with words of the same size. But if you just show a warning with no indication of what caused the warning, it rather limits how we can advise altering the document to make the warning go. – David Carlisle Jul 21 '12 at 23:52
I'm sure you have reasons, but I have to wonder why the name/article in the bibliography is secret. Anyway, can you add discretionary hyphens in the words near where the line break occurs? Maybe there are words in the title or journal title that TeX doesn't know how to handle properly. – jon Jul 25 '12 at 15:33