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

How to handle listings, fancyvrb, newfloat and caption?

I am planning a "small thesis" for university which will need to display lots of code (C, C++, gnuplot, LaTeX, ...) - thus I spent this evening reading about listings and fancyvrb. The latter I've ...
3
votes
2answers
161 views

How to retrieve the caption of a table (longtable)

I want to repeat the caption of a longtable on different pages. Is there any way (other than defining a new variable to save the caption) to get it. How can I get rid of the extra line after the ...
1
vote
1answer
134 views

How can I access the style defined by \DeclareCaptionLabelFormat elsewhere?

Question I have defined a certain font style for my captions and would like to use this in another part of my document. How can I access this style, so that I can reuse it? NB: I want to reproduce ...
2
votes
0answers
36 views

Graphics: File name won't go away [duplicate]

I've just learned how to insert pictures using the \includegraphics{} command. In the compiled PDF document, the file name is visible immediately below the image. Is there a way to suppress the file ...
2
votes
1answer
378 views

How can I make my caption span both columns in a twocolumn revtex document?

I'm using revtex with twocolumn. I have a wide figure, and I put it in the widetext environment to allow it to span both columns. The figure itself looks fine, but the caption seems to be stuck in one ...
2
votes
2answers
413 views

Horizontal text alignment in captions for subfigures

Captions in subfigures are justified by default, which does not always look pretty: \documentclass[]{tGIS2e} % http://www.tandf.co.uk/journals/authors/tgislatex.zip \begin{document} ...
1
vote
1answer
119 views

longtable caption (make it look like table caption as defined by a LaTeX class)

I have the following MWE with a table and a longtable, and I just want that the longtable caption looks exactly as the table caption without modifying anything from the table above (just the ...
16
votes
2answers
2k views

Placing TikZ drawings in a minipage side by side

I've some problems with aligning some drawings I made with TikZ: I want these two TikZ pictured below to be displayed side by side with the two captions being on the same horizontal level. ...
3
votes
2answers
173 views

Captions for Tikz drawings

I have a question concerning captions for Tikz drawings. Below, you see the source code for a binary tree I've drawn with Tikz. I want to place a caption beneath it but unfortunately, the caption does ...
1
vote
0answers
20 views

Change language of caption in lstlisting [duplicate]

When I define a caption in lstlisting, LaTeX writes, for example, "Listing 1.1: ..." but I want to change the "Listing" to another language. How can I do this?
5
votes
3answers
197 views

Table and caption formatting

I'm having some problems getting my table and caption formatting to look right. Below is a sample of the code from my thesis. I've included all the packages that I'm using in my thesis, so that you ...
4
votes
1answer
240 views

Table caption problem. Text goes new line every word

I've a strange problem with caption of table. The text is shrinked to the center (see picture). This is the code of the table in the example (the result is the same for all the table I made). ...
2
votes
1answer
209 views

Eliminate reference to chapter in table caption (memoir class)

I'm editing a book using the memoir class. Each chapter has a different author, and I restart numbering of all elements at the start of each chapter. So far, so good. However, I want to eliminate the ...
7
votes
1answer
2k views

Caption package not working with beamer

I am using beamer to make a presentation. But the default caption font size seems big to me. So I tried to make the font size smaller using caption package. I tried this: ...
4
votes
2answers
146 views

Change figure caption name only in one figure, not all

I saw here Change caption name of figures , by \renewcommand{\figurename}{Fig.} but if you do that, it changes all of the figures captions. How to change only some of them? but I have 3 figures, I ...
4
votes
1answer
134 views

Captions in sub floats using subfloatrow are too narrow

I have a figure that has several subfigures, each with its own caption. I am aligning the subfloats using subfloatrow. How do I make the captions expand at least to the width of the graphic? Currently ...
4
votes
1answer
83 views

Centering Subcaptions including a linebreak

I found an asnwered question concerning this topic already here: Centering a subcaption Copying \captionsetup[subfigure]{justification=centering} doesn't help me thought for I am using different ...
3
votes
1answer
238 views

How to control the caption of algorithm2e by captionsetup?

I want to change the appearance of the caption for algorithms written by algorithm2e package using the caption package. In captionsetup one can easily customize the caption depending on the float ...
9
votes
1answer
100 views

How to remove space between a specific image and its caption

In this post (How to reduce space between image and its caption?) there is an excellent explanation about the way you can reduce space between figures and its captions. The problem is it works for ...
4
votes
1answer
207 views

Add keys to table (with picture and code) [duplicate]

As you see in the red part of the picture, I would like to add keys to explain what the brackets stand for. I just added this with paint, but is there a way to do this in tex? Also, are there nicer ...
5
votes
2answers
85 views

An environment for fixed figures

I am trying to create an environment that I can use to include "figures" within a framed environment. Because floats aren't allowed inside framed environments, I want to create a new environment ...
0
votes
1answer
74 views

Usage of \caption command in converting LaTeX files to HTML using tex4ht (For tables)

I am looking to convert TeX files into HTML using the htlatex command. I was previously having an issue with the formatting of my HTML file: the captions to my figures were skewed to the left of my ...
5
votes
1answer
88 views

How to put the character ] inside the short version of caption on list of table? [duplicate]

I'm using winedt and would like to insert something like \caption [blabla [-1, 1]V] {blabla [-1, 1]V...} in one of the tables, but I do not know how to escape the character ]. I've tried \\] ...
1
vote
1answer
83 views

How to make figure captions working inside a macro?

I am writing a report often having the need to insert two figures next to each other with separate figure numbers (not subfigures a,b). To speed up the process I wrote a macro but somehow the captions ...
6
votes
1answer
114 views

longtable caption — color or redefinition

Dear latexperts: I am experimenting with pandoc as a text processor that translates into LaTeX. This means that the LaTeX coding is mostly out of my control. pandoc uses longtable for its table ...
0
votes
0answers
88 views

Left align caption and underline it (Memoir)

im using LyX and documentclass memoir. I would like to have a set up like in the attached file when inserting figures and tables, however, I just don't know how to implement it in LyX. Can you help ...
3
votes
1answer
836 views

Change the baselinestretch (line spacing) only for figure captions

I use \renewcommand{\baselinestretch}{1.5} in my preamble to change line spacing of my main text. For my Figure cpations I'd like to have a value of 1.0 or 1.2. Is there an easy way to change the ...
4
votes
1answer
128 views

How can I mimick the listing caption style for my custom “Listing (cont.)” caption?

I have the following LaTeX code which works fine: \documentclass[12pt,a4paper]{article} \usepackage[a5paper]{geometry}% just for the example \usepackage[utf8x]{inputenc} \usepackage{listings} ...
1
vote
0answers
89 views

Caption numbering missing in beamer class when adding subfig package

I am having a problem with the beamer class and subfig package. Once I add the subfig package (for subfloats) the numbering of all my captions disappear. Please see the following minimial working ...
8
votes
2answers
2k views

Top-aligned subfigure with bottom-aligned caption

This is a follow-up to an earlier question regarding left-aligning subfigure captions. Having achieved the left-alignment goal, I would now like the caption of the subfigure to be bottom-aligned, ...
3
votes
1answer
2k views

Left-align captions with respect to subfigure

How do I left-align the captions on the subfigures below, so that the caption starts aligned with the left-hand edge of the corresponding subfigure? \documentclass{article} ...
1
vote
3answers
1k views

Two figures side by side caption issue

I have searched around for two hours without luck. So I hope someone can help me this issue. Basically I want to place two different figures side by side to save space in my report. So I don't want ...
6
votes
2answers
222 views

How to make the table caption look smaller

I am new to the world of LaTeX and I am trying make my correlation table look nice. My LaTeX code is below: \documentclass{article} \usepackage{geometry} ...
5
votes
2answers
156 views

Footnotes in table captions but not in list of tables

I have the following problem: My tables are formatted via caption[title]{long description...}. Now I need to add the sources to some of them as a footnote added to the caption, like in the following ...
3
votes
1answer
99 views

Floats in ConTeXt: changing caption name and making the \input command work

I have defined a new float for logic circuits called logigram: \definefloat [logigram] [logigrams] Taking advantage of the modes of ConTeXt (i.e. conditional processing), I am making in parallel a ...
6
votes
1answer
146 views

How to place figure/table without caption in ConTeXt?

When I am trying to \placefigure[here]{none}{\externalfigure.... I am getting figure with caption "none" instead of figure without any caption. How to \placefigure without a caption in ...
4
votes
1answer
297 views

Remove the rule below the algorithm title - using Algorithm2e

I'm using algorithm2e package. One of my algorithm does NOT need a title. If I simply do not type in \caption, there are still three rules.! I want to remove the second rule. Is there any way to do ...
5
votes
1answer
131 views

Add table titles from captions in scrreprt class

I am badly looking for a way to give all my tables the same title in the document, that is used in the list of tables via caption[title]{long description...}. The reason is that my tables originate ...
6
votes
2answers
109 views

table and caption distance

I am quite new to Latex, and I was wondering, if there is way to change the distance between the caption and the table. If you compile this example you can understand what I mean. ...
3
votes
1answer
183 views

Custom table caption (Updated)

I'd like to achieve a custom table (figure) format with Table numbering and title (this is usually the title also used in the list of tables but does not have to be) in boldface, and the (longer) ...
1
vote
1answer
108 views

Usage of \caption command in converting LaTeX files to HTML using tex4ht

Hi I'm new to LateX and Tex4ht. So please bear with my inexperience. I am required to convert LaTeX source files into HTML (I further require to compile them into .chm files; I have decided to first ...
3
votes
1answer
590 views

Change Table Caption Numbering

I want to change the caption number from 2.1 to 2.3.1 as my section is 2-3. I got try to use \usepackage{chngcntr} and \counterwithin{table}{section} but due to my section title is 2-3. It will label ...
7
votes
1answer
107 views

How to change the order of words in a caption?

I'd like to change the order of word in the captions of figures and tables. Instead of Figure 1 , I'd like to use 1. ábra. How can I do this? Thank you in advance
1
vote
1answer
44 views

How is it possible that references are not in the correct order if I put them in a figure caption in LyX?

I'm using LyX and I added a reference to a figure caption. Now this reference is the number [1] in the reference list even if it appears later than many others. It looks like the float captions have a ...
3
votes
1answer
73 views

Two figures side by side with two captions and alphanumeric counting [duplicate]

How can I have two figure side by side with two captions and in the floating format, like fig. 10A. some caption fig. 10B. some caption
4
votes
1answer
1k views

Indent figure multi-line caption

\begin{figure}[htbp] \centering \includegraphics[width=0.55\textwidth]{Chapters/AIntroBackground/figures/Rayleigh.pdf} \caption{Graph of intensity of the diffraction pattern for a circular ...
0
votes
1answer
62 views

how to make caption in a figure start a new line at left

I have a big description at times under a figure and the new lines in the caption start at the center instead from the left.How can i fix it?
5
votes
1answer
89 views

Figure caption replace default “:” with a space

How can I replace the usual ":" with a space in the Figure captions. > Figure 3: Blah blah..................... with > Figure 3 Blah blah.....................
2
votes
1answer
241 views

Footnotemark in caption of listing causing problem

I have the following listing: \begin{lstlisting}[float=h,caption={Description\footnotemark.}, label={listing2}, keywordstyle=\color{blue}\bfseries, ndkeywordstyle=\color{black}\bfseries, ...
1
vote
1answer
86 views

Table caption to the left or right of table

I am unable to find a method to place the caption of a table to the right or left of this specific table. Does anyone know if there is a way to do this in plain TEX or Koma Script (eventually in ...