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

How to get vertical size of table captions?

I found that the tabularht package, which allows to give a fixed vertical size for a tabular, does not take into account the vertical space taken up by a table's caption. It stands to reason, the ...
2
votes
1answer
672 views

Suppressing figure numbers in wrapfig

Like @brannerchinese here, I'd like to suppress the figure numbers for certain figures, but I'd like to do it within the context of the wrapfig and wrapfigure package/environment. Being rather new at ...
36
votes
4answers
42k 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 ...
1
vote
1answer
573 views

How to remove the caption and the figure x in the figure but to add the caption in the list of figures?

I would like to remove figure 1 from the caption under my figure but to have it in my list of figures. Is it possible? With \caption[Entry for the List of Figures (LoF)]{}\label{fig:without} I can ...
3
votes
1answer
381 views

subfloatrow and tabularx, wrong numbering of figure

I wanted to "group" a figure and a table to get one figure. It has been proposed to use floatrow for this, with the possibility to remove the subcaptions later on (subfloatrow of package floatrow does ...
8
votes
3answers
348 views

Want to add a string left of “Figure” in caption

Ok I need to redefine caption and probably some other things to do something like \caption{code}{caption string} So when a figure is made (code) Figure #: caption string comes out code will be a ...
11
votes
1answer
4k views

LaTeX Centering newline in subfloat caption

I have these images with their title beneath: I want to add some information below, like this: The good news is, I'm able to do it. The last screenshot is from my pdf previewer. ...
6
votes
2answers
3k views

Changing style of table caption

I'm using the \caption command inside \begin{table} command and in the output I'm getting: Table 4.1 - Caption Table Content Is it possible to change that style to something like this? ...
10
votes
4answers
11k views

Change the word “Table” in table captions

I need to have tables with their numbers, just as when I use \caption. My problem is that when I use the \caption it shows me like this: Cuadro x.x: this is some table. The word Cuadro is ...
8
votes
2answers
3k views

Align captions of subfigures:

Hi I want to include the following two tikz figures in my document: \documentclass{article} \usepackage{tikz} \usepackage{subcaption} \begin{document} \begin{figure} ...
1
vote
1answer
277 views

Table number in ref inconsistent with actual table caption [duplicate]

Possible Duplicate: Why does an environment’s label have to appear after the caption? For convenience of readers, Table~\ref{table_abbreviation} lists the abbreviations and their full ...
4
votes
1answer
113 views

Use \caption to show only the name of the picture

I would like to use \caption in figures only to show the name of the picture. Without Figure 1.: Is that possible?
3
votes
1answer
622 views

Longtable puts caption and/or header on the next page

How to prevent LaTeX to put the table caption on the next page? Here is a demonstration, bottom of a page: Top of the next page: As you can see, "táblázat 8: Sorirányok összesítése" - that is ...
5
votes
1answer
521 views

Different alignment for table number and caption

I have a table whose table number should be right-aligned and its caption should be center-aligned on the next line like this: Table 1 Caption ...
2
votes
1answer
351 views

Setting parent of a counter and removing counter from caption

I guess, I have two questions. My very concrete problem is that I want \caption{xyz} to not print a table counter within a table. By now it prints “Table 0.1: xyz“. How would I remove that? But ...
2
votes
2answers
771 views

How do I change the label separator for marginfigure in Tufte Book/Handout?

I'm trying to use the caption package to do this and I've used the following code, but it's still not giving me a period as a label separator. How can I go about fixing this? Here's what I have: ...
6
votes
1answer
2k views

Captioning nested subfigures with subcaption

The following creates a figure with three images arranged appropriately. If I remove the two \caption{} lines, it numbers the main subfigures as I'd like, and keeping the two \caption{} lines puts ...
4
votes
0answers
329 views

Compilation error when plot and subplot are inserted [closed]

I am trying to add subtables inside tables. To achieve that I add the following packages: \usepackage[format=plain,labelfont=bf,up,textfont=it,up]{caption} \usepackage{subcaption} After adding ...
2
votes
1answer
2k views

Setting position of figure, captions using sidecap

I have a poster with 2 sidecaped graphics: one in the lower-left corner (LLC) and another in the lower-right (LRC). Problems include both have their captions on the left. I'd prefer the LLC graphic ...
2
votes
1answer
805 views

How to make graphic caption rotate?

I have a large graph that has to fit the paper in the landscape mode, therefore I have to rotate the graph using includegraphics[angle=-90]. However, the usual \caption{} statement remains the same as ...
11
votes
2answers
723 views

Conditional figure environment (sideways, bottom captions)

For my phd dissertation I would like to have a new environment for figures that gives me the possibility to either place the caption sideways if there is enough space (say the figure width is < 0.6 ...
4
votes
1answer
401 views

A fancy box for non-verb text, but like that of Fancyvrb

How can I create, without a verbatim environment, these nice boxes that the Fancyvrb package produces: The sibling package Fancybox (by the same author) doesn't allow for the caption being placed ...
3
votes
1answer
3k views

Using endfloat and caption packages to remove caption from figures

In the current example: \documentclass[12pt]{article} \usepackage[textwidth=6.7in,textheight=9.125in]{geometry} % alter dimensions of document \usepackage{graphicx} % include graphics i.e. figures ...
8
votes
1answer
1k views

How to localize label using algorithm and algorithmic packages

I am writing a paper in Italian and I need to include pseudo code in my latex document so I am currently using the algorithm and algorithmic packages. At the top of every algorithm the label Algorithm ...
5
votes
2answers
736 views

Phantom malfunction in algorithm caption

I am trying to use \phantom in the context of an algorithm caption. I am using the algorithm and algorithmic packages. \phantom will work properly in normal text in my document, but not in a caption. ...
1
vote
1answer
186 views

journal specification for figures and figure captions

I am submitting some work to a journal and the format of the article has to follow some specific guidelines. One of which is that following the main text, the figure captions are then required ...
4
votes
2answers
4k views

Changing vertical position of a figure caption with sidecap/SCFigure

I use the sidecap package to add small graphics with captions on the inner side of a page with the following options in the preamble: \usepackage[innercaption]{sidecap} \sidecaptionvpos{figure}{t} ...
6
votes
2answers
14k views

Insert figure in a multicol article

I am trying to insert a figure with a caption into a multicol article. When the figure was inserted on its own, it was fine: includegraphics[width=0.5cm]{image} However, when I tried to insert the ...
9
votes
3answers
448 views

Uppercase until end of group

In LaTeX, all font commands have two versions, one requires an argument (\textbf, \textit, \textsc etc), other changes the font until the end of group (\bfseries, \itshape, \scshape etc). The latter ...
7
votes
1answer
2k views

How to layout four figures with floatrow, two of them vertically?

how can I get a layout like the one below in my document? _____________ _____________ _______________ |Big Picture1| |Big Picture2| |Small Picture1| | | | | |______________| | ...
6
votes
2answers
2k views

Indenting the first line of figure captions

I want to create a small indentation in the first line of figure captions, similar to the way LaTeX indents the first line of paragraphs. The caption package does not seem to support this. Is it ...
3
votes
1answer
5k views

Swedish characters, but english captions

I am writing thesis in english but I want to be able to use swedish letters. I use \usepackage[swedish]{babel} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} This works fine, I thought, ...
3
votes
1answer
141 views

How shoud I manage captions and sub captions with float and non float items?

I am currently writing my PhD thesis and I am using this code to put some figures or tables on the left page. So, I have two kinds of figures, some are in a float, some are not. In both cases, I often ...
4
votes
1answer
165 views

Use float counter in a section title

I defined a new float environment for examples \usepackage{float \newfloat{example}{htp}{example} \floatname{example}{Example} that I the use throughout the document \begin{example} ... ...
3
votes
1answer
628 views

How to suppress caption numbering in a figwindow

\documentclass[a4paper]{article} \usepackage{picinpar} \usepackage{graphicx} \begin{document} \begin{figwindow}[1,l,{\mbox{% \includegraphics[width=80pt]{g/tiger.png}}},{\label{fig:leadfield}\TeX{} ...
2
votes
1answer
321 views

Using (redefined) macro in \caption doesn't work, but it works in another environment

My problem is strange behavior my command \vec{} in \caption. I used this construction: \renewcommand{\vec}[1]{\accentset{\rightarrow}{#1}} See my code: \documentclass[12pt, a4paper, czech, ...
4
votes
1answer
865 views

Caption formatting with babel French

I have a problem override the default formatting of float captions when using babel’s French option. When babel’s francais setting is chosen, captions are formatted with the label (“Figure X”) in ...
3
votes
1answer
614 views

Combining the caption and fltpage package when using twopage setting in book class

I have run into a strange problem when using the caption package and the fltpage package in the book documentclass with the twoside setting. After eliminating all kinds of variable it turned out that ...
5
votes
1answer
156 views

indent of custom float

In my preamble I defined a custom float to use it for my equations like this \newfloat{formula}{ht}{frm} \floatname{formula}{Formel} then I use it like this \begin{formula} \begin{equation} ...
4
votes
3answers
500 views

Center table and align caption over table

I have a small table that I want to center in a document. I can do this but the caption then is left justified rather than aligning with the centered table. I'd like to center the table and make the ...
1
vote
1answer
1k views

Left/Center/Right references to subfigures

I have a figure with three subfigures shown in the code sample below. How can I change the reference to a subfigure so that I have Figure 1 (left), Figure 1 (center), and Figure 1 (right) instead of ...
5
votes
1answer
3k views

Error using subcaption

I've used the subcaption package in the past without any problem. But now, i can't use it, which makes it impossible to compile some important documents. If i try to compile \documentclass{article} ...
2
votes
0answers
478 views

\caption* does not work properly [closed]

I have a problem with using the command \caption* (from the caption package) together with the algorithm environment. Instead of parsing the \caption* as a single command, it is parsed like \caption ...
4
votes
1answer
3k views

How can I repeat the header but not the caption with longtable?

I am trying to set up a longtable where the header is repeated on every new page but the caption only appears once at the top of the page. The table is defined as follows: \begin{longtable}{|l|l|l|} ...
6
votes
1answer
3k views

Extending the width of caption for subfigure

The caption of the subfigure follows the size of the figure/table. Is it possible to stretch the width so that it does not follow the size. \documentclass[11pt,a4paper]{report} \usepackage{ ...
9
votes
1answer
2k views

using [] in the caption of the subfigure

The subfigure caption uses []. Because of that, I am unable to use [] in its caption. \subfigure[ This [] is important] How do I use the brackets in the caption of the subfigure?
4
votes
1answer
3k views

elsarticle table and figure caption

I want to change the caption of elsarticle in LyX for table to be and for figures to be Mine is the following: I use the caption package in document preamble ...
7
votes
1answer
2k views

How not to show a label under a graph using subfloat — restart numbering of labels

I have this code: \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[caption=false]{subfig} \graphicspath{{/folder/images/}} \title{} ...
2
votes
2answers
2k views

How to decrease space height (margin) between equations

I want to decrease spaces(margin) height before and after equations because I found big space when text end and display formula appears or between equations each in separate line. Also I want to do ...
2
votes
1answer
2k views

Writing Pseudocode in LaTeX

I cannot seem to get any of the LaTeX pseudocode packages to work correctly on my computer. For example, if I run this block of code: \documentclass{article} \usepackage{algorithm}% ...