{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

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 \caption@...
1
vote
0answers
27 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 ...
2
votes
2answers
41 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 ...
1
vote
1answer
17 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 ...
0
votes
0answers
34 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 \usepackage[...
0
votes
0answers
51 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 ...
3
votes
2answers
31 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 of ...
2
votes
1answer
43 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
38 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? ...
2
votes
2answers
59 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 ...
0
votes
1answer
185 views

Undefined control sequence caption

When I compile document that has such code: \usepackage{caption} \usepackage{subcaption} \DeclareCaptionLabelSeparator{emdash}{~--- } \captionsetup[figure]{labelsep=emdash,font=onehalfspacing,...
2
votes
2answers
60 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 ...
3
votes
1answer
54 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
59 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 ...
3
votes
1answer
26 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 ...
3
votes
1answer
24 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 ...
4
votes
1answer
71 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 "Code-...
2
votes
1answer
28 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 ...
2
votes
1answer
38 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, labelfont=...
2
votes
1answer
51 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
30 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} \captionsetup[subfigure]{...
5
votes
2answers
68 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 ...
2
votes
1answer
25 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 words:...
1
vote
0answers
30 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 \includegraphics[scale=0.4]{...
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 ...
2
votes
1answer
17 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} \...
1
vote
0answers
25 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 SVM-...
1
vote
0answers
44 views

two caption styles [closed]

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 figure....
2
votes
0answers
42 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
2answers
79 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 % http:/...
5
votes
1answer
36 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(); /* ...
3
votes
1answer
61 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 ...
1
vote
1answer
63 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}} ...
1
vote
0answers
20 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} \...
2
votes
1answer
40 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
63 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
36 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.
2
votes
1answer
30 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
34 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
53 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. ...
12
votes
1answer
208 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 ...
3
votes
2answers
109 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 ...
2
votes
1answer
44 views

Table in landscape with caption in normal orientation

Is there a way to have a table rotated using the lscape package and have the caption above or below it in normal (portrait) orientation? Any help much appreciated. MWE: \documentclass[oneside,...
0
votes
1answer
42 views

Table caption label format as “Table L-1.”

I want to make a new table caption as Table L-1. This is a table caption Currently, I am using the below code, but it has large margin between character and number as "Table L- 1". Could you ...
1
vote
0answers
19 views

how to align caption,notes in revtex4-1 from the begin of table?

\documentclass{revtex4-1} \usepackage{tabu} \usepackage{caption} \begin{document} \begin{table}[htp] \begin{footnotesize}\captionsetup{justification=justified,singlelinecheck=false} ...
2
votes
1answer
67 views

Caption doesn't display correctly

I've been searching for quite some time to find an answer to my question, but I can't find anything I can use. When my caption text exceeds the width of the line, it is displayed just like standard ...
4
votes
2answers
61 views

Where's the mistake? #1 inside \caption

I am trying to automatically convert \caption{...\label{...}...} to \caption{...}\label{...}. This is what I have tried: \documentclass{article} \usepackage{showlabels} \newcommand{\storelabel}[1]{\...
0
votes
1answer
65 views

Problem with figure and table caption

I'm writing a thesis using latex. I had the following a error when I add the figure caption: l. 91 \caption{Chevauchement et ligature} I suspect you've forgotten a `}', causing me to apply this ...
4
votes
2answers
42 views

Common caption under subplots

How can i make a common caption in the middle under both plots, which i can reference via a label and how can i remove (a) and (b), so that the subplot captions fit on one line? \documentclass{...
4
votes
1answer
64 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 Axel!...