{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
1answer
23 views

algorithm2e, caption space

I am using the package algorithm2e within the IEEEtran class. I need to provide a space between the caption and the Algoritm. Currently, the caption is very close to the algorithm. Is there any ...
2
votes
1answer
26 views

Text-Align inside Caption

I've some problem with formatting my figure captions form my thesis. First i'd like to describe my final result. Caption above: align left Caption below - first row (source): align right Caption ...
3
votes
1answer
30 views

inline figure with caption in actual figure bottom

I'm expecting the inline figure caption should print in actual figure bottom. But inline figure is not supporting caption and how to print the caption is withing bottom of the figure. my MWE is: ...
0
votes
0answers
25 views

Table Captions overlaps table in LaTeX

I put caption and label to a table in LaTeX and when I run the code it seems to close to table, the font is larger than I would like it to be and there is too much space between table caption and the ...
3
votes
1answer
29 views

Caption of subfig

I use bellow code for make subfig in my text but figure caption are 2.2a, but I want 2.2(a). how change my code? note: I don't want change all off code please correct my code. \documentclass{book} ...
1
vote
1answer
15 views

How to use ERT command to long tables that is provided for float table

I have been provided with ERT (Evil Red Text) command which when used for float tables, displays the caption of the table as Table 1.1 in List of Tables. I want to know how I can use such command for ...
0
votes
1answer
31 views

How to make custom caption (1, 2, 3, 4)

I'm trying to make a before/after figure comparison. I have 10 groups, each has 4 samples I want to compare by lining them up. Below is the code for group 1.1. Each has 4 samples. (1.1.1, 1.1.2, ...
2
votes
1answer
26 views

Using \ContinuedFloat creating errors with table captions

I have a figure in my document that has 10 subfigures, and overflows onto two pages. I have used two figure environments and \ContinuedFloat to get the correct lettering between subfloats. The problem ...
0
votes
1answer
46 views

how can I put Caption with tabular

I had difficulty doing caption for the following set of images. I have done several codes and I was able to have the caption by doing "subfloat", however, with subfloat it was hard for me to do the ...
4
votes
1answer
28 views

Write the caption of table in left

I want write the caption of table like this: \documentclass{article} \usepackage{caption} \begin{document} \begin{table} \caption{Caption} \label{tab:1} ...
6
votes
2answers
83 views

Placing the table caption inside the top row

\documentclass{article} \begin{document} \begin{table}[!h] \caption{Caption (not here)} \centering \begin{tabular}{|cc|} \hline \multicolumn{2}{|c|}{Table 1---Caption(should be here)} \\ Property A ...
0
votes
0answers
24 views

vertical distance between captions and tables

I was wondering if anyone knows how to always achive (fix the length) the same vertical distance between caption and table in beamer? For instance for some of my tabels, I am getting a quite different ...
0
votes
1answer
28 views

How to change Figure Label? (Fig.: n instead Figure: n) [duplicate]

This question seems to be asked a lot. I tried some different solutions and any of them did not work. My figure caption is displayed as Figure 1: Caption Here But I want to display: Fig. 1: ...
3
votes
2answers
64 views

Can I inline drawings in a caption

I am attempting to include a simple drawing in the caption of a figure. The drawing is simply a line which I am using to include a sort of legend in the caption. I have tried to achieve this both by ...
4
votes
3answers
102 views

The caption of the table moved to the left

I am trying to add a table to my Latex document but the caption of the table shrunk in the left corner and does not extend to the whole width of the table. This is my table: \usepackage{graphicx} % ...
2
votes
1answer
29 views

Question about the caption font size of figures or tables using IEEE trans class?

I am using \documentclass[journal,12pt,draftclsnofoot,onecolumn]{IEEEtran} However, I find the caption font size of figures and tables is much smaller than the context. Does anyone know how to ...
2
votes
1answer
37 views

How to label the rows in 3x3 subplots

In the example shown below for the image attached, how can I manipulate the code to get the rows labeled? \begin{figure} \centering \subfloat[][] ...
1
vote
1answer
56 views

Font size of figures and table captions

I need my figure and table captions to be of font size 8pt, how do I achieve this?
0
votes
1answer
33 views

How to center a caption inside a minipage?

In this moment I have something like that and I want this and this is the portion of the code \begin{minipage}[b]{0.4\linewidth} \subsection{Tercera Configuraci\'on} Con ayuda de un ...
3
votes
2answers
37 views

How to obtain specific distance between image and caption in beamer?

I'm trying to set the the caption 1pt below the image in a figure in beamer. If I set \abovecaptionskip to 0pt there is still a gap between the image and the caption. This results from the ...
4
votes
1answer
24 views

Remove trailing period in Boxhandler package

Is there a way to remove the trailing period in the boxhandler package? It seems to occur with both the bxfigure and bxtable commands, but I have instances where I need no trailing periods. Minimum ...
0
votes
0answers
33 views

Missing figure numbers

I have a separate file that can show figure number properly. However, I do not get a figure number in my another file with the same code for figure. In my main file, in lines 182, 197 and so on. My ...
7
votes
1answer
83 views

How can I make the width of the caption match that of the listing?

How can I fix the captions width to match the listing? As in the picture below: Code is here: \documentclass{article} \usepackage{xcolor} \usepackage{listings} ...
-1
votes
0answers
29 views

How to create custom paragraph with caption

I want to highlight a specific paragraph by changing its margin. Using \begin{addmargin} \end{addmargin} i get a quite good result. Now I would like to add a caption at the bottom. This caption ...
4
votes
2answers
39 views

Adding a Caption to \lstnewenvironment using \mdframed

I found on the Internet the piece of LaTeX code I really liked : \documentclass{article} \usepackage{listings,mdframed,xcolor} \definecolor{codeBackground}{rgb}{0.9, 0.9, 0.8} ...
4
votes
1answer
35 views

Subfigures appear on different lines when one doesn't have caption

I've got three subfigures in a row, and am setting their heights explicitly, as the first two are different widths, but need to appear the same height. The third subfigure needs to caption (it's just ...
3
votes
1answer
43 views

Follow-on to tabulary + longtable + captioning

I was able to use the coding provided by Justibus: Several caption problems in longtable and tabulary. What my question is - now that i've been able to make my table wrap columns and break over ...
1
vote
2answers
52 views

Referencing a table in latex

My latex document is given below. \documentclass[12pt]{report} \linespread{} \usepackage{fancyhdr} \usepackage{amsmath,amssymb} \usepackage{caption} \usepackage{relsize} ...
1
vote
1answer
63 views

Table of tables with captions?

Minimal example: \documentclass{scrreprt} \begin{document} \begin{figure} \centering \begin{tabular}{cc} \begin{figure} \begin{tabular}{cc} 0 & 1 \\ 2 & 3 \\ \end{tabular} ...
1
vote
1answer
25 views

How to force caption above a custom text float?

I am trying to make a supplementary information text, which I would input to my main document. I want to have the caption above the text and use caption package for formatting of the caption (required ...
0
votes
0answers
71 views

Table and longtable centering and caption alignment

I want to format table and longtable in a special way: 1) table/longtable should be positioned to the center of the page 2) table/longtable caption should be positioned between left and right ...
4
votes
2answers
66 views

Using \input{} inside caption

I am wondering why I am getting errors when I try to add a caption to table using the \input command. A minimal example is as follows. The file cap2test.tex can be any text file. E.g., mine contains ...
2
votes
1answer
42 views

raggedright caption option not working in beamer

I'm trying to right-align one my captions in beamer. For that I use the caption package: \documentclass{beamer} \usepackage{caption} \usepackage{mwe} \begin{document} \begin{frame} \begin{columns} ...
2
votes
1answer
37 views

Automatically bold first sentence of a caption in longtable

This question is a follow-on from Automatically bold first sentence of a floats caption. I can automatically bold the first sentence of the caption in my normal tabulars, but the code doesn't seem to ...
3
votes
0answers
27 views

Caption for multipage figure

I am a novice and have started using latex for writing my dissertation. Some of my figures are long and might extend over to multiple pages. I need only a single caption and figure number(i.e. no ...
2
votes
1answer
39 views

how can i give a figure an extended caption without it going in my table of figures? [duplicate]

I am writing my minor thesis which includes a number of tikz figures, which are all listed in a table of figures. the table of figures gives the figure number, and then the title of the figure, as ...
0
votes
1answer
24 views

Change font of the numeration in the image with muptiple subimages

So the problem is. I have an image with 3 subimages (a), (b) and (c). There is a general caption and each subimage has its own caption. I have changed the font of all captions, but the numeration ...
2
votes
1answer
41 views

Distance between caption and figure

I have used this code but there is unsuitable distance between caption and figure. Can anyone help me? \documentclass{article} \usepackage{graphics} \begin{document} \begin{figure} \centering ...
2
votes
1answer
45 views

Display image on JUST the first table of every page using longtable

I have a bunch of longtables of varying lengths displayed 1 right after the other. Is there a way using longtable to auto run a macro or something on a just the first table of each page (regardless ...
3
votes
2answers
41 views

Full-page figure with preceding caption

I have a large figure that takes up a full page in my dissertation, leaving not enough room on that page for its caption. The figure must be a fixed size, I can't scale it down. The caption must ...
3
votes
1answer
42 views

One bookmark per longtable

I asked a question about how to generate bookmarks for tables and figures a few month ago and received an excellent answer (solved question). The proposed code works like a charm for normal tables. ...
0
votes
1answer
52 views

Useasboudingbox and measuredfigure to align caption

I use useasboundingbox in my tikz pictures to make them optically centred. I want the caption to be aligned with the left edge of the bounding box. Normally this can be done with the measuredfigure ...
6
votes
3answers
64 views

Separation between caption and subcaption

Consider the following MWE \documentclass{article} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure} \begin{subfigure}[t]{.5\linewidth} \centering \rule{3cm}{3cm} ...
2
votes
2answers
55 views

Table caption longer than table

How do I make the table caption the length of the table please? \begin{table}[ht] \caption{Empirical Model Results} \centering \begin{tabular}{l c c c c} \hline\hline & ...
0
votes
1answer
44 views

caption without figure envirorment

I'm making a report with a latex editor. I have a caption made up by two pictures in a column. The picture below is larger than that of above, and I use center envirorment without 'figure' in order to ...
5
votes
2answers
120 views

Modifying the “Figure X” text

In LaTeX, it is usual to insert a figure with this structure: \begin{figure*}[] \centering \includegraphics[width=\textwidth]{fig1.eps} \caption{A two line caption} \label{the_label} ...
1
vote
1answer
29 views

Custom caption for lstset to use in table of contents [duplicate]

I would like to use the functionality of figure captions (that can have two captions: one for table of contents and one for the caption below/above the figure) with my custom filecode environment. ...
4
votes
1answer
36 views

\caption versus a new setminus

I'm using the following as an improvement to the look of \setminus: \newcommand\rsetminus{\mathbin{\mathpalette\rsetminusaux\relax}} \newcommand\rsetminusaux[2]{\mspace{-4mu} ...
3
votes
2answers
74 views

Split wide table into two but keeping the same caption and table number

I have a wide table that doesn't fit in one page so I split the table in 2. The problem is that I need to keep almost the same caption (the second one has to add the word Continued to the caption) and ...
1
vote
1answer
32 views

Lasthead section in a longtabu environment

Longtabe environment has sections for first head and other head. I want to add third section for last head wich must be on the last page of a table with slighly different text. Is it possible? PS. ...