{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

4
votes
1answer
115 views

How to change algorithm caption to figure caption ouside of the box?

I'm using IEEEtran with \usepackage[boxed,linesnumbered]{algorithm2e}. I have one pseudocode/algorithm. My caption inside the algorithm environment appears as "Algorithm 1". Since I only have one ...
3
votes
1answer
60 views

How can I justify the text under the picture?

\begin{frame} \frametitle{Kísérletek III.} \begin{reference}{3mm}{92.75mm} physicsworldarchive.iop.org \end{reference} Federico Capasso et al. \begin{columns} ...
2
votes
2answers
51 views

How can I broaden a caption?

I’m trying to extend a caption beyond \textwidth. I tried it with \makebox, however, that resuls in an error: \documentclass{article} ...
1
vote
1answer
60 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
63 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
58 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: ...
3
votes
1answer
97 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
47 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
59 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
45 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
61 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
40 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
103 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
1answer
116 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
77 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
149 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
212 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
83 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
178 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
88 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
63 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
61 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 ...
1
vote
0answers
59 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
101 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} ...
4
votes
2answers
163 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
54 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 ...
4
votes
1answer
94 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
68 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
86 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
40 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
358 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
167 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
146 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
124 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
61 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
57 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
33 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
54 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
55 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
95 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
50 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
76 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
127 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
113 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
128 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
171 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
42 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
49 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
166 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
41 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. ...