0
votes
0answers
41 views

Undefined Control Sequence : \caption@ifamsclass {%

Using pdfTeX Version 3.1415926-1.40.10 (TeX Live 2009/Debian). Something in the subfig package is causing this error. E.g. compiling \documentclass{article} \usepackage{subfig} \begin{document} ...
3
votes
1answer
67 views

When using the accents package: underaccent greek symbol in caption of a table gives error

I am using the accents package to place a bar under math symbols. This works very well when using it in equations, and also in normal text (obviously still in the math environment $...$). However, ...
3
votes
1answer
77 views

Caption package error redux

I'm using the caption package, but it's not affecting the captions within my tables and figures. I've pasted my sample code below. How can it be fixed? \documentclass{article} ...
5
votes
1answer
901 views

Using 'caption' package with 'thesis' class - undefined control sequence [closed]

I am trying to compile my PhD thesis. It worked a while ago (a few months or so) but something has somehow changes since then because I get an undefined control sequence error relating to the ...
4
votes
2answers
1k views

Subfigure captioning

I have a figure with several subfigures. The figure has a \caption, which is messy in the List of Figures. I'd prefer to put \captions on each of the \subfigures. The code I'm using at the moment: ...
2
votes
1answer
998 views

Writing Pseudocode in LaTeX

I cannot seem to get any of the LaTeX pseudocode packages to work correctly on my computer. For example, if I run this block of code: \documentclass{article} \usepackage{algorithm}% ...
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} ...
20
votes
1answer
2k 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 ...
11
votes
2answers
3k views

How do you put multiple paragraphs in a caption?

I have a really long caption for a figure in a LaTeX document. I would like to break the caption into a few paragraphs. How do I do that? As per the request below, I removed everything I could ...
5
votes
3answers
3k views

An error produced when using the caption package

My .tex file: \documentclass[a4paper,twoside,portrait,12pt,openright,final,pdflatex]{report} \usepackage[bindingoffset=8mm]{geometry} \usepackage[T1]{fontenc} \usepackage{arabtex} \usepackage{utf8} ...
0
votes
2answers
1k views

Problems with undefined control sequence in list of figures

I'm using TeXLive 2011. I had a lot of problems with compiling my large document yesterday and finally seemed to have gotten back to a working version, however now I get strange error messages in the ...
5
votes
2answers
308 views

User defined command produces error in conflict with siunitx and TeXLive2011

I recently installed TeXLive 2011 on my MacBook (running MacOS X 10.6.8) and got the following problem: Example: \documentclass[11pt, a4paper]{scrbook} \usepackage[ngerman]{babel} ...
2
votes
3answers
353 views

\caption works in one file but not another

Hi I'm trying to display an image with a caption; the parent file (CODE1) calls the chapter file (CODE2) and the .sty file (CODE3). Here is the the "chapter" file... call it CODE1 ...
2
votes
1answer
276 views

Why won't this macro work in a \caption?

I created a macro to easily shift into typewriter mode, ala markdown or fancyvrb's "short verbatim" command. It works everywhere but in \captions. In that case, TeX fails saying I've exceeded ...
0
votes
1answer
2k views

Problems with captions in the environment wrapfigure

I'm dealing with a rather weird issue. Using the enviroment \wrapfigure, I receive an error message undefined control sequence \float@caption ... oxrestore ... \normalize @fs@capt ... let alone ...
-1
votes
1answer
537 views

TeX capacity memory exceeded error

\caption[$Set\:3$: Intermediate set]{$Set\:3$: Intermediate set; Classical orifice plate ($s3c$); Plate numbers ($s3f(0-3)$); Classical plate,($s3p$).} Is this a wrong caption? Because it is ...
2
votes
1answer
1k views

sidewaysfigure error when adding a caption

I'm trying to include a uml diagram, which as it's quite large i'd like to rotate. However, if I try and add a caption I get an error and it won't build. I'm adding the figure like this: ...