{warnings} is about dealing with and (hopefully) getting rid of compiler warnings.

learn more… | top users | synonyms (1)

2
votes
1answer
126 views

How to automatically detect overfull \hboxes for inline maths mode

I am trying to create a macro which should have the following behaviour: Write the mathematical expression with the inline mode \( \) if it doesn't give rise to an overfull \hbox warning, Write the ...
37
votes
3answers
1k views

Is there any way to specify a “TO DO” in LaTeX? [duplicate]

I'm writing my degree thesis in LaTeX and I have some chapters and sections which I didn't write yet. Is there any way to put a tag to specify that there is a TO DO there so I remember to fill it ? ...
15
votes
1answer
212 views

Strange behaviour of \sbox

This question consists of two related parts. I already solved the original problem but still don't understand where it came from or why the solution works. I use the subcaption package so I can place ...
1
vote
0answers
216 views

Occasional overfull \vbox warnings [closed]

Depending on the value of \aeheight I may or may not get Overfull \vbox errors. I don't understand why. \documentclass{article} \usepackage[margin=0.5in,landscape]{geometry} \usepackage{multicol} ...
0
votes
0answers
34 views

Badbox in TexnicCenter.. How to solve it? [duplicate]

After compiling my Project in Latex, I got 206 badboxes of all the types you want. However, I can only see the reference of the Badbox, for example: Underfull \hbox (badness 1607) in paragraph at ...
3
votes
1answer
90 views

Suppress natbib warnings

The output of pdflatex is filled with lines like this: Package natbib Warning: Citation `lee2004calder' on page 15 undefined on input line 207. I'm aware that the citation is undefined, and at some ...
1
vote
0answers
32 views

Using Inkscape “pdf+latex” pictures: “pdfTex warning: PDF inclusion: multiple pdfs with page group included in a single page” [duplicate]

When I include multiple pictures produced in Inkscape and saved as pdf+latex in one page I get the warning: pdflatex> pdfTex warning: pdflatex.exe (file D:/..... .pdf): PDF inclusion: multiple ...
5
votes
0answers
116 views

Automating Error Detection of pfdlatex

Background: I have numerous individual files that need to be compiled, so am using a script to do that with the following options: set PDFLATEX_OPTIONS = "\ --file-line-error \ ...
1
vote
1answer
1k views

hyperref warning: Token not allowed in a PDF string (PDFDocEncoding): removing `\OT1\o'

I'm starting to learn LaTeX using MiKTeX, but I'm stuck with a problem, that I hope you guys can help me with. Using the document class memoir and a bunch of different package for graphics and page ...
4
votes
2answers
186 views

No support for \ordinal for language 'UKenglish'

I get this warning: No support for \ordinal for language 'UKenglish' on input line xxx The input line refers to the generated *.toc file: \contentsline ...
1
vote
0answers
99 views

Removing overfull and underfull box warnings [closed]

Always when I want to prepare a document with LaTeX I receive different warnings including underfull and overfull but I don't know how I can handle these warnings. As you can see here I have two ...
5
votes
1answer
2k views

Hyperref warning which doesn't affect the output of the PDF

I have encountered a hyperref warning but there are no visible negative consequences. Additionally, LaTeX complete without a complaint. I only found the warning by looking at the .log file. Package ...
6
votes
1answer
177 views

Why do I get these warnings with 14pt scrartcl

This is what my file looks like: \documentclass[14pt]{scrartcl} \begin{document} \Huge Hi \end{document} This is the output: Font shape `OT1/cmr/m/n' in size <35.83> not available(Font) ...
8
votes
3answers
111 views

Best approach to detect whether hierarchy of sectioning commands is respected?

Is there a package that checks whether each subsection lies in a parent section, each subsubsection lies in a parent subsection, etc. and issues a warning or error otherwise? Not to my knowledge, but ...
2
votes
1answer
536 views

Hyperref causing warning with table of contents, list of figures and list of tables

I receive the following warning and managed to figure out that these were due to some interplay between the hyperref package and the commands \tableofcontents, \listoftables and \listoffigures (the ...
3
votes
1answer
286 views

Duplicate identifier, subfig and hyperref

Why does LaTeX complain about destination with the same identifier (name{subfigure.1.2}) has been already used, duplicate ignored with this: \documentclass{article} \usepackage{tikz} ...
3
votes
2answers
625 views

algorithm2e with boxruled gives overfull hbox

I am using the algorithm2e package with the boxruled option to format my pseudo-code. However, I am getting an overfull hbox, which I suspect is due to margin/box conflicts. Does anyone have a fix ...
3
votes
1answer
607 views

Underfull hbox in tabular

I'm trying to make a table with fixed column widths. Cells in the first column will generally not have enough text to require a line break within the cell. The second column's cells will quite often ...
0
votes
1answer
104 views

latexmk pointing to a line of code with an error that I don't see [closed]

When trying to compile my code, latexmk keeps hitting me with an undefined control sequences. I have checked above, below, and the line it says is causing the issue, but I don't see anything wrong. ...
6
votes
1answer
624 views

listing package and vbox warning

I have this many (see below) underfull warnings that are caused by using the listing package and creating \begin{lstlisting}\end{} to make code appear presentable. Is there a may to fix the warnings? ...
4
votes
1answer
2k views

How can I fix this overfull hbox?

\documentclass[10pt]{article} \usepackage{chemfig} \usepackage[margin=1.2in]{geometry} \newcommand{\chem}{\setatomsep{2em}\chemfig} \begin{document} \begin{itemize} \item[--] 1$^\circ$ Alcohol ...
7
votes
1answer
641 views

Floatingtable, always “Underfull \hbox (badness 10000)”

What LaTeX is trying to do with this: \documentclass{article} \usepackage{floatflt} \begin{document} \begin{floatingtable}[r]{ \begin{tabular}{cc} 0 & 1 \\ 1 & 0 \end{tabular}} ...
6
votes
1answer
366 views

Overfull \hbox caused by em-dash

There is one problem that currently seems insolvable to me. I am typesetting a book in Russian language and I noticed that, in some cases, an overfull box appears which cannot be solved via manual ...
1
vote
1answer
284 views

How to solve hyperref anchor warnings? [duplicate]

I'm writing a report document, at some point I create a new section inside a chapter and I got this message from sharetex LaTeX compiler: main.tex:122 [hyperref] The anchor of a bookmark and its ...
8
votes
1answer
6k views

What is a “Overfull \hbox (9.89561pt too wide)”?

I have this warnings around, some of them seems to be solved naturally but I never really understand what do they mean. What this means? Edit: I would like to keep the question in more general ...
1
vote
0answers
84 views

Some errors with a little document [closed]

I have some errors with my paper in LaTeX, and I don't understand how to fix the problems : The first is : pdfTeX warning (ext4): destination with the sa me identifier (name{page.1}) has been ...
4
votes
1answer
101 views

Hyperref warning when using amsthm and enumerate

hyperref gives the warning that something has been referenced but it doesn't exist. When I use the enumerate (or an itemize) list, I get the warning. Here is the minimal working example (MWE): ...
6
votes
1answer
84 views

Why does scrheadings + tgschola triggers a font shape warning?

This code: \documentclass{scrartcl} \usepackage{tgschola} \usepackage[T1]{fontenc} \usepackage{scrpage2} \pagestyle{scrheadings} \begin{document} a \end{document} gives this warning LaTeX Font ...
20
votes
2answers
738 views

How to decypher font shape warnings?

Often one gets warnings of the form (example) LaTeX Font Warning: Font shape `T1/qcs/m/sl' in size <10.95> not available (Font) Font shape `T1/qcs/m/it' tried instead on input line ...
42
votes
3answers
867 views

Why/When should I pay attention to warnings?

I often see warnings in the compilation-log of my tex-files. I searched in the internet and did not find a good answer to this question. And in my opinion there must be a reason why tex warns me about ...
15
votes
1answer
614 views

Why does the compiler keeps telling me (forever) to rerun because labels have changed?

I have a LaTeX paper (multifile setup, using \input{} statements) that , since a few days ago, keeps telling me at each compile (both with pdflatex or latex): LaTeX Warning: Label(s) may have ...
6
votes
2answers
527 views

Scrbook: Using fallback calculation to setup font sizes

When using the class scrbook and customizing the font size prior the usage of \printbibliography I got these warning (and in big documents I got them several times): Class scrbook Warning: Using ...
3
votes
2answers
540 views

Warning message: “The marginal notes overrun the paper”

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} ...
3
votes
2answers
2k views

LaTeX Error: Something's wrong--perhaps a missing \item [closed]

I am writing my thesis using a LaTeX template. When I tried to import my references, I got the following errors when I texifyed my thesis.tex: This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit) The ...
11
votes
1answer
734 views

stmaryrd and boldsymbol: avoid warnings

Here are two examples: 1 \documentclass[a4paper,10pt]{article} \usepackage{amsmath} \begin{document} $\boldsymbol x$ \end{document} 2 \documentclass[a4paper,10pt]{article} ...
2
votes
1answer
326 views

Glossaries list - no separating lines

I am trying to produce a list of acronyms and definitions in which each entry is at some distance from the previous one. Distance of two lines worked out of the box and I am happy with it, but it is ...
2
votes
1answer
105 views

list: overfull error

I'm getting error: Overfull \hbox (11.66551pt too wide) in paragraph Code: \documentclass{article} \usepackage{verbatim} \usepackage{graphicx} \usepackage{url} % typeset URL's reasonably ...
1
vote
1answer
108 views

Error while using leavevmode before newline

I am using \newline but I get some error message and I was suggested on this forum to use \leavevmode before \newline. It works fine for my code except at few place where I get this error message. ! ...
1
vote
1answer
111 views

Picture not formatting to text width

I'm trying to format a picture so that it fills the text width however it always errors and fills the whole page. \includegraphics[width=\textwidth]{circle} is the line I'm currently using also ...
2
votes
1answer
637 views

How to use \cite with biblatex in figures? (using style=footnote-dw) [duplicate]

After googling for a while, I decided to ask this question on here.. I am desperately trying to make a citation inside a figure (using BibLaTeX and the footnote-dw style [the sources are added as ...
7
votes
1answer
288 views

Package showexpl throws “Label … multiply defined” [closed]

With the following MWE you will get a warning Label lst:HalloWelt multiply defined. In the MWE I have added the calls for packages showlabels and refcheck to show the used labels and to check ...
4
votes
2answers
1k views

Removing an “Overfull \vbox” message caused by a nested table

I am trying to typeset a nested table, like this: \documentclass{article} \usepackage{bigstrut} \usepackage{multirow} \begin{document} \begin{tabular}{|lll|} \hline A & \multirow{2}{*}{ ...
3
votes
1answer
151 views

How reduce badbox sensitivity locally?

In my document I have a Underfull \vbox (badness 2662). I want to ingnore this specific badbox but none of the others. Therefore, I want to make LaTeX locally less sensitive to badboxes. I tried ...
5
votes
3answers
224 views

Multiple labels warning for exam class with parts

I am writing a document in the exam class. For question with multiple parts (a), (b),... you are supposed to use the parts environment. Using it works fine, until I add a solution to the question that ...
3
votes
0answers
247 views

Sudden “Overfull \hbox” warning messages [closed]

(Apologies if this is a duplicate; I didn't see my question among the many overfull \hbox questions already asked.) My TeX file had been typsetting without any problems for a few days, when suddenly ...
2
votes
1answer
649 views

llncs and caption - underfull hbox

I'm using the llncs document class and try to get two figures side-by-side. I found a solution, but I get a hbox underflow if my captions have a bad length. Here is a minimal example: ...
5
votes
2answers
455 views

How to avoid bad boxes in the index?

I'm currently writing a larger document, which will also contain an index. Unfortunetely, the index produces a lot of bad boxes. Plase find a small example at the bottom. My simple (but hopefully not ...
3
votes
1answer
141 views

Loading Aurical fonts without generating a font warning

I've got a document where I load in the aurical package. However, whenever I use the fonts this defines, I get a Font Warning telling me that the font shape has been scaled. For example, ...
5
votes
1answer
1k views

Overfull hbox warning when including graphics

I'm getting the error: Overfull \hbox (14.34999pt too wide) in paragraph at lines 374--375 [][] | when including graphics files. The files are in EPS format. Below is an example: \begin{figure} ...
7
votes
2answers
547 views

Linux Libertine ligatures / T1

The libertine package documentation says It is recommended that the font encoding be set to T1 or LY1 but the default OT1 encoding is also supported. \documentclass{article} % ...