{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

7
votes
1answer
340 views

How to get a dot instead of colon in table captions?

Now I have Table 1: Title I need Table 1. Title
0
votes
0answers
56 views

Tikzpicture & caption [duplicate]

Using just the {tikzpicture} environment I can place the flowchart right between two portions of text like this: \documentclass{article} \usepackage{float} ...
2
votes
1answer
57 views

About the distance between the caption and the main body

I found that there is too much space between the caption of the figure and the main body. (The caption is below the figure). I don't know how to reduce the distance among them? the code I use now is ...
3
votes
0answers
47 views

Duplicate captions problem with figure [duplicate]

I am a beginner in LaTeX. I used the LaTeX example to insert a figure in my thesis. Here is the code: \begin{figure}[ht] \centering \includegraphics[width=\textwidth]{figs/#####.jpg} \vspace{0in} ...
4
votes
1answer
102 views

Spacing captions in a subfigure environment

I'm trying to use the subfigure environment to generate side-by-side images with captions, however because the images are different heights the captions come out at different heights. Also, they come ...
5
votes
1answer
323 views

Selectively suppress caption numbering when using xtable

I have a chunk of code which is producing table output using Xtable and I would like to suppress the table numbering. I know I can suppress numbering using \caption* outside of Xtable but I'm stumped ...
4
votes
2answers
152 views

Table with caption too wide for standalone package document

I am trying to output a wide table with a caption using the standalone package. When I do the following without a caption, I get nice output: \documentclass{standalone} \usepackage{caption} ...
3
votes
2answers
301 views

How to force hyphenation in floating figure caption?

I have a right floating figure with a justified caption spanning four lines like so: Unfortunately, LaTeX will not hyphen the words in the caption (both words hyphen just fine in regular text), ...
5
votes
1answer
66 views

How do I add a vertical break after table captions?

I have noticed that in LaTeX, article does not create vertical whitespace after a table caption. Is there a way to make this (and only this) act like it does in report ?
1
vote
0answers
57 views

Putting longtable caption text on subsequent pages

I'm using longtable for multi-page tables in a document, and have no trouble using the standard and widely used code for headers on subsequent pages: \\multicolumn{3}{c}{{\tablename} \thetable{} ...
6
votes
1answer
244 views

Outer join symbols

In a previous post entitled "Symbols for Outer Joins" a solution was given to produce outer join symbols. However, this solution generates an error when, e.g., $R \leftouterjoin S$ is used in a ...
5
votes
1answer
667 views

Caption spacing using algorithm2e

I am trying to add some spacing above/below captions of algorithms using the algorithm2e package. Consider the following example: \documentclass[a4paper]{article} \usepackage{blindtext} ...
15
votes
3answers
246 views

┓- shaped figure and caption

I have a (float) figure that has a ┓-shape, that is there is a huge blank square at the bottom left. I'd like to put in this blank the caption of the figure. Is there a way? My class loads ...
13
votes
2answers
458 views

How to draw 3 figures and have them side by side while they're connected

I would like to have 3 figures side by side, as in one of my previous posts. However, this time isn't the same. I would like to link my figures as below: My problem is not only how to put my ...
1
vote
0answers
81 views

How to define vertical spacing around subcaptions

I want to increase the spacing between my (sub)figures and their respective captions. Unfortunately, all things tried (skip or margin options in e.g. \captionsetup, vspaces) didn't have any effect. ...
1
vote
0answers
79 views

Empty alternate lists of figures and tables with bicaption

I am using the bicaption package to have bilingual captions for all figures and tables. However, I don't want to typeset the alternate language in the document's body, but only create lists of ...
5
votes
1answer
99 views

How to put a figure on the facing page of a chapter page with correct numbering?

What's the best way to place a page-sized figure including the correct caption numbering on the facing page of a chapter opening page? Correct numbering means: if I put the figure before the ...
7
votes
1answer
100 views

Make caption look right in greek

i'm having trouble trying to make a caption look right. I want to write in Greek the "figure" name, that is, "Σχήμα". The problem is after I put \addto{\captionsenglish}{ ...
6
votes
2answers
260 views

Indent further paragraphs in the caption of a table

I have a little problem how to create a caption to my table. It looks ok as of now, but I would like to indent the heading of a new paragraph. Also right now, I cannot even create a new paragraph ...
5
votes
1answer
265 views

Caption at the side of the PDF figure in landscape orientation

The PDF document page I need to include in my document is in landscape orientation. How do I get the resulting output page in the PDF file on one hand shown in landscape orientation with the rotated ...
8
votes
2answers
149 views

Align position of a table exactly to another one

I have a problem. I just made a table which was very wide, so I decided to split it into two smaller ones. Turned out the 2nd half is a little bit smaller in width than the first one. Now I want these ...
0
votes
0answers
98 views

Issue with Caption template and Sigplan configuration

When trying to compile a shared tex document, I get the following error: Package caption Warning: Unsupported document class (or package) detected, (caption) usage of the caption ...
7
votes
1answer
130 views

\protect on \rule in \caption does not work

I would like to put a \rulecommand inside a caption. Classical solution is supposed to be \protect{} but that's not working. I still get Error: Argument of \@caption has an extra }. Why? Here is a ...
2
votes
0answers
41 views

Figure numbering without caption [duplicate]

I would like to add a simple caption "Figure [number]" before an image in my document. If I just use \begin{figure}[h!] \centering \includegraphics[scale=0.5]{galor3.png} \end{figure} there is no ...
7
votes
1answer
4k views

How to align caption with table? [duplicate]

\documentclass[letterpaper,12pt]{article} \begin{document} \begin{table} \caption{Test test test test test} \begin{tabular}{c c c c} \hline\noalign{\smallskip} $V_{a}$ & $B$ & $r$ & ...
3
votes
2answers
247 views

Customize the captions of tables

I'm a little disperse between packages caption, floatrow, I'd customize the captions of my tables, but at the same time, I would like the figures captions to remain unchanged. How can I left align ...
10
votes
1answer
283 views

How to force lstlisting caption names and numbers to always appear, even when captions are empty?

I noticed lstlisting environment seems to supress the caption name and number when no caption is specified. See the code below: \documentclass{article} \usepackage{listings} \lstset{language=C} ...
3
votes
1answer
309 views

How to fix caption in moderncv?

I'm using moderncv and I want to add a caption to an inserted graphic. I'm currently using this code \begin{minipage}{.5\textwidth} \centering ...
2
votes
1answer
139 views

Caption text wrapping bad way

I'm having some strange behavior. My captions are wrapped as at the picture. This is probably cased by .sty and .cls files provided by an academic scholar, which are quite a mess. Someone has an idea, ...
0
votes
0answers
197 views

Caption label font: will sc and bf conflict with each other?

I want both bold and small capital effect for my table caption label. Could anybody tell me what's wrong with my code? Why doesn't it work? Thanks \documentclass{beamer} \mode<presentation> { ...
3
votes
2answers
315 views

Different caption styles for figures and for tables

I need to have different caption format for figures and for tables. Captions for figures have to be centered and captions for tables - left aligned. How to define this?
3
votes
2answers
141 views

Disable or heavily penalise pagebreaking at a specified place

Is there a way in LaTeX to disable (or heavily penalise) pagebreaking at a specified place? Here's an example: \documentclass[]{minimal} \usepackage[a6paper]{geometry} % demonstration use only ...
4
votes
1answer
315 views

“Argument of \@caption has extra }” error using \makemathbox inside caption

I have a math expression which I seem to be unable to use inside a caption. Here's what I want to compile: \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \usepackage{MnSymbol} ...
4
votes
1answer
52 views

How to change the default alignment of a caption using the ctable package?

I searched through the manual of ctable handy package and couldn't find any help there, to change the default centered caption to left alignment. This is a MWE: ...
4
votes
1answer
538 views

Caption automatically centered in a REVTeX document

I'm recently writing an APS paper with REVTeX and encountered a problem. The captions in all figure and table floats are automatically centered instead of being fully justified. I tried \captionsetup ...
10
votes
1answer
49 views

Is there any way to change the caption of a table after its declaration?

I have some tables that are generated automatically by a third-party program. I would like to change their captions without editing their text. Is there any way to change the caption of a table after ...
4
votes
1answer
224 views

Captioning an mdframed box without making unbreakable

I would like to a have a caption below my mdframed box (outside the border if possible) which sometimes span across multiple pages. I managed to create a caption several ways but the pagebreaks are ...
2
votes
1answer
193 views

Adding caption and counter to source code environment

I have a source code listing with minted environment. How can I make a counter/caption to be shown as follows. I also need to make \tableofsourcecode to enlist all the source code references. The ...
3
votes
1answer
160 views

Caption and tablenotes in two columns (in threeparttablex)

I have a table with a long caption and footnotes on a landscape page, prepared using ThreePartTablex, but it does not fit. I'm now looking for options to make it fit. My best idea so far was to set ...
3
votes
1answer
190 views

How to have center title in listings when you have subcaption (workaournd conflict between listing caption and subcaption class)?

I want to use listings package (\usepackage{listings}) to show a matlab code in a paper (using elsarticle class) but the title is not aligned in center below the code. This happened after I added ...
5
votes
3answers
2k 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
46 views

hypcap not working with floatrow

I'm trying to get hyperlinks for figures work properly. I mean clicking on a link should take me to the figure (not the caption). It doesn't seem to be working with floats in floatrow. No matter where ...
4
votes
1answer
116 views

How to label Table and Figure side-by-side with combined caption

Adapted from Thorsten Donigs answer in Table and Figure side-by-side with independent captions The Caption correctly numbers the figure and table but how does the correct setup of the labels ...
3
votes
1answer
96 views

Aligning two captions in tables

I would like to have two captions for some tables and figures, where the first caption describes the general content and the second caption provides some additional information. The idea is to have ...
5
votes
1answer
208 views

Wrong line spacing when changing font size for caption of algorithm

I am using the algorithm2e package and want to change the font size for captions of figures as well as for captions of algorithms. The problem is that I get different line spacings for the two ...
1
vote
1answer
151 views

How to shift a large graph to the left

Basically, I have a large graph, which take almost half a page. Right now, when I compile the tex file, the graph shifts to the right on the pdf. I have label and caption on this graph. How can I ...
3
votes
1answer
170 views

subfig Caption Number is 1a, How to Modify it to 1(a)?

In the following document, the sentence in Figure \ref{fig:loop} in the source produces in Figure 1a in the output, but I want it to be in Figure 1(a). How do I achieve my goal? ...
3
votes
1answer
2k views

Reduce space between subfigure and the subfigure captions

How can I reduce the space between subfigure and the sufigure captions ? Preamble \usepackage{float}%exact location \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} % for ...
2
votes
2answers
315 views

Caption and sections, subsections and subsubsections

I'm writing my thesis in Latex and this is the first time ever for me to use it. I've figured out a lot of things except this one - I need custom captions for pictures that are connected with ...
2
votes
2answers
286 views

subfigures don't show (a) and (b)

I want to insert to graphs into a paper. I want to make these two graphs arranged like the top 2 graphs in the following pic however, using the following source, I can't see (a) and (b) what are ...