{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

5
votes
1answer
649 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
245 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
455 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
80 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
76 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
97 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
98 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
259 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
263 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
148 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
97 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
244 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
280 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
302 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
138 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
195 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
306 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
306 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
51 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
515 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
48 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
222 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
187 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
158 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
188 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
114 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
207 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
148 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
169 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
301 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
283 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 ...
1
vote
0answers
81 views

Set image in latex [duplicate]

I inserted an image, but LaTeX always put it on the top of the page, even if the example is down of the page, and I want to put it in an example. What do I have to do? Here is my .tex code: ...
3
votes
1answer
79 views

No indention for wrapfigure captions

I want to remove the indention of wrapfigure captions but NOT for normal figure captions. Is this possible? \documentclass{scrbook} \usepackage[english]{babel} \usepackage[T1]{fontenc} ...
1
vote
1answer
698 views

Change color of figure caption text

In my code below, I wanted to change the color of the text for the table and figure caption. I am using this: \usepackage[svgnames]{xcolor} \definecolor{ocre}{RGB}{243,102,25} \usepackage{caption} ...
1
vote
1answer
78 views

How to exclude some algorithms for \listofalgorithms

I tried with \captionsetup{list=no} but it doesn't work for the algorithm listing. Any ideas? I am splitting alg. over several pages using algorithm2e and don't want the captions of the split ...
2
votes
1answer
274 views

Title in subfloat without line-break

My code is like this, but the title of subfigure is with line-break, which looks very ugly? How can I solve it? \begin{figure}[!ht] \centering \subfloat[Subgraph]{ \label{fig:subg} ...
3
votes
1answer
54 views

How can I list tabulars in the contents, or make tables with invisble captions

Is there a way to have simple tabulars be listed in the list of tables? I'd even put them in by hand if I knew how.. My tables look like this right now: \begin{center} \begin{tabular}{l c l} ...
8
votes
1answer
111 views

subcaption: remove page number from lof

I use the caption and subcaption package as shown in the example below: \documentclass{article} \usepackage{caption} \usepackage{subcaption} \captionsetup[subfigure]{list=true} \begin{document} ...
3
votes
1answer
1k views

Figure caption problem

Is there anybody who can guess what is wrong with this figure caption? \caption{Graphical representation of the simple approximation proposed to determine the linewidth of a laser from its frequency ...
3
votes
1answer
227 views

Figure numbers does not match with the list of figures in classicthesis

I am using classicthesis version 2012/08/12 v4.1. I would like to have the figure numbers to include the chapter number (such as 1.1, 1.1, ..., 10.1, 10.2, 10.3, ...) and have the figure counter reset ...
2
votes
1answer
170 views

Table Numbering And Caption in Same location

My table and caption are located on the same line and this started happening after I used a different class file for the conference I am applying towards. Here is a picture of what I mean: (Normally ...
3
votes
2answers
621 views

position caption of centered figure left-adjusted to figure

I have a problem with the alignment of the caption of an image. My image is centered and I need the caption to be left-adjusted relative to my image like that: ...