{errors} is for questions regarding or including compilation or similar errors.

learn more… | top users | synonyms (1)

11
votes
1answer
1k views

What does “you have forgotten to use \caption” mean?

I'm stumped by an error I'm getting, when I try to render a Tufte-LaTeX document using hypcap and hyperref. For example, even a minimal document consisting of \documentclass[nohyper]{tufte-handout} ...
1
vote
0answers
405 views

Unexpected Error in IEEEtrans.cls [closed]

I am new to LaTeX. I have been working on a .tex file and very unexpectedly, encountered the following error: Error message - **There is a '}' missing: unexpected end of line.** in the following ...
15
votes
5answers
3k views

Double superscript error involving tilde

When I write {{\tilde{C}}^{0}_{har}}^{\Gamma} (or the same with fewer curly brackets) in Tex I obtain a double superscript error and I can't solve it. Does someone know how to fix this?
6
votes
1answer
751 views

Apparent conflict between hyperref and tex4ht packages

I am trying to use both the hyperref and tex4ht packages to format a textbook into a web textbook. Everything works except if I comment out chapter one, but if I include chapter one in the document, ...
2
votes
1answer
754 views

Issues with Greek letters, bolding, and font packages

I am trying to write an exam for multivariable calculus, with \usepackage{bookman,eulervm} and I am running into some very, very stange errors: When I try to use \mathbf{} on a Greek letter (e.g. \...
13
votes
3answers
473 views

fancyvrb ShortVerb and tikz incompatibity

I've been working on a document that has a lot of little verbatim bits so I'm using fancyvrb \DeflneShortVerb{\|}. Now I want to add a tikz picture, and the whole thing fails. It there a simple way ...
11
votes
3answers
965 views

Why does fitting fail in TikZ in the second image?

I have a document with two tikz pictures, both use the fit library. As long as I only have one picture everything works fine: \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage{...
14
votes
1answer
1k views

How does “missing \begin{document}” work?

I would like to know how does LaTeX invoke the error Missing \begin{document}. I would like to reproduce it in the sense of the following MWE (it will become a part of my own document class): \...
4
votes
1answer
1k views

Error occurs when I rerun a tex file without closing the pdf file

When we make a file, we write a tex file, run it, check the pdf file, fix the tex file, rerun it, and check the pdf file again. Whenever I rerun the file without closing previous version of pdf file, ...
5
votes
1answer
984 views

Packages hyperref together with subfig break when \renewcommand{\thefigure}{…} is used

The following code compiles and acts as you would expect: \documentclass[12pt]{report} %\usepackage{hyperref} \usepackage{subfig} \begin{document} \begin{figure} \centering \renewcommand{\...
5
votes
1answer
930 views

error in table output

I am using stata, a statistical software. It has a program called -tabout-, that generates output (basically tables containing descriptive statistics incl means of variables etc) code for TeX. ...
1
vote
1answer
579 views

latex: Undefined control sequnce [duplicate]

Possible Duplicate: Command for argmin or argmax? For the following piece of LaTeX code, {\hat \theta} = { \argmin_{\theta \in \Theta}} I got following error: undefined control ...
2
votes
0answers
492 views

Nested \xygraph in \xymatrix [closed]

I am nesting an \xygraph in an \xymatrix like so: %\documentclass{article} \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{MnSymbol} \usepackage{chemarr} \...
3
votes
1answer
154 views

Errors when trying to draw a commutative diagram using an xymatrix

Why is the following code not compiling? \[ \xymatrix{ A \ar[rd]^{g \circ f} \ar[r]^f & B \ar[d]^g\\ C} \] I'm trying to get a commutative diagram with 3 objects (A, B and C) ...
7
votes
2answers
14k views

LaTeX font error: I can't find file `pzdr'

I was to use the package pifont to use \ding{52} in my document. However, when I use \usepackage{pifont}, I get the below error: /usr/local/texlive/2008basic/texmf-dist/tex/latex/psnfss/pifont.sty (/...
10
votes
2answers
522 views

Why are just-created TikZ shapes “unknown”?

I'm using TikZ's \foreach iterator to create a series of nodes and then draw edges between them. First I iterate to create the nodes; then I iterate through the nodes to link them to each other. ...
8
votes
2answers
828 views

Loading package twice with \RequirePackage causes “option clash”

I thought that loading a package twice with the same options cannot lead to option clash, still I get a clash in the following simple example: \documentclass{article} \RequirePackage[patch]{kvoptions}...
5
votes
1answer
14k views

Package listings: Error “Undefined control sequence.” because of single-quote-symbol?

I'm using the package listings and came across a problem displaying an SQL statement within an java environment. This is the MWE. \documentclass[]{report} \usepackage{listings} \definecolor{...
0
votes
1answer
387 views

error when generating index

The .ilg file is fulll of errors, and no \index command is accepted. This is makeindex, version 2.15 [TeX Live 2011] (kpathsea + Thai support). Scanning input file thesis.idx... !! Input index error (...
7
votes
4answers
1k views

Illegal parameter number with \docsvlist

I'm trying to define a macro that take as an input a CSV list and create an item list. etoolbox comes just handy for this and the macro I'm using is \begin{itemize} \renewcommand*{\do}[1]{\item[] #...
4
votes
1answer
1k views

Can't get \fancyheadoffset to work

I have loaded the fancyhdr package and I want to make the headers and footers wider (clamp them to the margin), so I inserted the following line after the package has loaded: \fancyheadoffset[LE,RO]{\...
5
votes
1answer
32k views

LaTeX Error: File subfigure.sty not found

I'm getting this error when compiling: ! LaTeX Error: File `subfigure.sty' not found. Here is part of the relevant code: \documentclass[11pt]{article} \usepackage{graphicx} \usepackage{subfigure}...
11
votes
2answers
27k views

Misplaced alignment tab character when building a matrix

I'm still new to latex. I've been having a problem with building a matrix and I have no idea what I'm doing (or what I'm doing wrong), so be gentle please :) \begin{matrix} 5 & 6 & 7 \\ 4 &...
4
votes
1answer
1k views

Strange PDF issue for Adobe Acrobat on Linux reading a document produced in latex

This is probably a well known bug or error, but I don't really know how to search for it. I have a PDF, which I have created on my computer running os X (10.6) in texshop. There are various figures ...
7
votes
2answers
170 views

error in mathematical expression

I type in the code shown below for a displayed formula. However the output is not what it should be. Can you tell me what is the mistake over here? $$ \frac{(1-a)\frac{$q_{f}$}{{$q_{n}$}^a}}{$p_{n}$} ...
2
votes
0answers
330 views

Undefined \pgfsetpath: is tikz or Miktex update responsible [closed]

I run the following simple example using MikTeX 2.9 (complete installation) that is regularly updated (this is one of the first examples in TikZ manual): \documentclass{article} \usepackage{tikz} \...
30
votes
1answer
3k views

Using TikZ inside a figure caption

I have a PNG plot with a couple of black patches in it, and I'd like to refer to it in the \caption of of the figure. According to the TikZ manual, I'd have to \tikz \fill[black] (1ex,1ex) circle (...
5
votes
2answers
556 views

expand macro in single byte encoded code

In this minimal (not) working example, I try to use single-byte latin10-encoded source file, and expand a command-macro containing a character with \catcode254: % -*- mode: latex; unibyte: t; ...
4
votes
1answer
260 views

Excessive Input causes problems in XeLaTeX

I am using polyglossia and xelatex for my Arabic document. I have about 600 pages wrapped in 001.tex 002.tex ... and a unique TTF font assigned for each page. When I use all these external tex files ...
2
votes
1answer
1k views

Beamer error with columns

I want to put a picture in one column, some text in the other, and beneath all that some more text in a beamer style presentation. My frame looks like this: \begin{frame} \frametitle{Svemir dominiran ...
5
votes
1answer
3k views

Why does this error keep popping up even though I clearly fixed it?

This is the code I have: \begin{align} \vec{l} \cdot \vec{n} & = \left \langle 1,2,3 \right \rangle$ \cdot \left \langle 3,-3,1 \right \rangle \\ ...
3
votes
1answer
663 views

kpfonts, MnSymbol, eufrak and too many math alphabets

I'm having problems with kpfonts' \mathfrak and MnSymbol. This example produces the "too many math alphabets" error: \documentclass{amsart} \newcommand{\PrintMathFonts}{% \typeout{*** Math fonts ...
9
votes
3answers
2k views

Problems using `\left\{` in array environment

I am trying to define a matrix in segments by enclosing the entries of the matrix in boxes, and also using the open and closed braces to label those segments. So far I have developed the following ...
11
votes
1answer
576 views

A problem with thmtools

I updated my TeXLive yesterday and thmtools is being problematic... Running pdflatex on the following minimal example \documentclass{article} \usepackage{thmtools} \begin{document} Hello \end{...
22
votes
2answers
7k views

Error: Counter too large! with \alph{cntr} and cntr>26

I would like to have \alph{counter} for values larger than 26. The following MnWE gives me the error ! LaTeX Error: Counter too large. \documentclass{article} \begin{document} \begin{enumerate} \def\...
5
votes
1answer
400 views

Why doesn't latexmk handle errors in the preamble?

Today I discovered that if I have an error in the preamble of my tex file then Latexmk produce an error only once. Precisely, for example if my file looks like this \documentclass{article} \...
5
votes
2answers
1k views

can't get lato fonts to work in texlive 2011

This is my first post - so I hope you can help me; and I haven't missed anything obvious. I am interested in using Lato fonts an am using texlive 2011 on Windows 7. My minimal example is: \...
3
votes
2answers
568 views

How to use the “mover” command in Skak

I teach after school chess, and installed LaTeX on my computer just to make chess worksheets. I'm using skak. My documents start: \documentclass[12pt]{article} \usepackage{chess-workshop-symbols} \...
0
votes
1answer
515 views

Getting “\andnext undefined” errors compiling latex code

When I try to use pdflatex to compile the following latex code, it throws errors: [steevmi1@phusca-L24500][21:01] [~/] % cat ./bar.tex % Created 2012-05-02 Wed 20:57 \documentclass[11pt]{article} \...
1
vote
0answers
84 views

\@ title and You can't use `\spacefactor' in vertical mode [duplicate]

Possible Duplicate: What do \makeatletter and \makeatother do? I'm trying to use a template with the following content: \documentclass[a4paper,twoside,10.5pt]{report} \usepackage{a4wide} \...
2
votes
0answers
48 views

Trying to typset Persian(Farsi) with MikTeX - expl3.sty not found [duplicate]

Possible Duplicate: Latest MiKTeX-Update broke XeLaTeX with fontspec I am a new user of LaTeX. I have installed MikTeX 2.9 and my editor is: TeXnic. Actually, I installed the xepersian package ...
12
votes
1answer
721 views

Lost labels using intertext with varioref and hyperref

I have a problem using \intertext together with \vref when hyperref is also used. Consider the following minimal example: \documentclass{article} \usepackage{amsmath, varioref} \usepackage{...
16
votes
3answers
5k views

How to quickly troubleshoot errors caused by missing closing brackets?

Perhaps the most common mistake I make is to forget to place a closing bracket, i.e. }, or closing command, e.g. \end{description}. When compiling, such mistakes usually do not say, "\begin{...
1
vote
1answer
200 views

Bibliography is shown on partially

In the References list at the end of my latex document, only the first 14 references are shown, while the others are not (I use a bib file with around 50 references). The error is: ! TeX capacity ...
25
votes
2answers
2k views

Which are your “favourite” confusing error messages?

This question: \addvspace can't replace \vspace shows a situation in which an error message can be confusing. If \addvspace is used when not in vmode the error message obtained is ! LaTeX Error: ...
2
votes
0answers
4k views

help with textgreek package [closed]

I can't seem to get textgreek to work on my system and I am out of ideas where to try next to fix it. I'm using LyX to write my thesis, so the TeX output is autogenerated. That said, I am perfectly ...
1
vote
1answer
13k views

Runaway argument

The following code: \begin{align*} \lim_{u\rightarrow\infty}\frac{\psi(u)}{\overline{F_I}(u)}&=\left(\frac{\rho}{1+\rho}\right)\sum_{n=0}^{\infty}n(1+\rho)^{-n}\\ &=\left(\frac{\rho}{1+\rho}\...
3
votes
0answers
2k views

LaTeX Error: “cmap.sty” not found [closed]

Could anybody help me with my situation. When I try to see my Lyx document in pdf Lyx write this Error note "LaTeX Error: "cmap.sty" not found" and in description "*** (cannot \read from ...
14
votes
2answers
811 views

Error with \foreach in TikZ

In the MWE below \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \foreach \i in {0, 1, 2, 3} \draw (\i, 0) rectangle +(0.5, 0.5); % \draw (\i, 1) rectangle +(...
10
votes
2answers
2k views

lualatex error with Brazilian Portuguese babel option

It seems that lualatex does not known the Brazilian dialect of the Portuguese language with the babel package. When compiling the simple document: \documentclass{article} \usepackage[brazil]{babel} ...