{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
72 views

change the font of table caption

In my poster doing with baposter, I need to change a font of some figures. I know that we can use \usepackage[font=small,labelfont=bf]{caption} to cnfigure the font of the caption. In a specific ...
0
votes
1answer
22 views

Longtable caption too separated

I'm using \longtable for a wide table (wider than the example) and the caption appears too separate from the table. I know I could use the option skip like \usepackage[skip=0pt]{caption}, but this ...
4
votes
1answer
26 views

Caption package in subfigures

In Wikibooks it is suggested that to have subfigures, one should use the subcaption package. However, in the given example, the caption package is also included. Is it necessary here? If so, what is ...
3
votes
2answers
40 views

How to align table and caption when table is centered on page

I haven't been able to figure out the best way to set up my tables. These are the features that they are supposed to have: Should be centered on page Caption should be "justified" and aligned with ...
1
vote
3answers
75 views

Text in quote style with caption

I need to put a output of a program in a quote stile but i need to put a \caption tag like an image or a table. I need to do something like: text other text ... Output X: something What i can do ...
4
votes
1answer
30 views

Wrapfigure not wraping around caption

I am kinda new to tex and I am confussed that wrapfigure is not wraping around caption properly. Here is my text : \begin{wrapfigure}{r}{0.5\textwidth} \vspace{-20pt} \begin{center} ...
0
votes
0answers
11 views

Preview package for combining eps figures

I was planning to use preview package for combining my subfigures (made by caption and subcaption packages) to one figure but I can't get even the basic example working. Here is my try: ...
-1
votes
0answers
38 views

space between top caption and table

Im have a question concerning the space between table and it's caption. When I use the three part package the caption is nicely placed in the top of the table, but once I added the table environemnt, ...
2
votes
1answer
22 views

How to chang the colon after figure number to another symbol?

I want to change the colon in the caption to another symbol e.g. Figure 1: this is figure to Figure 1 | this is figure How can I do this?
2
votes
1answer
23 views

How to pre-evaluate commands that are problematic for a specific environment?

More specifically, my problem occurs in the caption environment, but I imagine this applies elsewhere. I would like to insert the text generated by \suppOrApp and store it in the variable \sOrA: ...
3
votes
1answer
43 views

Justification of captions

I know there a few similar questions about this but the option justification=justified is not working properly on my figures. I'm getting everything but "Figure n:" justified, so the numbering labels ...
2
votes
2answers
55 views

How can I remove an empty caption line

I'm generating LaTex automagically from a lengthy document that is written in the multimarkdown language, compiled by a software package called Scrivener. It's a workflow that works well, but this is ...
4
votes
1answer
32 views

Splitting a caption and cross-referencing

I'm currently writing my thesis and I'm struggling with my redefinition of the caption command. I've got large captions which I don't want to show up in my list of figures. Of each caption I want ...
1
vote
0answers
19 views

Why is space inserted at beginning of table or figure caption when using macros to define caption label? [duplicate]

Here is my MWE. As you can see, the problem only happens when we use the macro \suppOrApp. \documentclass{article} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{caption} ...
3
votes
1answer
34 views

Sidecaptions next to sidewaystables

I'd like to place a caption left/right next to my table which is rotated by 90 degrees. So the caption should be next (e.g. bottom right) to the table and both, the caption and the table should be ...
2
votes
1answer
29 views

center caption with subimage

I have the following image: Produced from the following LaTeX code: \begin{figure}[h!] \centering \begin{subfigure}[b]{0.6\textwidth} \includegraphics[width=0.7\textwidth, ...
5
votes
2answers
28 views

captionsetup url color select

I've changed my caption font color to gray as seen in the screenshot below. My problem is that references is black (which I've chosen in the hypersetup), how do I change this to be gray as the rest of ...
3
votes
2answers
43 views

captionof increases count by 2

I face a similiar problem like the one described here. I created a command that will output a caption besides an image (in this example replaced by simple text). ...
2
votes
2answers
38 views

Resize figures using subfloat environment in elsarticle class

I was working with the elsarticle class and subfig package for my article and I used the subfloat environment to include two pictures. However, the scaling of the pictures is completely wrong and the ...
2
votes
1answer
22 views

List of <newfloat> with zero caption in text

new Float type: Illustration How to make a list of illustrations, with captions in the list, but for the illustrations to appear in the text with zero captioning - image only.
5
votes
1answer
62 views

How to get caption of figure/table using table reference?

How can I get the caption of figures and tables using their references? Something along the lines of \refcaption{tab:mytable} would print This is a pretty table., which is the caption of the table ...
3
votes
2answers
49 views

Preventing caption in new page [duplicate]

This is not about keeping the picture or table close to where they have been mentioned. It is about keeping the caption of the picture (or table) together with the picture. Otherwise the picture and ...
4
votes
1answer
50 views

figurename (captionname) changing

I have a problem with my algorithms, I'm using the mcode-package: I would like the caption to say Algorithmus 1.1 for example. If I try it with a figure environment it does not work, because I don't ...
1
vote
1answer
60 views

Control vertical space of a caption in a given figure

I have used \captionsetup before mentioning the \caption{} I couldn't find a proper setting of this property. How can I adjust the caption's margin in order to illustrate it clearly? ...
5
votes
1answer
103 views

How to make distance between captions of close pictures?

The captions between the pictures are too close to each other. How can I make some space between them, but do not move pictures itself? \documentclass{article} \usepackage{graphicx,subfigure} ...
2
votes
1answer
48 views

Caption in LyX appears below a “sub-title”

I'm using the following TeX code in LyX for creating a double table. When viewing it in .pdf I don't know why the caption "Main Title" appears below the text Panel A: Effect. Definitely it should be ...
2
votes
1answer
33 views

Multiple images and proper side-caption positioning

I would like to put three images on one page (as one figure). First two of them stretched over 100% of textwidth and the third one over 50 % with the caption beside the third picture (to spare space). ...
2
votes
0answers
56 views

How can I apply different custom caption styles to different listings?

In the MWE below, is it possible to define different caption formats for the two listings? In the example the first listing should use a blue caption background (like it is now) while the second ...
1
vote
1answer
32 views

Subscript in Figure Captions

How do I make text subscript in a figure caption? I've tried both \textsubscript{} and \protect\textsubscript{} but both throw errors.
3
votes
1answer
49 views

Caption beside image in minipage

What i'm trying to achieve: Have two images in one page, one image on the top half of the page and the other the bottom half. Ive managed to do this by: \vbox{ ...
5
votes
1answer
76 views

Table caption in uppercase. I don't know why

\documentclass{IEEEtran} \begin{document} \begin{table}[ht] \centering \begin{tabular}{|l|c|} \hline \multicolumn{2}{|c|}{Default Parameters} \\ \hline ...
9
votes
2answers
182 views

How to align text within a caption?

I want to give a survey on several techniques within a figure. It turned out, that there are many techniques, so I employed subcaption with subref to describe the matter. However, as there are too ...
2
votes
1answer
39 views

Subfigure and caption placement

I have 5 images to place (using the subfigure environment), I would like to place them either in two columns (one with 3 images, the other with 2), or in two lines (idem) and use the empty place that ...
2
votes
2answers
80 views

Table caption not appearing in PNAS document class

I am unable to get table captions to show up when using the PNAStwo document class from 2008 (the latest version includes printer marks that I do not want). The documentation says "Figure and table ...
1
vote
1answer
41 views

Optional caption in listings (for listoflistings)

I have some cites in my captions. But I do not want to appear them in the table of figures or listings. With figures I managed to display an different caption like this: \begin{figure} \centering ...
2
votes
1answer
41 views

float row figure box - two lines in caption

I am trying to get the caption on two lines with this command but using \\ does not work. If anyone know how to do this it would be helpful \begin{figure} \begin{floatrow} \ffigbox{% ...
1
vote
1answer
20 views

Problem with sidecaption and memoir alignment

I try to use sideCaption with memoir class, and i have two problems (red anotation in image 1) : sideCaption doesn't respect the margin at left ... how can i say to saidCaption to align the figure ...
2
votes
1answer
43 views

White space between caption and sidewaystable

I am using a sidewaystable from the rotating package. I am trying to add some white space between the caption and the table (caption is placed above table). I tried using ...
0
votes
0answers
50 views

Numbering figures in beamer while using the caption package [duplicate]

I am trying to number my figures in beamer while using the package caption but it doesn't work. I want to use caption because I can break a line with \\ and I like the way the caption is formatted. ...
3
votes
1answer
51 views

caption of the wide table not wide

I am using this code to produce a wide table, but the caption in top is still in two column format.I used \caption package but it affects all of my figures captions and never solve the problem. ...
2
votes
3answers
47 views

Detect misplaced label in figure

I realized that I sometimes write : \begin{figure} ... \label{fig:foo} \caption{Bla} \end{figure} instead of: \begin{figure} ... \caption{Bla} \label{fig:foo} \end{figure} ...
1
vote
1answer
65 views

IEEEtran: centering (double-column) figure captions

I'm looking for a method to center the figure captions in single- and double-column mode. Here is my code \documentclass[journal]{IEEEtran} \usepackage[caption=false]{subfig} ...
3
votes
1answer
32 views

\ifmmode check in section caption

To assure the correct usage of newcommands which only shall be used in mathmode, I have introduced a mathcommand, which checks mathmode by \ifmmode. Now I want to use such a mathcommand in a section ...
4
votes
1answer
121 views

longtable caption formatting

I'm having some troubles with captions in longtable tables. I'm trying to typset for a thesis (so am using a class that I didn't write) and my school requires double spacing for body text but single ...
1
vote
0answers
28 views

How change “Figure #” position in lyx [duplicate]

I'm using Lyx, and adding a floating image always add a "Figure X" at the left of the image, I'd like to show this 'caption' (I don't know if is caption or not) under the image, how should I do? What ...
4
votes
1answer
66 views

Final linebreak in lstlisting, and linebreak in captions (with IEEEtran)

Using: lstlisting in two columns How to add line break to caption without using caption package ... I got to the following MWE: % \documentclass[12pt,a4paper]{article} ...
3
votes
1answer
70 views

ClassicThesis in Spanish Language Using Lyx

The problem is the following: I'm using classicthesis to write my thesis, and I need the names of the captions displayed in spanish (e.g. "figura" instead of "figure"), so I uncommented the next ...
3
votes
1answer
48 views

Box around caption in figure

I am wondering if it is possible, in a figure, to put a box around just the caption and not the whole figure. \documentclass[12pt,letter]{article} \usepackage[demo]{graphicx} ...
4
votes
3answers
67 views

How to arrange a table and figure side by side with all captions on one side

To maximize space, I'm trying to put an table and image side-by-side in a document. As the image is longer than the table, I want to put both captions under the table (if possible). I envisage this ...
5
votes
1answer
124 views

Fixing vertical spacing after \captionof as a custom caption

I'm trying to get a single caption after two columns of code. For two columns, parcolumns is the only method I've found that allows a page break in the middle and is my current favorite. Using ...