{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

2
votes
1answer
118 views

Rotating a Table and the caption

I used sidewaystable, as the table is very big. Latex is always turning the table in some way and I want it to be turn for 180 degree ( makes it easier to read, as it continues on the next page). I ...
4
votes
3answers
142 views

huge spacing between caption and longtabu

I have the problem that my caption is very far away from my table and I can't find a reason and solution for that. Can anyone help me to solve it? I already tried \usepackage{caption} ...
3
votes
2answers
72 views

Misaligned caption and table when positioned side-by-side

I wanted to put the caption of a table to its left, so I tried taking the approach suggested in this answer. As pointed out in the only comment to there, I had a misalignment issue as well. The ...
2
votes
1answer
57 views

Cannot get TiKz images side-by-side instead of up and down

Here is what I have so far after reading a post on here saying subfigure is used to place images horizontally: \documentclass{amsart} \usepackage{amssymb} \usepackage{enumerate} \usepackage{array} ...
5
votes
1answer
102 views

Using side captions with multiple subfloats (floatrow and memoir)

In a large document (memoir class), I'd like to have side captions in the outer margin to save space for figures consisting of multiple subfigures belonging together. After trying sidecap with subfig ...
1
vote
2answers
216 views

Figure and caption are not aligned

I have a particular problem aligning the caption and the figure. I attach for you the image of what latex is producing, plus the image file if somone needs to replicate the code. As you see the image ...
4
votes
1answer
108 views

Marginless full page figure with caption overlay (magazine-like)

On some pages of my latex document I want to have a full-size image, margin-less, covering the whole page, as you can see it often in magazines. Additionally, I want this image to be referable, i.e. ...
4
votes
1answer
352 views

Is it more standard to use subfig or subcaption package with beamer?

Suppose I'm making a beamer presentation and I want to have a figure with some subfigures (each of which shows an image). Is it more standard/popular to use the subfig package or the caption and ...
0
votes
1answer
60 views

Alternative for caption in AAAI template [closed]

I have a source that I need converted to the AAAI publication template, but the template itself clearly disallows the use of the caption environment. What would be the most straightforward and ...
4
votes
1answer
90 views

cross referencing papers in a table

I have trouble referencing papers in a table. I want to reference papers in a table, where the caption's font is defined using the "caption" package. However, I get ?? in the references in the ...
4
votes
1answer
86 views

Separation and width of caption with captionbeside

I'm trying to control the typesetting of a caption beside a figure when using the captionbeside environment of the KOMA Script packages. The \setcapwidth command doesn't work when using captionbeside. ...
2
votes
1answer
114 views

PGF labels in groupplot vs. the list of figures

For my bachelor thesis I'm relying on pgf for my plots. In the groupplot environment I create a node to label each subfigure, something like: \node at (x,y) { \textbf{a)} ...
2
votes
1answer
51 views

Problem with tables and side captions

I'm working on putting captions beside a table. When I used SCtable to do so, it messed up the top text on my page and made it appear below the table. Is there any other way I can do this? Also, how ...
2
votes
2answers
180 views

Two Side by side figures having problem with captions (a) and (b)

I am making presentation in latex, I have two side by side figures with same size. I want to give caption (a) and (b) to the figures left and right respectively, and a main caption (some text) for ...
3
votes
2answers
132 views

Add double hline in table below caption

I would like to insert a double \hline below the caption in my table. The caption is positioned at the top of my table. MWE is below. The %\hline \hline line is where I would like the double \hline ...
4
votes
1answer
390 views

Changing figure captions into italic

Is it possible to change text in figure captions to italic. So this is what I want to get: I tried with this code: \usepackage[format=plain,labelfont=bf,up,textfont=it,up]{caption} but word ...
4
votes
1answer
70 views

Enumerate Minipages inside a figure environment

At the moment I'm working with the figure environment to display two graphs side by side using minipage which works fine. I want to use one caption for both and enumerate the minipages with a small ...
2
votes
1answer
30 views

How to prevent a main caption being wrapped in a figure?

I am writing a paper using LaTeX, and using a subfig package to arrange images. My problem is that the main caption is wrapped when I use 2 x 3 images with subfloat which occupies 2 columns. I have ...
1
vote
1answer
79 views

Width of table captions when using threeparttable in memoir

In the MWE below, I would like the table caption to be left aligned, and have a maximum width as the width of the table. ...
1
vote
1answer
47 views

Captioning my tikzpicture using figure environment causes issues

If I remove the figure environment this code works perfectly fine. Unfortunately, I am not able to put a caption on this figure. \begin{center} \begin{figure} \begin{tikzpicture} ...
1
vote
1answer
60 views

How to make caption above in algorithm

How can I make the caption "Algorithm 1" be placed above the first line and the text still inside the two first lines? And how can the line styles be changed in the algorithm environment? ...
2
votes
1answer
45 views

Newline in caption in amsart

This answer (http://tex.stackexchange.com/a/48313/38588) explains how to eliminate the error from a newline inside a caption for a figure. However, this does not work when using the amsart document ...
2
votes
1answer
68 views

I am losing my indentations after the figure's caption

I am writing my M.Sc. thesis (biochemistry). According to the Graduate Office, full-page figures require that their description be on a different page. Here is my main.tex file (sample) with the ...
2
votes
1answer
67 views

A series of diagrams in the list of figures

I have a number of diagrams (right now 8) that depict different stages of an algorithm, each in its own figure environment together with a caption and a label I am referencing in text (the description ...
1
vote
1answer
68 views

Caption in left margin at the top of tabular

Could you help me I want to remove caption to put it at the left margin for any environment like this I know it is not a good way any advice ? Thank you. This is my MWE: ...
1
vote
1answer
143 views

Caption of figure in list of figures in Lyx

my question is often asked and as often answered for regular Latex, but I would like to know, if there is a simple way in Lyx to make a custom entry for a caption in the list of figures, just like ...
2
votes
1answer
104 views

I want my rotated figure captions to be facing outwards

Edit 2: Curiously, as well as my captions defaulting to the inside, my headers are on the opposite side than I ask them to be using \fancyhead[LE,RO]{\leftmark} Something is making my document get ...
1
vote
0answers
25 views

Unexpected output of expanded value of counter in aux file, when using \DeclareCaptionFormat [duplicate]

I'm trying to circumvent the message prompt by the caption package, saying that an unknown class or package is messing with the \caption macro. I'm required to expand a value of a counter to then ...
2
votes
2answers
219 views

How to include eqnarray in caption of figure

I want to write a set of equations in a caption of a figure. I implemented the answer of this question but it did not work out. The error I got is: ! Argument of \Hy@tempa has an extra }. For ...
2
votes
2answers
106 views

Caption in Figure only partially centered

I have two figures next to one another and I want to centre my Figure caption, but completely, i.e. to include Figure x.x: in centering. This is the code I'm using: \begin{figure}[!tbph] ...
1
vote
1answer
123 views

Changing Caption Font Doesn't Work

I need to format the caption of tables and figures in my document so that is is 10pt Arial font bold faced. The main font is 12pt Times New Roman. I've tried the following (MWE), but it doesn't seem ...
3
votes
1answer
82 views

How to define additional \caption* like command for Latex beamer?

beamer currently is incompatible with the caption package (as described here). I would like to define an additional command that works like the \caption* command of that package, i.e. typesets the ...
1
vote
2answers
58 views

Formating caption figure

How does one create the following format in TeX: Raw figure: Raw text : If $μ=0$ and $σ=1$, the distribution is called the “standard normal distribution” or the “unit normal distribution” ...
2
votes
0answers
75 views

How to get Subcaption outside float working for landscape tables?

I use the nice MWE displayed below to display a landscape table (found here: Tex: How to place table on new page.) I have one big table (that's why landscape) which I want to split across multiple ...
2
votes
1answer
50 views

Placing caption on a separate page

I got back the correction for my M.Sc thesis (breast cancer). The corrector want the caption of landscale graphics to be on the next page. Here is an example of my code: \documentclass[12pt, ...
2
votes
1answer
263 views

Add four images on a beamer frame with caption

Can someone tell me how to put captions in the figure solution provided by @Gonzalo at Add four images on a beamer frame
6
votes
0answers
62 views

caption vertical spacing broken

I'm trying to migrate my project from float package to floatrow one (we can't load former with the latter as it is said in documentation for floatrow). I extensively used ruled style. Most obvious ...
0
votes
1answer
46 views

LaTeX command inline in the caption of a figure [duplicate]

I want the caption of a figure to contain a LaTeX command without it being executed: Using verbatim environment doesn't work in this case and throws errors. Please suggest a solution to this.
6
votes
1answer
279 views

Align a floating lstlisting to the very top

The following code does not align the lstlisting entirely to the top, but keeps some unwanted space between the page's top and the listing. How can I align the lstlisting to the very top? ...
2
votes
1answer
66 views

Format Captions differently for the same table (or figure) [The style of Journal of Finance]

I have created the following table. Basically the caption includes the label, the title (it is in \caption{}) and a caption where I describe the table (which is in \caption*{}). The format is similar ...
2
votes
2answers
59 views

How to get equivalent to subfigure without using floats?

I understand that floats are supposed to float, however, I have a lot of graphical data, and sometimes when I say put it here, I mean exactly, not plus/minus two pages. I can achieve this using ...
1
vote
0answers
82 views

Why is my figure's caption floating?

Not only my figure is flipped, the caption is floating at the top overlapping my picture. Why did this happen? \graphicspath{{picture/}} \begin{figure}[h] \centering ...
0
votes
0answers
76 views

change the default sidecaption margin at left for oneside memoir option

This question is related to this stack thread About \sidecapmargin Memoir class say that the \sidecapmargin command controls the margin where the sidecaption will be placed. The possible values ...
2
votes
1answer
116 views

How to input external file in figure caption with tufte-latex?

With the tufte-handout class, I want to insert some text in a figure caption, from an external text file generated with R. \documentclass[a4paper]{tufte-handout} ...
1
vote
1answer
67 views

Can I remove the word “algorithm” from the header and keep only the caption,also I “want for loop” to be indented after step 3

\begin{algorithm}[h] \begin{algorithmic} \caption{Math algorithm} \STATE \textbf {Step 1} $\rightarrow $ gather the data \STATE \textbf {Step 2} $\rightarrow $ estimate matrix \STATE \textbf {Step ...
1
vote
1answer
66 views

Caption tikzpicture

I am getting an out of float error, here is the code: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.9} \begin{document} \begin{center} \begin{tikzpicture} ...
2
votes
1answer
50 views

How to put figure labels above rather than below each image in a multiplot layout?

For example in the following code, each image has its label (a) (b) (c) (d) below the image. I would like to place it above the image. \begin{figure}[h!] ...
3
votes
2answers
96 views

Numerating captions of subfigures

I have two figures to add into a single figure environment. When I use subfigure, I got the following error: ! Missing number, treated as zero. <to be read again> } l.25 ...
2
votes
1answer
133 views

TikZ: non-active semi-colon

I have used TikZ to define an extensible arrow interrupted by symbols similar to \xrightarrow. \documentclass{article} \usepackage{tikz} \newcommand{\oprightarrow}[1]{% \mathbin{% ...
3
votes
2answers
110 views

generate short caption automatically, if there is a citation at the end

I have a lot of figures that I'm referring to and I prefer to give short cites for the list of figures, ie without the source, unfortunately when I have to fix a typo etc. I need to change the short- ...