{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
28 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
24 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
18 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
29 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
16 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
24 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
36 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
31 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
21 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
2answers
64 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
68 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
27 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
27 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 ...
2
votes
1answer
46 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
39 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
24 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
43 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 ...
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 ...
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} ...
1
vote
1answer
25 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
20 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- ...
0
votes
0answers
27 views

Footnotetext without text where it can stick to [duplicate]

I am having the problem that almost at the end of my document, I want to add a figure with a footnote in its captin. While this is no problem inside the document where always new text comes where I ...
2
votes
1answer
20 views

Missing line below caption in algorithm environment

Using two different computers at work and at home, I sometimes compile my thesis with one computer and sometimes with the other. Most of the time the two versions are consistent, but for algorithms I ...
3
votes
1answer
24 views

How to set optional argument for caption in a lstlisting environment

Usually, if I set a caption, I use \caption[short]{long} to have only a short description in my list of figure for example. But how do I do it with listings? Here a MWE which has a very long caption ...
1
vote
1answer
33 views

Position of caption in LyX

I used sidecap package in LyX to put the caption on the right of the tables, but I got problem with it. sidecap works good with figure caption but it's not good with table caption: Please are there ...
3
votes
1answer
21 views

Source of figure below caption is not centered when there are too many characters

I want my figure source to be part of the caption but in an new line, everything located below the figure and both of the lines should be centered. This works out perfectly as long as the caption ...
5
votes
1answer
47 views

beamer + lstlistings + overlay -> wrong numbering in caption

In my tex file I have the following code. It results in the Listing being numbered with an increasing index. Is there a way to prevent this from happening? (see screenshot: the second slide should say ...
2
votes
2answers
51 views

Tikzpicture: How to caption with multiple axis

Is there a way to caption multiple axes with tikzpicture? I don't want to use subfigures since each axis (and its corresponding figure) is connected via an arrow to another axis. I have something ...
4
votes
1answer
57 views

How can I change the caption font and size for figures and tables

I want to specify the figure caption font size in order to follow a stupid standard at my university. I need the font to be Arial (I am using Helvetica because Arial is not available for LaTeX) 11pt. ...
7
votes
1answer
83 views

I redefined \- but it does not work in captions

I defined \+ and \- macros for conveniently entering notation. Surprisingly, I noticed that in table and figure captions \- does not work while \+ works. (The same problem appears also in the content ...
4
votes
1answer
47 views

How to increase space between the bottom border of a boxed figure and its caption?

I am trying to generate a space (6pt) between the boxed figure and its caption. Since I am using tikz code \includegraphics did not work. Also I tried \setlength{\abovecaptionskip}{6pt}, ...
2
votes
1answer
42 views

How to write the caption of a english table in Persian when using xepersian package?

I am writing a report using the documentclass{report} and xepersian package. I have some tables in english but I want the caption to be in persian. Since I use the xepersian package, I have to put ...
6
votes
2answers
94 views

Space between table caption and caption text

At the moment, I have the following code in the preamble: \usepackage[justification=justified,singlelinecheck=false]{caption} \captionsetup{format=hang, labelsep=quad} This creates a nice space ...
2
votes
0answers
44 views

Caption of figure on multiple pages using PhDThesisPSnPDF class

I am writing my thesis using PhDThesisPSnPDF class. I need to make large caption of a figure to span over multiple pages. For most document classes package capt-of can be used: How do I make figure ...
7
votes
2answers
144 views

How can I take precise control over the size of caption text of images?

In the caption of the images of my text, the size of the text "Figure 1.1" (and so) is greater than the text itself. The result is How can I take precise control over this text? The code is ...
3
votes
1answer
36 views

(color online) label in RevTeX

For colored figures, Physical Review journals require that the caption label takes the form "FIG. 1 (color online). Caption content" if the figure will not appear in color in print. Could someone ...
0
votes
1answer
21 views

Weird error with memoir sidecaption, subbottom and threepartable package

I have a weird error using threepartable, sidecaption, subbottom and memoir class ! You can't use `\prevdepth' in restricted horizontal mode. \TPTdoTablenotes ->\par \prevdepth ...