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

Figure caption centering [closed]

\begin{figure*} \begin{center} \includegraphics[scale=.80]{sysmodel.JPG} \caption{System model} \label{m1} \end{center} \end{figure*} I am using the above code but the position of the figure caption ...
1
vote
1answer
28 views

Table caption not left aligned in revtex

I am currently writing an APS article and use: \documentclass[% reprint, amsmath,amssymb, aps,nofootinbib, ]{revtex4-1} % \usepackage{graphicx} \usepackage{dcolumn} \usepackage{bm} \...
1
vote
1answer
33 views

How we can make term 'Figure' to be bold and rest part of the caption to remain as it is?

How to make term 'Figure' bold and rest of the caption need not to be bold
1
vote
0answers
10 views

Properly indenting new lines in caption [duplicate]

I'm trying to get a caption with manual line breaks, where the next lines indent on the left with the first one. By default the next lines are not indented at all, so I tried using a tabular ...
2
votes
1answer
37 views

Subfloat captions wider than picture

I am having troubles making subfloat captions wider than the picture it describes. Here is a MWE: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \...
1
vote
1answer
28 views

Slanted math mode numbers in caption

Consider the MWE: \documentclass{memoir} \usepackage{graphicx} \captiontitlefont{\slshape} % All captions slanted \begin{document} \begin{figure} \centering \includegraphics[width=\...
3
votes
1answer
26 views

Non English caption reference doesn't print the name

When I try to reference caption it only shows the number of the figure without the name. For example it prints 1 instead of Фигура 1. I am using babel and typing in Bulgarian. Is this some kind of bug ...
2
votes
2answers
29 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?
1
vote
1answer
24 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
49 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
30 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 ...
1
vote
1answer
36 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' ...
2
votes
2answers
66 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} \usepackage[...
1
vote
2answers
35 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} \includegraphics[...
1
vote
1answer
54 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
26 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 = 1.8in]{figures/...
1
vote
0answers
30 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 ...
0
votes
1answer
39 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
25 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 ...
2
votes
1answer
24 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
29 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} \captionsetup[table]{labelformat=...
3
votes
1answer
47 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 command?...
3
votes
1answer
52 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 ...
0
votes
1answer
31 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
47 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} \begin{...
2
votes
0answers
23 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 \def\...
2
votes
1answer
50 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 ...
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: \begin{...
1
vote
0answers
15 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
44 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
19 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
57 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
34 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
58 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
44 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
74 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
347 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
72 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
60 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
27 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
25 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 ...
5
votes
1answer
93 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
29 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
39 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
56 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
37 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]{...