{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
1answer
133 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
29 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
17 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 ...
1
vote
1answer
208 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 ...
2
votes
2answers
34 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
28 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
45 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
16 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 ...
2
votes
2answers
22 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
55 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
17 views

Undefined control sequence caption

When I compile document that has such code: \usepackage{caption} \usepackage{subcaption} \DeclareCaptionLabelSeparator{emdash}{~--- } ...
3
votes
1answer
19 views

Align caption baseline in second column with baseline of first column

I have a two column document that contains full page boxes. These boxes sometimes contain table or figure captions, which generally look best at the top of the second column of the box. However, the ...
5
votes
4answers
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? ...
3
votes
1answer
56 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 ...
3
votes
1answer
58 views

How to \nameref to a certain instance of a counter (used as pseudo-caption), use number in \nameref and add a title/description to the pseudo-caption

In the following MWE, the environment "quoter" is used let's say a little bit as a "pseudo"-caption: it is not a real \caption or \captionof, but still it generates a counter and displays a word such ...
2
votes
1answer
1k views

using subfig changes fonts in captions of figures

I used package subfig(for using \subfloat). This undoes the special font size for the captions in the figures. Now they are of same size as normal text. How to counter that? The Document class and ...
2
votes
0answers
36 views

How to centre a specific caption? [closed]

I know that the same question was already discussed in the forum. The suggestion was to use \usepackage{caption} .. I use \documentclass{ieeeconf} instead of \documentclass{article} and ...
2
votes
0answers
43 views

Justify main caption in figure

I have two figures that I am putting vertically in my text. The two figures are located in the same column, on top of each other. I am trying to left justify the main caption of this figure (by ...
3
votes
1answer
18 views

How to have captions above each “pseudo-subfigure”?

The following subfigures are not real subfigures, but I will call them pseudo-subfigures, since I would like to have captions above them like one can easily do with real subfigures. However, I would ...
3
votes
1answer
26 views

Adding a caption to a tcolorbox \tcblisting

I'm new to the whole TeX world and have finally managed creating my own tcolorbox code box: Now I would like to caption my code boxes like regular listings. It should say something like ...
2
votes
1answer
24 views

How to customize the figure numbering with a letter or special symbol?

I want to distinguish the figure number by adding a letter, say "a", or a special symbol, such as \star, between the word "Figure" and number. In other word, what I'd like to have is something like ...
1
vote
1answer
26 views

Different Style of captions

I am writing a document where I have different types of figures like tables and listings. To get the captions the way I want I wrote the following in the preamble: \usepackage[font=small, ...
2
votes
1answer
22 views

How to make \captionof have: 1) more space between image and caption & 2) encompass less width than \textwidth

This question is specifically regarding \captionofs, which I have been using instead of captionss since the latter are floating. (Unfortunately, I have experienced that \captionof's sometimes ...
2
votes
1answer
15 views

Subfig's ragged-right caption with hyphenated word breaks unaesthetically

Minimal working example \documentclass[11pt, twoside]{report} \usepackage{caption} \usepackage[]{subfig} \usepackage{graphicx} \begin{document} \begin{figure} ...
24
votes
3answers
7k views

Remove colon in the caption of a figure if the caption is empty

One of my figures should not have a caption, only the normal numbering. To get this, I use this code: \begin{wrapfigure}{l}{4cm} \begin{center} \includegraphics[width=3cm]{graphic.pdf} ...
5
votes
2answers
8k views

changing spacing of caption

I'm creating a figure using LyX. I would like the spacing of the caption below the figure to be 1.3. Is there an easy way to accomplish this? Setting the spacing to 1.3 for the entire document using ...
2
votes
1answer
21 views

\nolinebreak inside a figure caption

I have a centered figure caption. Here's an example of my code: \begin{figure}[!htb] \centering \includegraphics [width=\textwidth]{photo} \caption{ This is my caption. I want the following two ...
1
vote
0answers
20 views

Biomedcentral figure caption outside bounding box [closed]

When using the BioMed Central template (bmcart documentclass) the figure caption overflows the figures bounding box. How can this be fixed? \begin{figure}[hbtp] \centering ...
2
votes
1answer
14 views

Reference to subfigure is either not showing or showing wrong

I am using the subfigure environment, but when I refer to it, the counter is either not showing or showing incorrectly. Here is the code. \documentclass[11pt]{article} \usepackage{amsmath} ...
0
votes
0answers
23 views

Caption name position

I use capt-of package in my tex file to create the table. Howeve table description appears always up to the table. When I put the caption code below that the program gives error message. Is there a ...
6
votes
3answers
4k views

Using LyX, how do you put a table and a figure side by side and caption them Table XX and Figure XX?

I have found solutions for them to be done in normal TeX, but how do I do this in LyX? What I wish to obtain is something like that shown in Table and Figure side-by-side with Table caption above, ...
1
vote
0answers
22 views

citation within caption [closed]

The following code produces an error: \begin{figure}[H] \includegraphics[scale=0.7]{errormeasures} \caption[Ma{\ss}zahlen zur Evaluation der SVM-Regression]{Ma{\ss}zahlen zur Evaluation der ...
1
vote
0answers
43 views

two caption styles [on hold]

I'm using a KOMA-Script class with the twoside option. I have two types of figures: horizontal and vertical. I want to get a caption next to a vertical figure AND a caption below a horizontal ...
2
votes
0answers
29 views

How to put the caption below the listing? [closed]

When I use a simple caption, tex puts it above the listing \begin{lstlisting}[caption={My Caption}] \end{lstlisting} If I use \captionof, caption goes below the listing, but paragraph for next ...
1
vote
3answers
56 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 ...
3
votes
1answer
41 views

Inverted pyramid caption, but table not centered

I have managed to hack together a solution to the perennial "My university requires inverted pyramid style captions" problem. However, it isn't complete. I can make the captions inverted pyramid, and ...
4
votes
1answer
26 views

Lstlisting duplicate caption

I've been trying to insert the code to my LaTeX document. I used this piece of code: \begin{lstlisting}[label={lst:rws}, captionpos={bottom}, caption={Pseudo-code of RWS Selection}] r = Random(); /* ...
1
vote
0answers
19 views

\usepackage{figcaps} problem. please help [duplicate]

\documentclass{article} \usepackage[utf8]{inputenc} %unicode support \usepackage{verbatim} \usepackage[]{color} \usepackage{figcaps} \usepackage{amssymb} \usepackage{graphicx} \usepackage{wrapfig} ...
1
vote
1answer
34 views

Continuous table numbering for ltablex with captionof

Problem: I want to have a independent table numbering in my appendix for tables that break at page break: Table A.1 Table A.2 Table A.3 Therefor i use \renewcommand{\thetable}{A.\arabic{table}} ...
2
votes
1answer
30 views

Aligning captions of subfloat

I have a caption alignment problem for the captions of the subfloat. An example case: \documentclass{article} \usepackage{subfig} \usepackage{graphicx} \begin{document} \begin{figure}[htb] ...
3
votes
1answer
42 views

\subfloat \caption odd behavior

I'm very new to Latex and trying my best to adopt it as my method of choice for paper and my Thesis. I have always managed to solve any problems encountered by browsing through this forum but can't ...
0
votes
1answer
26 views

Additional column with figure captions wanted

How can I achieve an additional column with index terms and figure captions like this example made with InDesign? I like the layout and want to make something similar.
11
votes
1answer
122 views

text, margin, and text + margin width floats without using tufte class

I want to use the marginfigure, figure*, and figure environment as defined in tufte-book and tufte-handout classes (see respectively Figure 1, 2 and 3 in the template example). It means being able to ...
2
votes
1answer
27 views

How to get a small letter version of \mathcal{O} inside table caption

I have used the suggestion given in How to get a small letter version of \mathcal{O}, and it worked perfectly, except when \smallO is inside a table caption. How to overcome the nuisance?
0
votes
0answers
28 views

Subfigure: caption and subcaptions overlappin

Caption and sub-captions overlapps as seen on the picture at bottom. Thank you in advance for your help. This is a working example of the case: \documentclass{report} \usepackage{graphicx} ...
3
votes
0answers
26 views

Override hyphenation settings in caption

As tomorrow is April 1, I'd like to send a somewhat special interim version of my thesis to my supervisor. In the TeXbook, there is a chapter that is set up to make TeX fall in love with hyphenation. ...
3
votes
2answers
82 views

Turn off caption prefix WITHOUT using caption package

How do I remove the caption prefix (i.e Figure 1:, Table 1:) from figures, tables, etc. WITHOUT using the caption package? The reason I don't want to is because I'm using tufte-latex which already ...
17
votes
2answers
25k views

How to suppress caption numbering in a table?

How can the auto-numbering on table captions be suppressed? For example, I have a table: \section{Data} \begin{table}[h] \setlength{\arrayrulewidth}{1.5px} \centering \begin{tabular}{lcccc} ...
4
votes
1answer
57 views

How to format bicaption

I've got some troubles with formatting the bicaption package and would like to ask, if someone can point out some hints to solve it. I guess it was too late yesterday, so first my dear apologies ...