# Tag Info

127

Since this question comes up so often, I thought I'd try to supplement ArTourter's correct answer with a more general comment. What does a question mark mean It means that somewhere along the line the combination of LaTeX and BibTeX has failed to find and format the citation data you need for the citation: LaTeX can see you want to cite something, but ...

79

It is worth noting that TeX doesn't make the value judgements here. The user, or more likely, the class file on behalf of the user, has set constraints on the amount by which boxes may overflow, the amount of stretching allowed on short pages etc. TeX only warns if these user-set constraints are exceeded. So if you are setting difficult material with lots ...

67

Add \usepackage{lmodern}% http://ctan.org/pkg/lm to your document preamble. Fonts are typically available only in certain sizes/increments. As an example, the basic article document class loads only the following sizes (from size10.clo): \tiny @ 5pt; \scriptsize @ 7pt; \footnotesize @ 8pt; \small @ 9pt; \normalsize @ 10pt; \large @ 12pt; \Large @ ...

67

TeX puts elements (letters, lines, paragraphs, pictures,...) in boxes and joins them together on pages using glue (put between them) that can stretch, e.g., to make sure that lines are justified, or that pages are filled to their specified height. In the first example, the line is put in a hbox (horizontal box, or box with material arranged horizontally with ...

60

You did not change the float specifier, LaTeX did that for you and informed you. The reason is, that you provided just the optional placement argument h or !h for a float (figure or table), but the float didn't fit on the current page. It had to be put on top of the next page, corresponding to a placement argument t. I recommend to use at least ht as ...

58

PDF has a feature called "Page Groups" (PDF Reference, section 11.4.7). These descibe transparency effects between top-level objects on one page. When pdfTeX (or LuaTeX or XeTeX) includes a page from a PDF, it converts all pages into "Form XObjects" (section 8.10.1). pdfTeX also converts the Page Groups into /Group entries of the XObjects. The problem now ...

50

General tips Use as few packages as possible, Call the packages in particular order, Use many small documents instead of one big one, Comment your code, Write readable code, Concentrate on the content, not on the appearance. General tips somewhat explained That's because packages tend to conflict and go obsolete. (See How to keep up with packages and ...

49

Use the package refcheck. It is Intended to check references in a document, looking for numbered but unlabelled equations, for labels which are not used in the text, for unused bibliography references. Note that it checks for labels that are not used in the text but not for tables and figures that are not labelled. Thus if you got a table or figure ...

48

One way to avoid the problem is to change the (invisible) numbering style of the title page: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[pdfpagelabels]{hyperref} \title{[Title]} \author{N.N.} \begin{document} \pagenumbering{Alph} \begin{titlepage} \maketitle \thispagestyle{empty} \end{titlepage} \pagenumbering{arabic} ...

45

The first answer doesn't really help somebody fix the problem, though. Take a look at: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=overfull and http://en.wikibooks.org/wiki/LaTeX/Formatting#Hyphenation to learn about \tolerance, \pretolerance, and \hyphenpenalty and how they affect the overfull/underfull behavior. Also, if you're fixing the ...

43

One way to go is to use the todonotes package. Here is a short example of a really basic use of this package (see the documentation for more advanced options): \documentclass{article} \usepackage{todonotes} \begin{document} \listoftodos \section{First section} Here I need to make some more research before writting\todo{More research are needed}. So I ...

41

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 apart. This will usually result in text hanging out past the margin, possibly even running off the side of the page. Common causes are long words without proper hyphenation information and long displayed ...

40

As David Carlisle and egreg said, you can use the draft option in most classes. If you wish to do it by hand (for example, you need a final option to check for another package's rendering) or tune it, you can use \overfullrule=1mm in the document preamble.

39

The log message you quoted is a sort of "summary" of earlier, more detailed warnings, telling you exactly which references are undefined/multiply defined. Scroll up through the log file and you should find more detailed messages that look like the one below: LaTeX Warning: Label `foo' multiply defined.

38

The problem is also reported in a german forum mrunix.de. It might be a bug in the tex distribution (pdftex). The problem happens only when you include multiple pdf pages, created in a specific manner (e.g. by MS Office products), in a single page. Solution: Convert pdf files into ps and then back to pdf using Ghostscript, then the warning will go away ...

37

In the abstract it is nearly impossible to give advice on "underfull vbox" messages. They indicate a severe visual problem but often they are acceptable even if the number is high. However, 10000 is a value that should always be visually checked as it means infinitely bad (in TeX's eyes). Here is the general advice that I give in the LaTeX Companion 2ed on ...

36

One of the principles which the LaTeX kernel, and many of the packages outside the kernel, attempt to follow is that documents should look the same (even up to spacing behaviour) when they recompiled on different machines with different package versions, even decades apart. pgfplots is a regularly updated package that frequently adds new features and fixes ...

34

Yes, you should definitely take care of them. Overfull \hbox messages tell you that some line sticks out over the right margin; Underfull \hbox messages tell you that some line is poorly typeset (or that you've improperly used \\ to leave a vertical space (for example, typing two \\ in a row); Underfull \vbox messages usually tell you that a page is poorly ...

32

Use \texorpdfstring; the first argument can contain (La)TeX code and the second one (text only), will be used for the bookmarks: \section[this is a very long title I want to break manually]{\texorpdfstring{this is a very long title I\\ want to break manually}{this is a very long title I want to break manually}} If a ToC is to be produced and the break ...

31

Well, I've found a way to show the undefull boxes in the pdf. Nothing is impossible with luatex! The process is a bit convoluted, but it works (at least in my minimal examples). But let see first the results. This is a little example document I prepared which produces a couple of Underfull vboxes. The example \documentclass{article} \usepackage{fontspec} ...

30

The LaTeX system has 3 levels of messages and TeX itself has another 2. LaTeX Error ... stops the processing because something is seriously broken. Sometimes it is possible to continue but in most cases it is best to correct the error directly and reprocess the document LaTeX Warning ... is only displayed on the terminal and in the transcript file and ...

29

Well the following works fine. So you should try to find out what your document is doing differently. \documentclass{scrbook} \usepackage{hyperref} \begin{document} abc\newpage abc\footnote{blub} \end{document} My guess is that you are not following the rule "load hyperref as the last package" and that something is redefining footnote.

29

Tilde/hardspace You definitely want to write for a single figure Figure~\ref{x} (or Fig.\,\ref{x} or whatever) because you don't want the number to split over a line separate from the Figure text. For multiple strings of figure numbers, such as ‘Figures 1, 4, and 7’, the exact placement of the hardspace is somewhat a matter of taste. I usually write ...

28

Programing fixltx2e is essential etoolbox provides some functionality that one can only get from hacking LaTeX kernel or using the internal macros otherwise. Also it provides some useful document and environment hooks xspace is a tiny but useful macro for defining text oriented macros geometry, typearea, etc, use one and only one of them. The same ...

28

To avoid messing up anything else in a document, siunitx is set up to avoid loading font packages and the like. As such, it uses its 'own' version of the \textminus and \textmu, and sets up a minimal amount of support for that. However, that confuses microtype, as you've seen (it should be harmless). Loading textcomp 'fixes' this as siunitx then uses the ...

28

The newest libpng update (1.6.2 I believe?) has stricter rules about iCCP and will print this warning every time it finds a png that is broken. This warning can be ignored. Fixes would include: Downgrade to a older version of libpng Install imagemagick and convert all .png files with convert -strip (script below) Maybe even just disable this warning? In ...

27

There are commands \GenericInfo, \GenericWarning and \GenericError. For class and package writers there are also \Class… and \Package… equivalents, described in the clsguide. An example: \documentclass{minimal} \GenericWarning{}{A simple warning} \GenericError{(cont.)\space\space} {This is a\MessageBreak multi-line error\MessageBreak message} ...

27

An underfull hbox means LaTeX couldn't space the line wide enough to fill the entire width of the page, without increasing word spacing beyond the allowed maximum; the opposite is an overfull hbox, where a line couldn't be broken and extends past the edge of the printable area. Usually it happens if you forced a linebreak yourself (with \\), so if you avoid ...

27

Loading the strict package prevents using LaTeX's declarations as environments. Loading the fixltx2e package fixes some LaTeX2e errors. fixmath changes LaTeX's default math style to comply with some international standards, specifically regarding Greek letters, see package description. There are many packages improving LaTeX's standard behavior, for example ...

27

Thank you for the answers! I add my own since I found it on the todonotes package author's blog page: http://midtiby.blogspot.com/2008/05/updated-todonotes-package.html?showComment=1215360900000#c7770492295748791763 Your problem with the "Marinpar in page x moved" is probably caused by placing several todonotes on one page. If two todonotes (they are in ...

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