{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

3
votes
2answers
34 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 ...
3
votes
1answer
30 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 ...
1
vote
1answer
121 views

caption above figure using knitr

This is a question originally asked on stackoverflow, but it seems to receive no attention and answers there. Since it's related to latex, I'm posting it also here hoping to receive some hints. I ...
4
votes
1answer
35 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 ...
1
vote
1answer
35 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} ...
2
votes
1answer
25 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
20 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
18 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
25 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
34 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 ...
1
vote
1answer
33 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
42 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
22 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
52 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 ...
0
votes
0answers
18 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
1answer
613 views

TeX capacity memory exceeded error

\caption[$Set\:3$: Intermediate set]{$Set\:3$: Intermediate set; Classical orifice plate ($s3c$); Plate numbers ($s3f(0-3)$); Classical plate,($s3p$).} Is this a wrong caption? Because it is ...
3
votes
1answer
51 views

Figure: Sidecaption while text floats next to figure

I am restricted to a two-column and have a figure that I want to include in \textheight height with the caption on the other column. The figure spans exactly one column, but I don't know how to let ...
2
votes
2answers
66 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
69 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] ...
2
votes
1answer
1k views

How to get bold font Figure style with memoir class?

I'm trying to modify the defaut figure style with the memoir class. More precisely, I would like to have the Figure X.Y part in bold. To get X.Y in bold isn't a problem, as the ...
7
votes
2answers
4k views

How do I format subfigures captions using memoir?

I switched to using the memoir class and stopped including subfigures. All of my subfigures now interpret the caption as actual text, i.e. as [caption...], which shows up in the document with the ...
8
votes
2answers
3k views

I get an error when using subfigure with memoir

I made an article and insert several subfigures in that as follows: \begin{figure} \centering \begin{subfigure}[b]{0.3\textwidth} \includegraphics[width=\textwidth]{fig6_1} ...
1
vote
1answer
29 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
38 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
28 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” ...
0
votes
0answers
11 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 ...
29
votes
2answers
20k views

How can I modify vertical space between figure and caption?

\documentclass{article} \usepackage[draft]{graphicx} \begin{document} \begin{figure} \centering \setlength\fboxsep{124pt} \setlength\fboxrule{1pt} \fbox{\includegraphics{dummy}} \caption{Dummy ...
2
votes
1answer
47 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
37 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
4
votes
0answers
40 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
27 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.
5
votes
1answer
84 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
25 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 ...
11
votes
3answers
20k views

How to display the footnote in the bottom of the slide while using \columns?

I am using \columns in beamer to show two pictures. After I added \footnote{ExampleText} after captions, the ExampleTest just appear in each column. Now I want to show all of the ExampleText in the ...
2
votes
2answers
44 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 ...
13
votes
3answers
14k views

LaTeX (beamer) — Is there a way to suppress the caption label of “Figure X:” or “Table X:”?

I am making a beamer presentation of someone else's research paper (so I don't have the original tex code). I am using pdfs of tables in the presentation but wanted to cut out all of the original ...
0
votes
1answer
15 views

Figure caption has line break problems when using subfig

I'm using the subfig package and I'm getting words that are broken in captions. Can anyone explain why, or how to stop it? \documentclass[11pt,a4paper, draft]{report} \usepackage{gensymb} ...
0
votes
1answer
42 views

why my figure's caption is floating

not only my figure is flipped, the caption is floating at the top overlapping my picture.. why did this happened? \graphicspath{{picture/}} \begin{figure}[h] \centering ...
1
vote
1answer
33 views

Twocolumn Revtex-4 figure caption is above the figure

Figure captions should be below figure (unlike table captions). But in Revtex4-1 the caption is above the figure. How can one fix this to make it appear below the figure? I'm bumping this should have ...
0
votes
0answers
28 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
25 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} ...
49
votes
4answers
36k views

Two figures side by side

How can I put two figures side-by-side? Not two sub-figures, but two actual figures with separate "Fig.: bla bla" captions. A figure is supposed to spread over the entire text width, but I have two ...
2
votes
1answer
129 views

Measuring/getting size of caption before it is typeset?

To solve a part of this question, I'd like to measure the size of a caption before it is typeset, and then use it to calculate the size of a matrix of nodes. The first problem I can see is that ...
1
vote
1answer
26 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
47 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
21 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!] ...
0
votes
1answer
37 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
46 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
85 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- ...
29
votes
4answers
33k views

How to remove figure caption prefix “figure” in beamer

I am trying to remove the caption prefix, "Figure", for my figures in beamer. I tried doing this but it made no difference. Heres a minimum working example: As you can see, I have included the ...