{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
26 views

Changing table title from Table to (chapternumber.sectionnumber.tablenumber)

Instead of my table having the title Table 1.1.8: My table, i need it to have title simply (1.1.8) with no caption (like numbering a table in a math book). How can i achieve this?
2
votes
1answer
17 views

Non english caption reference doesnt print the name

When I try to reference caption it only shows the number of the figure without the name in example it prints 1 instead of Фигура 1. I am using babel and typing in Bulgarian. Is this some kind of bug ...
1
vote
1answer
17 views

Set different styles for “main” caption and description

I would like to redefine the \caption command to have to arguments : one "main" caption and then the description. This is what I want : \begin{figure} \caption{\textbf{Caption title} \newline ...
4
votes
1answer
31 views

Square brackets in listings caption

How to add square brackets as a caption in a listing? I tried putting caption inside of "{}", but then the output is quiet weird. \documentclass{article} \usepackage{listings} \begin{document} ...
1
vote
1answer
26 views

Figure numbering: fnum@subfigure and fnum@figure in pdf output

I just started working with Latex and I'm stuck with the following issue: instead of getting 'Figure 1 Caption' and 'Subfigure 1 Caption', I get 'fnum@figure Caption' and 'fnum@subfigure A Caption' ...
1
vote
1answer
25 views

Justify caption

For my figures and Tables the caption text is formatted to start in the middle. For the tables only however, I need it to start from the left. I tried using \flushleft command for it but it did not ...
18
votes
2answers
8k views

Floating an algorithm?

I'm typesetting an algorithm using the algorithmx package as follows: \begin{algorithm} \caption{\textsc{Whatever}} \begin{algorithmic}[1] ... \end{algorithm} However, I would like it to ...
2
votes
2answers
57 views

How to use \tikz\pic in \caption and “normal” Latex-text-environment

As an advancement to How to use a \pic in a node's text area {}?. What to do or avoid to let work the pic "lightning" in a caption and normal latex text? \documentclass[]{scrartcl} ...
1
vote
1answer
219 views

Caption above figure using knitr

This is a question originally asked on stackoverflow, but it seems to receive no attention and answers there. Since it's related to LaTeX, I'm posting it also here hoping to receive some hints. I ...
0
votes
0answers
29 views

Setting the caption of a figure to the top [closed]

The below snippet of my code displays the caption of the figure at the bottom. I tried to use the floatrow package but I still get the same outcome (caption at the bottom). Any idea? ...
1
vote
2answers
33 views

trying to create a caption command

Perhaps this is already done, in which case you can tell me the better way, but I would like to know what I am doing wrong. I would like to create the following sequence of code: \begin{center} ...
1
vote
0answers
26 views

How to align two figure that are next to each other [duplicate]

Here is my latex code both picture has same resolution and size but i dont know why alignment is not right. \begin{figure}[H] \centering \begin{minipage}[b]{0.45\textwidth} ...
1
vote
1answer
43 views

Width of figure affects caption position [closed]

I would like to control the amount of space between a (starred) caption below a figure with width=\linewidth. However, when I choose skip=0pt, there is additional space compared to a figure of smaller ...
1
vote
0answers
15 views

Caption alignment of grid subfigures

I have 5 images and I would like to display them in 2 rows (3x2). This is what I've done so far, \begin{figure}[h] \begin{tabular}{ccc} \subfloat[caption]{\includegraphics[width = ...
0
votes
0answers
23 views

How to put multi-subfigure on a single page with different main caption?

I have to add 8 figures on one page using subfigure command in such a way that first 4 figures should be placed with one caption and next 4 figures with other caption. Please guide me with sample of a ...
1
vote
2answers
258 views

Two figures with side captions next to one another

I currently have the following figure placed at the bottom of my page: \begin{SCfigure}[][h] \centering \caption{Georg Cantor (1845--1918)} ...
3
votes
1answer
63 views

How to place footnotes in the caption of a table?

Problem: Question title says it all, although it can be misunderstood, what I am trying to achieve is through a command (hoping for footnote) to be able to place a footnote mark anywhere in the table ...
0
votes
1answer
22 views

Subfloat-caption position

I am trying to create sub-captions above my side-by-side figures. I want sub-caption to be above the figures and main caption to stay below the figures. Here is my code: \documentclass{article} ...
1
vote
0answers
19 views

Large figure and legend on opposing pages in a two-sided book

I have a 500 pages book with some figure and tables. Sometimes a figure needs to fill an entire page. The legend for this large figure is going to the previous or the next page. I wonder whether this ...
3
votes
1answer
36 views

subfigure caption format differs for \captionof

When I place a subfigure caption using \captionof, the format differs from the one appearing when placed via \caption inside a subfigure environment. I suppose this is a bug in the \captionof ...
2
votes
1answer
23 views

HVFloat, caption below table

I would like to use the rotated table with the caption bellow the table. Unfortunately, the following code does not work. Thanks for your help.... \usepackage{hvfloat} \usepackage{booktabs} ...
2
votes
1answer
26 views

Different justification for table caption

I need get something like this with caption package: Word "Table 1." in the left with period after number. MWE \documentclass[]{report} \usepackage{caption} ...
3
votes
1answer
26 views

Why is \caption*{} not working?

I've been inspired by this question to add sources to captions. Basically, to define a source in a comment a new command can be created, \newcommand{\source}[1]{\caption*{\hfill Source: {#1}} } And ...
5
votes
5answers
9k views

How to center table caption that includes a newline

My table caption spans more than on line so I added a \newline to split the caption at an appropriate position. Now, the two lines are left aligned. How do I center the two lines of the caption? ...
0
votes
1answer
22 views

Listings titles in List of Listings

I have a question analogous to this one, but for listings instead of figures. In my TeX file, I have multiple listings defined as follows: \begin{lstlisting}[caption={A really, really, really, ...
0
votes
1answer
34 views

Remove line between caption and table

How I can remove line between caption and table? My code is: \begin{table}[h] \tables{360pt}{1.875pt} \caption{EG unit Characteristics for TPC and 201 bus distribution systems} \label{tab1} ...
1
vote
2answers
77 views

How to remove table name from caption in beamer?

Code \documentclass[xcolor={x11names,table}]{beamer} % http://tex.stackexchange.com/a/303060/13173 % http://tex.stackexchange.com/a/303091/13173 % http://tex.stackexchange.com/a/196808/13173 % ...
2
votes
0answers
21 views

Change table index format

I am using IEEEtran document class. \caption{some text} in a table environment ends up TABLE I: some text in the final PDF. But I need Table 1: some text. I managed to change TABLE to Table by ...
2
votes
1answer
24 views

Subfigures with no vertical space and top left aligned letter

I am trying to create an image composed of three subfigures that looks like this: Key features I am trying to capture are: No vertical space between the subfigures Subfigure letters are in the ...
12
votes
3answers
438 views

Index entries duplicated for captions

In document class book, and package caption, creating index with makeidx. Index entries for the main text and for footnotes collate properly; but those for captions create their own entries. Example: ...
0
votes
0answers
17 views

Link to picture, not to the caption [duplicate]

I have a table with some condensed information, and want to have in it links to figures (a lot), that illustrate some of the observations in the table. Anyway, if the figures look like: ...
2
votes
1answer
96 views

Missing $ inserted in python code

I use python3 (with code not from me) to insert data from a database (bsddb3) from the program GRAMPS into a LaTeX document (TeX Live 2014) and I receive the following error messages: ! Missing $ ...
1
vote
0answers
14 views

How to cite subfigure numbers for caption of the parent figure? [duplicate]

I am trying to cite subfigure numbers in the caption of the parent figure as shown in MWE. It works but I always get the following error which I cannot remove: Error Line 15: Argument of ...
1
vote
3answers
65 views

ltablex caption text formatting issue

I'm using the ltablex package for creating long tables over multiple pages. For my other small tables I use the tabularx package and I noticed a formatting mistake or maybe a bug? The table caption ...
1
vote
0answers
24 views

caption change beamer [closed]

I know this question has already been posed an awful lot of times but none of the solutions have worked for me so far. When I use \caption in figure environment in beamer (as in the example below) I ...
6
votes
1answer
296 views

Captioning tcolorbox

Inside my latex document I have several tcolorbox-es and several tcblisting-s and they are just fine. However, I would like to add a caption on every of them and mark then so they will be visible in ...
2
votes
2answers
33 views

Change default font and font weight for continuous text, headings, descriptions etc

I am trying to set OpenSans Light as the default font in my document of type scrreport, so I included the opensans package. This worked so far, as that OpenSans is now used for my continuous text, but ...
9
votes
3answers
7k views

How to change font size of longtable-lines without changing font size of caption?

I'd like to change the font size of all contents of a longtable to footnotesize. However the rest of the document and also the caption (!) shall be (stay) in normal size. (pdflatex is used) How can I ...
1
vote
1answer
14 views

How do I make an alternate caption for a sidecaption using the Memoir class?

I have a sidecaption in a Memoir class document that is very long. I need to create a short version of that caption for the list of figures. I have tried \begin{sidecaption}[short caption]{long ...
2
votes
1answer
135 views

Label on grammar environment

I want to have a caption and label on my grammar environment, and have implemented the solution here: How to use caption and label in grammar environment? got my grammar displayed with a caption and a ...
0
votes
0answers
32 views

1 Figure instead of Figure 1 in caption?

Maybe someone know how to change caption name of figure and number of figure order? Lithuanian standard is 1 Figure, but LaTex gives me Figure 1. The problem is, that when I use ...
0
votes
0answers
41 views

Caption options don't work in rmarkdown beamer template

I want to resize the figure captions in an rmarkdown beamer template, so I added \usepackage[font={small,it}]{caption} to my header.tex. But it doesn't work - the options are ignored. I didn't find ...
2
votes
2answers
48 views

Change Algorithm caption Label color to blue and bold italics

I wanted to know how to go about changing the algorithm caption label to blue and bold italics. I have so far been able to change the caption name to blue, but I have not been able to change the ...
2
votes
1answer
1k views

How to rid of automatic .pdf label from \includegraphics? [duplicate]

Possible Duplicate: How to avoid showing the filename when using graphicx? So I'm using the \includegraphics command to put a PDF image of a table into my LaTeX file here, but this pesky ...
3
votes
2answers
29 views

Lineup captions of figures horizontally

I got these three figures side-by-side. All of the figures are in different sizes and I got different number of lines of text in the caption for each of the figures. My problem is that I want all ...
2
votes
2answers
53 views

Side-by-side figures with caption, specify height but use whole textwidth

I found this answer which does exactly what I want except the fact that I can't use a caption for my figures: Forcing subfigures to have same height and take overall X% of linewidth in LaTeX I want ...
2
votes
1answer
32 views

Automatically set Figure captions to Bold Italics

I wanted to be able to set the figure captions descriptions to bold Italics. I am using the command \usepackage[font={color=blue,bf},figurename=Fig.]{caption} in the preamble to set the figure name ...
3
votes
2answers
27 views

Longtable - Caption too short

I'm using longtable. But the caption is too short that it splits up my 12 word caption into two lines centered, only 1/3 of the table width. I would like to show the caption in one line. Any advice? ...
5
votes
2answers
60 views

strange caption numbers in cross-references and list-of-figures

I am trying to fit a large figure containing four subfigures into my document. The whole thing is close to a page break, so I decided to split the figure via \ContinuedFloat. So just in case the ...
0
votes
1answer
42 views

Undefined control sequence caption

When I compile document that has such code: \usepackage{caption} \usepackage{subcaption} \DeclareCaptionLabelSeparator{emdash}{~--- } ...