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

learn more… | top users | synonyms (1)

5
votes
1answer
2k views

Package biblatex Warning: 'babel/polyglossia' detected but 'csquotes' missing

I can compile my .tex file without problem but I'm getting a warning that I don't understand. This is my code: \documentclass[letterpaper,12pt]{book} \usepackage[utf8]{inputenc} \usepackage{hyperref} ...
5
votes
2answers
86 views

atbegshi warnings printed as part of output

Consider the following example: \documentclass{article} \usepackage{lipsum,atbegshi} \usepackage[2-]{pagesel}% Ignore first page \begin{document} \lipsum[1-50] \end{document} The output includes a ...
5
votes
1answer
7k views

Overfull/Underfull \hbox warnings when compiling the document

I have bunch of pgfplots (plots and bar charts in my document) and when I compile I get errors like: Overfull \hbox (1.17287pt too wide) in paragraph at lines 2121--2122 [][] [35] Sometimes it ...
5
votes
1answer
2k views

Overfull \hbox warning for TOC entries when using memoir documentclass

I get Overfull warning for TOC entries when using memoir documentclass. They seem to occur when the page number for chapter title entries (highlighted in bold text) exceeds 2-digits or section page ...
5
votes
1answer
395 views

badness messages when changing from report to book class

When I change the documentclass from report to book I suddenly get a lot of messages like this: Underfull \vbox (badness 10000) has occurred while \output is active [] Does anyone have an ...
5
votes
2answers
322 views

mdframed label multiply defined (with listings and paracol)

I use three packages (in a latex "book" document) to display source files (not only tex and sometimes loaded from external files) and their outputs (sometimes loaded from external files) side by side. ...
5
votes
1answer
761 views

Warning when using a command as label argument for a list?

I'm having difficulties with a list where the label is defined as a command. Below is a minimal example: \documentclass[a4paper, 11pt]{article} \usepackage{enumerate} \newcommand{\myLabel}{1)} ...
5
votes
1answer
696 views

Suppressing unwanted command line output when running pdflatex

Using the \batchmode command at the top of the file helps getting rid of some lines, but I'm still left with a few lines, for example: (/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def)) ...
5
votes
1answer
3k 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} ...
5
votes
1answer
340 views

nag complains about \centerline in environment “shaded” from package framed

Running this with Miktex, pdflatex, Windows, TeXnicCenter, everything fully up to date: \documentclass{article} \usepackage[l2tabu]{nag} \usepackage{xcolor} \usepackage{framed} ...
5
votes
1answer
773 views

Problem with hyperref's pagebackref, modroman and thebibliography

Following @yiannis-lazarides comment here, I decided to use the modroman package for my frontmatters. In my actual project I don't have that many references, and thus decided to use the ...
5
votes
1answer
95 views

How to get LaTeX to ignore a specific warning?

I use \over even though it is a bad practice (yes, yes, I know I shouldn't). Whenever I compile a LaTeX file using it, I get the message: Foreign command \over; \frac or \genfrac should be used ...
5
votes
1answer
426 views

How to adjust spacing between caption and table / figure in beamer?

I want to adjust spacing between caption and table/figure in beamer. However I am not able to overcome the warning Package caption Warning: \caption will not be redefined since it's already ...
5
votes
1answer
763 views

Overfull hbox in tabular

In the following (M)WE, the tabular version of the Contact information from a CV gives an overfull hbox warning when compiled with pdfLatex, but the minipage version does not. Why? I have not found a ...
5
votes
1answer
4k views

How to avoid overfull \hbox warning? [closed]

The following code compiles but throws this error/warning : Overfull \hbox (7.65448pt too wide) in paragraph at lines 21--21 Visually there is nothing wrong though, and the box does not cross the ...
5
votes
1answer
35 views

Can I mark an internal function or variable as 'not documented' in l3doc?

There are several internal variables I use that I do not see a need to document in the user-interface section, but I want to explain in the implementation. I'd really like to remove the warnings ...
5
votes
1answer
422 views

tabularx: underfull \hbox (badness 10000) in alignment

I'd like to have table of 15cm with fixed-width cells. I use tabularx package. For some reason, the following code gives underfull \hbox (badness 10000) in alignment . What causes this warning? How ...
5
votes
1answer
416 views

Mysterious overfull \hbox

I want each section title to be underlined, with the section number on the right. Furthermore I want to use parskip. This is what I did to get that: \documentclass[12pt,a4paper]{article} ...
5
votes
1answer
237 views

Avoiding warning message with “each nth point” option in pgfplots

Let assume I have a signal with a very large number points. Once I obtain the associated TikZ file, I may run out of memory for compilation... Ok, so one way to solve this issue is to use the option ...
5
votes
1answer
612 views

Multiply defined label warnings when using Subcaption in a Tikz picture

In an earlier question, I asked how to create zoomed highlights of a larger image automatically. User Jake provided an excellent solution using TikZ. However, when subcaptions and hyperref are added ...
5
votes
2answers
9k 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 ...
5
votes
1answer
165 views

How to reset the question number for different sections in exam class without getting multiply defined labels

This is the minimal working example: \documentclass[a4paper,11pt]{exam} \begin{document} \section{ONE} \begin{questions} \question First question \question Second questoion \end{questions} ...
5
votes
0answers
63 views

Different citation colour for page number [duplicate]

I try to cite a specific page in LaTeX using the following command: \cite[p.~42]{Friedberg1995}. I use colorlinks and I have set a blue colour for my citations. After the compilation takes place I ...
4
votes
2answers
555 views

How can i change the fontsize with KOMA-script?

I need to change the fontsize to 11pt inside a table environment. The default setting of the document is 12pt using scrartcl, but I need to change this to exact 11pt in the float (the reason is that ...
4
votes
1answer
3k 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 ...
4
votes
2answers
3k 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}{*}{ ...
4
votes
2answers
861 views

Warnings and errors highlighting when compiling in Bash environment

I'm processing a large document, using Latexmk in a Bash environment. It would be very helpful if error and warning messages were somehow highlighted or coloured, in order to facilitate spotting them. ...
4
votes
1answer
713 views

Font shape undefined despite using either or both of fix-cm and lmodern

My document begins: \RequirePackage{fix-cm} \RequirePackage[l2tabu, orthodox]{nag} \documentclass[oneside]{memoir} % TODO 12pt Nevertheless, I get errors: LaTeX Font Info: Font shape ...
4
votes
2answers
245 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 ...
4
votes
2answers
1k views

Warning message: “The marginal notes overrun the paper”

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} ...
4
votes
1answer
479 views

PDFLatex Halt on Warning/Typesetting Error

I'm using vim to write my latex and have a makefile that simply runs PDFLatex on the main TeX file. The output from this is often incredibly dense and difficult to parse with the human eye. What's ...
4
votes
1answer
1k views

pgfplots in combination with gnuplot requires additional semicolon

I have the following example which produces a klein bottle. Whatever I compile with the option --shell-escape and I get the following warning: "<file>.pgf-plot.gnuplot", line 2: ';' expected ...
4
votes
1answer
1k views

Overfull vbox with scrbook and setspacing

The following MWE gives me a lot of badbox warnings Overfull \vbox (1.39674pt too high) has occurred while \output is active [] with always the same value of 1.39674pt. It seems to be related to the ...
4
votes
1answer
1k views

xfrac + siunitx gives me a font warning

I'm using mathpazo and the AMS math packages, and I just started using xfrac for the \sfrac command. However, now when I use \sfrac (or when I set siunitx to use it), I get this output: LaTeX Font ...
4
votes
2answers
57 views

Warnings ignored if written in a custom auxiliary file (but not if written in .aux file)

For the class I'm working on, I'd like to display some warnings very early in the .log files. Writing the corresponding \ClassWarning or \ClassWarningNoLine commands in: the .aux file is okay but ...
4
votes
1answer
2k views

Warning when loading a LaTeX package

I'm new to LaTeX, and I can't work out why I'm getting a warning when adding a package I downloaded (from the MATLAB website called mcode.sty). Here is my code, \usepackage{myFolder/mcode}. I put ...
4
votes
2answers
143 views

nag [l2tabu] and \phantomsubcaption

The nag package used with the l2tabu option complains when \label is used in a float without following a \caption. Unfortunately, it does not understand that a \phantomsubcaption, from the subcaption ...
4
votes
1answer
122 views

Multiply defined labels with \usebox

I want to duplicate some content without re-defining its labels. For example, \newbox{\foobox} \sbox{\foobox}{\vbox{\section{Foo}\label{sec:foo}} \usebox{\foobox} \usebox{\foobox} will emit a ...
4
votes
1answer
535 views

Underfull \hbox when creating table containing much text

I am completely new to LaTeX and how to create tables in this environment. Currently, I am trying to create a table that contains much text in each cell using tabularx. The output does not look too ...
4
votes
1answer
921 views

minitoc package: overfull \hbox

Does anyone of you know how to format a ToC created with the minitoc package in LaTeX? My problem is that I always get the following warning: ./hauptdokument.mtc.1:21:Overfull \hbox (2.83262 pt too ...
4
votes
1answer
1k views

Using 'xfrac' with 'mathrsfs'

I'm attempting to move from the nicefrac package to xfrac. The following source compiles, but with a warning: \RequirePackage{fix-cm} \documentclass{article} \usepackage{xfrac} \usepackage{mathrsfs} ...
4
votes
2answers
2k views

Abstract page problems

I am using a report document classe. I have an abstract and an acknowledgement sections before the toc. This is my definition for Acknowledgements. I took it from someplace in the web, so there might ...
4
votes
1answer
32 views

Package `Versions' Warning: Redefining environment

I am using the versions.sty package and would like to process some text twice (or more times) in a different version configuration, but within the same document. So I use \excludeversion and ...
4
votes
1answer
54 views

Compile warning regarding fonts

A MWE of my code is this: \documentclass[12pt]{article} \usepackage[top=0.7in, bottom=1.2in, left=0.8in, right=0.8in]{geometry} \setlength{\parindent}{0cm} \usepackage{xltxtra} \usepackage{xgreek} ...
4
votes
1answer
3k views

Package biblatex Warning: Data encoding is 'utf8'. Use backend=biber

After a few days break I went back to working on a report. When I tried to compile I got the following warning: Package biblatex Warning: Data encoding is 'utf8'. (biblatex) Use ...
4
votes
1answer
102 views

Re-newing a column type

Package array has a \newcolumntype but seemingly no \renewcolumntype. But it makes a lot of sense to have a column type X whose meaning could be changed depending on context. When one does ...
4
votes
1answer
218 views

how to enter a dot with whitespace preceding it?

I'm getting Whitespace before punctuation mark in " ." when I'm trying to enter the word .Net with whitespace before it. How can I fix that? What's the proper way of entering a . with whitespace ...
4
votes
1answer
113 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): ...
4
votes
1answer
10k views

LaTeX Warning About Height, \hbox, and \vbox, and ht

I am compiling a LaTeX document on Ubuntu and I am getting those warnings, errors, or whatever. Any idea about them? Package hyperref Warning: Height of page (\paperheight) is invalid (0.0pt), ...
4
votes
1answer
714 views

You have requested package `include/foo' but the package provides `foo'

I have the following files: my_folder/ include/ mypackage.sty main.tex The package's name is 'mypackage'. Now, in main.tex I do \usepackage{include/mypackage} using the file path ...