{captions} is about captions for figures, tables and other, custom-defined floats or non-floating illustrations which are formatted to look identical to these floats. A popular package is caption.

learn more… | top users | synonyms

2
votes
2answers
129 views

frenchb/babel has no effect [on hold]

As the title indicates, loading the frenchb/babel with \usepackage[frenchb]{babel} does not properly format my document for french typography and special characters ('é' is replaced with 'é', etc...) ...
0
votes
0answers
17 views

How to resize caption with a plot when the caption comes first?

I am writing my thesis. I have to put my captions above my figures. I have to use figures because the template we use automatically creates a table of contents for us. I use pgfplots to graph my data. ...
19
votes
5answers
12k views

Rotate picture with caption

How can I rotate both a picture and its title in TeX? Parameter in \includegraphics allows to rotate only a picture.
1
vote
1answer
37 views

Show table caption only on first page

I have a \longtable that splits over two pages and currently shows the label and caption at the top of each page. Can I change this so that the caption and label to only appear on the first page and ...
4
votes
2answers
37 views

Put a caption under a drawn picture

I have the following code that produce a 3x3 grid with an arrow in it. Some of the grid cells have a # in them. \begin{picture}(185,90) \put(0,0){\framebox(30,30)} \put(30,0){\framebox(30,30)} ...
0
votes
1answer
52 views

Caption above figure

How can I set the caption to be above the figure ? It has something to do with package floatrow. If I comment the line which is loading it, all is OK. I dont accept solutions as "disable floatrow ...
5
votes
4answers
95 views

Put caption on top of figure and source at the bottom with two footnotes

What I'm trying to do is this: Figure 1: Caption of the figure. _____________________________________ Figure _____________________________________ Source: Images from Jhon¹ and Joseph² (Bottom of ...
1
vote
0answers
23 views

longtabu bottom caption too close

I want to add the longtabu caption bottom of the table. I know this is not good. But I was told to do so. When I do it as in the code sample, the caption comes too close to the table. But after the ...
9
votes
1answer
5k views

How to write multiple line caption with figure

How to split a long figure caption to multiple line? Using '\' doesn't work. \begin{figure}[H] \includegraphics[width=1\textwidth]{x.jpg} \caption{line 1..... line 2...... line 3 ....} ...
5
votes
1answer
220 views

How do I make en/em dashes work in Myriad when using it with MinionPro

I'm using MinionPro for the body of a document and Myriad for figure/table captions. Because I can't load packages MinionPro and Myriad at the same time, I load the Myriad fonts for the sans-serif ...
1
vote
1answer
45 views

how to add citation to figure like Figure:.2.4[1]

how to add citation to figure like Figure:.2.4[1] Because I am adding \cite{b1} in caption it will print index.So where to add citation so it will add on figure.
6
votes
1answer
42 views

Centering subfloat caption with subfig package

A footnote on page 12 of the subfig documentation says in part: Note that the ‘width’ may be larger than the width of the sub-float body, or equivalently, the ‘width’ may be negative to provide ...
4
votes
1answer
33 views

how to suppress the fig numbering in caption with tufte package?

How can I suppress caption number with tufte package ? I've tried with caption package, but don't work with tufte ... Thanks
5
votes
2answers
702 views

Table caption not appearing in PNAS document class

I am unable to get table captions to show up when using the PNAStwo document class from 2008 (the latest version includes printer marks that I do not want). The documentation says "Figure and table ...
20
votes
2answers
18k views

What is the correct way to caption a `tikzpicture`?

I have some trees drawn with tikz and I'd like to have some text associated with them. I can use \caption within figure, but not tikzpicture. UPDATE: Thanks for your advice. figure seems to put my ...
1
vote
1answer
37 views

Refer to a table as figure

I have a table where I have put pictures (plots) in each cell. The whole point of making this table is for comparison of the plots. However it does not look good to refer to this set as a table, ...
20
votes
2answers
9k views

Beamer Presentation: Figure has no number?

I am giving a presentation and therefore I am using the beamer class. I have included some figures and it works, but there is no number after "Figure". My code: \documentclass{beamer} ...
2
votes
1answer
41 views

Break URL in figure caption [duplicate]

I'm trying to break a url that is part of the figure's caption. I used \burl but didn't work. What can I do? This is my main code: \documentclass[11 pt, letterpaper, oneside, openright]{book} ...
1
vote
2answers
20 views

Add caption to image included with includegraphics within center environment [duplicate]

I have copy+pasted a portion of my latex source here. I'd like to add a caption at the bottom of each of the images load_8.png, load_9.png, load_1.png and load_1.1.png, but can't find an easy way to ...
2
votes
1answer
18 views

Specify Figure name color and slant

Every time I have to denote a figure name in the text I have to type: {\textcolor{ocre}{\bf{\emph{Fig.\;\ref{figurename}(b)}}}} Is there an optimized way to specify this in the preamble so I do ...
3
votes
2answers
28 views

Subfigs captions beside images

I have this LaTeX code: \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure} \centering ...
0
votes
1answer
42 views

Ignore numbering of some tables

I have a document with two tables. I want my second table to be Table 1 both in List of Tables and caption. \documentclass{article} \usepackage{tabu} \usepackage{longtable} \begin{document} ...
0
votes
0answers
24 views

Conflict between biblatex's refsection and lot/lof with citation in float caption

I'm writing a standard complex document (ie, thesis), in which chapters are separated into different files which are included. I am using biblatex, and I would like to have a separate bibliography per ...
8
votes
3answers
1k views

One caption in listoffigures for a ContinuedFloat

I am using the \ContinuedFloat command of the subfig package to print a series of figures in more than one page. I would like to have one caption in the List of Figures and "compress" the pages so ...
3
votes
1answer
199 views

\protect with \cite inside \caption

I've read several posts and other webpages now on using \protect in front of \cite inside \caption. They all advise using \protect in this situation, and many go as far as to say that you must use it. ...
2
votes
1answer
40 views

IEEEtran Tabular Won't Fit Into 0.7in Margin

Using IEEEtran, I am trying to combine two tabulars in a single double-width table* environment. (This is the only way I could figure out to correctly order the tables in the paper, otherwise LaTeX ...
0
votes
0answers
54 views

Same caption space

I want to have the same vertical spacing between figures/listings and their captions. Currently, the space between figure and caption is shorter than that between listing and caption. What should I ...
2
votes
1answer
32 views

how to reduce line spacing in memoir caption

For caption in memoir document class i use the following settings: \captiondelim{\null\newline} \captionnamefont{\small\sffamily\bfseries} \captiontitlefont{\small\sffamily} ...
1
vote
1answer
42 views

Longtable and figure caption problems

I am trying to define captions in longtable enviroment. According to Adding a caption to a graphic inside a longtable I should define: \makeatletter \def\figcaption{% \refstepcounter{figure}% ...
2
votes
1answer
29 views

How can I effect a line break in a listing's caption defined with \lstname?

I'm using the package listings and defined the caption as \lstname, so it shows the relative path and the filename when I use the input command of the listings package. However, sometimes, the ...
2
votes
1answer
64 views

Measuring/getting size of caption before it is typeset?

To solve a part of Scaling (and annotating) images in a rotated matrix of tikz nodes, scaled to page size?, I'd like to measure the size of a caption before it is typeset, and then use is to calculate ...
2
votes
1answer
74 views

How to add subtitles to a group of plots?

I have the following group of plots: \documentclass{article} \usepackage{fullpage} \usepackage{pgfplots} \usepgfplotslibrary{groupplots} \pgfplotsset{compat=1.12} \begin{document} ...
0
votes
0answers
18 views

Wrong figure reference number in table [duplicate]

Hi I'm using images in longtable. To define captions in the longtable enviroment I defined this: \makeatletter \def\figcaption{% \refstepcounter{figure}% \@dblarg{\@caption{figure}}} ...
0
votes
0answers
29 views

The beginning of the page to add a logo similar thing

As seen in the above image, there is a picture of the same size in eps format. I've set the page margins, according to the eps file. This picture is an example only. I want to use this file at the ...
2
votes
1answer
401 views

Adding a caption to a graphic inside a longtable

I have the following longtable : \begin{longtable}{|p{10cm}|} \hline some text \includegraphics[width=10cm,keepaspectratio]{\basedir some.png} some text\\ \hline ...
80
votes
3answers
27k views

subcaption vs. subfig: Best package for referencing a subfigure

On this question, a comment by Martin H says: that one should forget about the subfigure and subfig packages and use subcaption. As subfig replaces subfigure, no argument there. I am currently using ...
1
vote
0answers
30 views

Continuing table on multiple pages with tabularx

Problem: Continuing table on multiple pages using the tabularx package. Questions: What is the appropriate way to include "continued ..." caption at the end and beginning of the table when ...
2
votes
0answers
59 views

How to place two plots inside a node?

I'm eager to have two plots (of the algebraic functions) placed horizontally inside a node. I'd like them to be signed, so something like caption (below the plot) is needed. One of them — "the good ...
3
votes
1answer
21 views

Getting an error related to \prevdepth when using \caption on a figure with subfloats

I am writing a manuscript and I am using the subfloat package to include in a figure several figures, if I don't include a caption it compiles nicely, but when including the caption I get the error ! ...
0
votes
0answers
64 views

Why does the figure caption look so ugly by default?

\documentclass[a4paper]{article} \usepackage[adobefonts]{ctex} \usepackage{titlesec} \usepackage{graphicx} \titleformat{\section}{\huge\bfseries\sffamily}{\thesection}{1em}{} \begin{document} ...
2
votes
1answer
196 views

New float environment in tufte-book with alternate caption placement for full width figures

I am trying to define a new environment for photographic plates in a tufte-book.cls book. The environment should: Work just as the existing figure / table environments do for non-starred uses, and ...
1
vote
2answers
73 views

Make table 100 percent in width and add solid vertical divider

Problem: Making the table 100% in width and adding vertical lines only for letters A-K. Minimal working example (MWE): \begin{table}[htp] \centering \footnotesize\setlength{\tabcolsep}{2.5pt} ...
0
votes
0answers
16 views

Insert figure in one column? [duplicate]

I want to insert a figure into a column, which means a figure uses 0.5*paper width.And the paper are written in two columns. At the same time, I need to use \bicaption{}{},which is in bicaption ...
0
votes
1answer
37 views

Apply a figure caption inside of a longtable

I'm using the 'longtable' environment to display a number of figures. I'd like to include a caption at the bottom of the first page as a Figure caption, not as a table (so that it also shows up in ...
0
votes
1answer
48 views

The caption of tables is not uppercase [closed]

I'm writing a paper using Latex with the IEEEtran package. The preamble of the document is as follows: \documentclass[journal]{IEEEtran} \usepackage{ifpdf} \usepackage[pagewise, switch, ...
1
vote
1answer
13 views

Captions and subcaptions of a very long table

I have a very long table that spans multiple pages. On top of the table, there is a caption like 'Table 1: A list'. Now, for the parts of the table that spans to the next pages, I want to put ...
2
votes
1answer
22 views

\ifthenelse within \caption, \listoftables does not work

EXAMPLE 1 below works fine but EXAMPLE 2 produces "undefined control sequence". The only difference is the \vlabel command within brackets in the \caption command. What is the problem? EXAMPLE 1: ...
4
votes
1answer
37 views

How to make the Figure Caption “Figure 1.5” bold in Tufte Latex?

Unfortunately the standard options like \usepackage[labelfont=bf]{caption} Do not work with the tufte-class because Package caption Warning: \caption will not be redefined since it's already ...
2
votes
2answers
53 views

Caption figure in Latex

When I insert a figure in latex, i see under the caption the term "figure". The editor is Gummi on Ubuntu. The code that I inserted this code: \usepackage{caption} \begin{figure}[htp] \centering ...
3
votes
1answer
20 views

Suppress continued float in Endfloat table/figure list

How can I suppress the listing of the second table here in the Endfloat table list? I have pseudo-code here declaring a variable table-list-entry, but I don't think such a command exists. Is there ...