62 votes
Accepted

What does "overfull hbox" mean? (Why is there a black mark at the end of a line?)

Quoting Phil Miller answer, for completeness: This message means that a line of your document is too long to fit within the horizontal space on the page, and TeX couldn't find a good way to break it ...
user's user avatar
  • 4,675
48 votes
Accepted

filecontents: This package is obsolete

The filecontents package was an extension to the filecontents environment already present in the LaTeX kernel for many years. LaTeX's version of the environment didn't allow it to be used outside of ...
Phelype Oleinik's user avatar
47 votes

pdfTeX warning (ext4): destination with the same identifier (nam e{page.1}) has been already used, duplicate ignored

As requested by the comments: Another way to solve it is to disable the pageanchors for the titlepage: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[pdfpagelabels]{hyperref} \title{...
Ulrike Fischer's user avatar
44 votes

How to remove the warnings "Font shape `OT1/cmss/m/n' in size <4> not available" and "Size substitutions with differences" in beamer?

Add \usepackage{anyfontsize} to your preamble.
Dotone's user avatar
  • 441
35 votes

What are underfull hboxes and vboxes and how can I get rid of them?

Often, TeX outputs underfull hbox and vbox warnings when running and in the generated log file. What are these and how can I get rid of them? That's just TeX alerting you that it was unable to ...
Quuxplusone's user avatar
33 votes

How to put a line-break in section heading?

I recently ran into a similar issue where my section title was being split across two lines, but only one or two words were ending up on the second line. I wanted to manually insert a line break so ...
DaoWen's user avatar
  • 441
32 votes
Accepted

Warning: a possible image without description

From the warning you quoted, I assume that you use the acmart document clss. To quote from the manual of version 1.56: 2.6 Descriptions of images Blockquote Some readers of ACM ...
leandriis's user avatar
  • 62.4k
29 votes

'Generic hook <name> is deprecated' warning after update

Warnings of the form: LaTeX hooks Warning: Generic hook 'file/after/<name>' is deprecated. (hooks) Use hook 'file/<name>/after' instead. are due to a recent change in the ...
Phelype Oleinik's user avatar
25 votes
Accepted

You have requested document class X but the document class provides Y warning

This stems from the fact that you have PhDThesisPSnPDF.cls inside a Classes subfolder. So, the way you normally include it is to use \documentclass[..]{Classes/PhDThesisPSnPDF} right? Well, there ...
Werner's user avatar
  • 598k
21 votes

Multiple PDFs with page group included in a single page warning

Martin Schröder has done a wonderful job of explaining the underlying cause, so I won’t repeat that here. Other than telling pdfLaTeX to shut up, the solution would be to remove/strip the page groups ...
Rufflewind's user avatar
20 votes
Accepted

Warning: "Using fall-back BibTeX(8) backend:(biblatex) functionality may be reduced/unavailable."

The warning is issued when using the BibTeX (or BibTeX8) back-ends as these are more restricted in their functionality than Biber is. As such, some biblatex features simply won't work unless Biber is ...
Joseph Wright's user avatar
  • 257k
17 votes
Accepted

Why DON'T I get an "Overfull \hbox" warning here?

The overlay option means that the tikzpicture, or its bounding box at least, will have zero size, so as far as TeX is concerned, it doesn't stick out in the margin. However, the picture drawing ...
Torbjørn T.'s user avatar
17 votes
Accepted

Warning when adding package minted?

The fvextra package is loaded by minted, so you should load minted before csquotes. Another thing you should do is loading hyperref last: very few packages should come later than this one and you are ...
egreg's user avatar
  • 1.1m
16 votes

“warning: Text page X contains only floats.” How to suppress this warning?

The problem is explained here http://aty.sdsu.edu/bibliog/latex/floats.html. You may find that simply adding \clearpage before you begin with your figures will get rid of the warning.
Tina's user avatar
  • 748
16 votes
Accepted

Bad bibtex entries using InBook

The inbook entry type is designed for referring to a chapter of a book with a single author or set of authors. This is why you receive the warning in your first example: you can't have both an author ...
Alan Munn's user avatar
  • 215k
16 votes
Accepted

Biblatex authoryear style & giveninits options - conflicting options warning

The full warning message I get in the .log is Package biblatex Warning: Conflicting options. (biblatex) '<namepart>inits' conflicts with 'uniquename=full'. (biblatex) ...
moewe's user avatar
  • 173k
15 votes
Accepted

Warning: layout scale set to 0.5 on input line

Remove the layouts package from your preamble. It's typically used during document design processes, and not as part of your actual document setting. If you want to see the text block frame, you can ...
Werner's user avatar
  • 598k
14 votes

tcolorbox package returns "missing \pdf@unescapehex" warning

Using listingsutf8 with XeLaTeX is usually not a good idea. The most option loads the tcolorbox libraries loaded by many together with listingsutf8 external magazine vignette poster and you ...
egreg's user avatar
  • 1.1m
12 votes
Accepted

How do I generate a warning for an undefined control sequence

You can use \ifcsname...\endcsname, which tests both for an undefined or a \relax control sequence: \documentclass{article} \makeatletter \newcommand\aeset[3]{\expandafter\newcommand\csname ae@#1@#2\...
Werner's user avatar
  • 598k
12 votes

Warning "Command \underbar has changed"

You have really nothing to worry about, provided you don't use sectsty for underlining section titles. The package does a check on \underbar and on \underline, because it wants to redefine them but ...
egreg's user avatar
  • 1.1m
12 votes
Accepted

What, no warning when minipage overflows page?

This is "by design" the vertical size options of minipage and parbox are analogues (and share the code of) the horizontal size option of \makebox. \makebox[0pt][l]{...} hides the size of the ...
David Carlisle's user avatar
12 votes

How to ignore "Wrong length of dash may have been used." inside \cite and \newcite

for those that are looking for it just mark the line as checked Example: \draw[-Latex] (A) -- (B)% chktex 8 More info: How can I tell chktex that I have checked the next line?
Fernando Ferreira's user avatar
12 votes
Accepted

Undefined references warning for \AtEndDocument{\printbibliography}

biblatex does a lot of cleaning up (also with respect to .aux files and warnings) in the \AtEndDocument hook. You don't get the warning if you issue \AtEndDocument{\printbibliography} before loading ...
moewe's user avatar
  • 173k
12 votes
Accepted

Invalid ISBN in value of field 'isbn' (-1)

Biber does not only check the datamodel integrity, it also explicitly checks ISBNs for validity when in --validate_datamodel mode. As it turns out 978-92-807-3580-6 (9789280735806) as indicated on the ...
11 votes

Warning with footnotes: "name{Hfootnote.xx} has been referenced but does not exist"

I ran into a similar problem. Same warning, and same result (footnote links point always point to first page). Turns out, there’s some weird interaction between setspace and hyperref. The solution ...
Rufflewind's user avatar
11 votes
Accepted

warning (pdf backend): pop empty color page stack 0

Well what it means is that's you've corrupted the colour stack. Unlike font changes colour is not an intrinsic attribute of a tex box, so colour changes are managed by nodes marking the change of ...
David Carlisle's user avatar
11 votes

Package caption Warning: Unsupported document class

In many cases, there are no problems in spite of the warning. Since subfig.sty is older then captions.sty, using caption.sty is not bad choice. If you want to understand why you get the warning, "5 ...
rkoyama1623's user avatar
11 votes
Accepted

Beamer Metropolis theme overfull vbox error on title page

The theme is not very careful regarding spurious spaces. If one removes the one from the titlepage definition the warning disappears (but there are more ...): \documentclass[aspectratio=169]{beamer} ...
Ulrike Fischer's user avatar
11 votes
Accepted

"pop empty color page stack 0" with ieeecolor document class

It's a bug in ieeecolor.cls. It misuses \color with \hbox and the scope of the colour \special “leaks”. The problem narrows down to this (see how world is red too): \documentclass{article} \...
Phelype Oleinik's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible