{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

2
votes
1answer
73 views

Changing Figure caption text size. [duplicate]

How can I change the size of text for figure captions? Currently my code looks like, \begin{figure}[H] \centering \includegraphics[scale=1]{Image.png} \caption{Caption} \end{figure} This makes ...
1
vote
1answer
49 views

How to control the space from caption title (Fig. or Table) to caption label (number)?

I use the package caption to set the caption of float. I want to get a large label of captions placing in margin, so I need change the distance of caption title and its label (the default is a ...
0
votes
0answers
40 views

How to align the caption text under the figure to the column width in a minipage environment?

I am stuck at a formatting problem of a Figure. As you can see in the picture there is white space in between the caption text and the left column because the text is aligned to "Figure 1". How can i ...
2
votes
1answer
78 views

Problem numbering equations properly

I'm trying to create some equations with amsmath with captions and references. I'd like to suppress the equation number in the margin. I know this can be done using the equation* environment but ...
2
votes
1answer
52 views

list of figures reference to image, caption on another page

Using the caption package to put a caption of a figure on another page, the List of Figures shows the number of the page where the caption is, not the page where the actual image is. ...
0
votes
0answers
82 views

Reference title does not show properly

My latex file works fine until I inserted an algorithm to the document. Then the tile of the bibliography did not show up properly. \documentclass[ijoc,nonblindrev]{informs3} ...
1
vote
0answers
48 views

multiple graph in one figure

I cannot figure out which code am I typing wrong, I'd like to insert multiple graphs in one figure, each graph captioned a) b) c) etc.. Here is my document: \documentclass{article} ...
4
votes
1answer
122 views

Captioning tcolorbox

Inside my latex document I have several tcolorbox-es and several tcblisting-s and they are just fine. However, I would like to add a caption on every of them and mark then so they will be visible in ...
0
votes
1answer
101 views

Table caption before the table

I'm creating this table \begin{table}[htbp] \renewcommand{\arraystretch}{1.3} \setlength{\tabcolsep}{2mm} \centering \begin{tabular}{!{\vrule width 1.2pt}c!{\vrule width 1.2pt}c!{\vrule width ...
0
votes
0answers
74 views

warning: configuration file not found

I get 2 warnings with regard to configuration file not being found. I think these might have something to do with the other 2 warnings that are reported before these in the log. They are not causing ...
3
votes
2answers
98 views

Unobedient diagrams and a way to resume caption enumeration

The code at the bottom of this question yields this image. Zooming this image at a relevant place shows the following. As you can see the last three diagrams are broken (in (vi) and (vii) 2 is ...
3
votes
1answer
49 views

Width of caption larger than width of listing

Consider the following working minimal example take from here: \documentclass{report} \usepackage{color} \usepackage{xcolor} \usepackage{listings} \usepackage{caption} ...
1
vote
1answer
60 views

How to get enumerated captions below Tikz pictures?

I did some dirty stuff in order to get the captions (i) and (ii) as seen below. ...
3
votes
1answer
312 views

Subcaption defaulting to capital letter labels?

I seem to be having a unique problem. There are many questions asking about how to change subcaption to a label with capital letters but for me my program is defaulting to capital letters when I would ...
3
votes
1answer
93 views

How to label nodes in a Hasse diagram?

In this question I'm using the term label in the traditional sense of word. I clarify this because I'm under the impression that this is also a technical term within the TeX universe. The code ...
2
votes
1answer
24 views

Caption content dependent on table name

I have a table environment with a set caption. I want the caption to be singular for tables with one row and plural for tables with multiple rows, all using the same environment. Is that achievable ...
2
votes
1answer
43 views

pdfpages with alternate TOC entry

So what I'm trying to do is use the caption package with the pdfpages package so a alternate caption turns up in my toc. Sorry if the code didn't turn out perfect still new to posted on stack ...
1
vote
0answers
73 views

In double spacing, find proper captions skip for both figure and table, and customize TOC page number for long title

I am writing a thesis using a class based on book. Overall double spacing is required. Right now I have two issues: The first is finding a proper caption skip for both figure and table caption; and ...
5
votes
2answers
204 views

Include a line break in algorithm-caption while maintaining indentation

I've a question about the alignment of the caption in an algorithm-environment. For instance, the following code-example \documentclass{article} \usepackage{algorithm} ...
1
vote
1answer
52 views

Lowercase caps for part of caption text

I would like to change a portion of text in a caption to lowercase caps, not the entire caption text. textsc-ing the portion I want in small capitals does not work. How do I accomplish this ? One of ...
1
vote
1answer
33 views

How to make multiple captions for a single figure

I have a single figure which is a subplot exported as an eps from Matlab. It is 2 graphs side by side. I would like to have a caption for each, with each caption centered under each respective ...
8
votes
2answers
156 views

Problem with subcaption spacing

When using the subcaption package to place tables1 side-by-side, the spacing between a table and its subtable caption is too small if the table caption is placed above the tables and the subtable ...
5
votes
2answers
210 views

Font for small caps in (French style) figure caption labels

Polyglossia {french} in Memoir Class. My preferred font is Open Sans. MWE compiled with XeLaTeX: \documentclass[a4paper,article]{memoir} \usepackage[demo]{graphicx} \usepackage{polyglossia} ...
4
votes
1answer
58 views

Problem expanding acronyms containing \hyp{} in captions

Since I performed an update of MiKTeX yesterday, acronyms containing \hyp{} do not work correctly in captions anymore. I get the following error message: ! Argument of \__tl_change_case_cs_four:w has ...
3
votes
1answer
43 views

Printing Caption of an environment in text automatically

Consider the following situation Suppose that I have several environments, each with a caption. To be clear, suppose that I have the following environments: \newtheorem{theorem}{Theorem} ...
2
votes
1answer
75 views

Code caption with listing without title, only numbers

I'm writing a book in spanish which has R code in it. I need some of the code listings to have a caption but I don't really need a title. I want the caption to show also the number of caption and ...
2
votes
2answers
89 views

How to locally change the “Table” caption prefix in table environment

In my memoir document, I have several tables looking something like: \begin{table}[htbp] \centering \caption{This is a caption.} \label{tab:some_table} \begin{tabular}{l p{10cm}} \toprule some text ...
2
votes
2answers
94 views

Caption above and legend below environment listings

I want to know how to put a legend below the frame of a listings environment, such that it do not break the settings for the other two kind of lists that i have. Legend must be without number, aligned ...
13
votes
2answers
412 views

Vertically aligning minipages, subfigures, and subtables (not with baseline)

The goal My goal is to align side-by-side figures, tables, and text in minipages according to the top, middle and bottom of the largest such minipage. This makes it different (I believe) from the ...
1
vote
0answers
118 views

IEEE format caption alignment [closed]

When I put a caption on the figures, the alignment changes to Left ! why this happens and how to fix it ? I recently removed the caption package to cope with change that occures in caption font size ...
0
votes
1answer
134 views

Caption position in LaTeX

I have a figure in which i have labelled axes manually. \begin{figure}[H] \centering \setlength{\unitlength}{0.1\textwidth} \begin{picture}(5,3.5) \put(-0.1,0.1){$0$} \put(-0.1,3){$1$} ...
2
votes
0answers
33 views

PStricks code inside caption. LaTeX. What's wrong? [duplicate]

I'm trying to put \psaxes command inside a caption. I have tried \verb, \lstinline and alltt package and nothing works. Whats wrong? \documentclass[ 12pt, a4paper, ...
1
vote
0answers
64 views

IEEEtrans class, eps images don't appear in their place [closed]

I'm writing a journal paper using the IEEEtran class and .eps images. All of them appear correctly but the ones that have longer caption appear at the end of the document. For example, ...
2
votes
1answer
121 views

Captioning with Tikzpicture

I am trying to put a caption under the following flowchart in latex but I have not succeeded so far. Any help would be appreciated. \documentclass[a4paper, 10pt, conference]{ieeeconf} % Use this ...
3
votes
1answer
647 views

Argument of \caption@ydblarg has an extra }

A misleading error message from the following code: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure}[!ht] \centering% \subfloat[]{ ...
1
vote
1answer
33 views

Can not redefine the command of \figureformat (\figureformat undefined)

I want to redefine the \figureformat to customize the output of figure captions: \renewcommand*{\figureformat}{\thefigure.\figurename} However, it gives an error when I compile: \figureformat ...
1
vote
1answer
143 views

Adding a horizontal rule between caption and lstlisting inside a tcolorbox

I have example listings for a book. I'd like a horizontal rule the width of the tcolorbox between the caption and the listing. The code used to produce it: ...
0
votes
1answer
102 views

Short caption in margin

Is it possible to insert the short caption of a figure in the margin next to it? I tried to get it working with etoolbox but without success. Additionally it has to work with the package subcaption ...
4
votes
2answers
144 views

Cite references in figure caption

Problem: Getting error messages when trying to cite a reference in the figure caption. Not sure what I am doing wrong. Can't seem to find that this has been up previously either. Minimal Working ...
2
votes
1answer
49 views

\floatfoot and equations

I am using \floatfoot to creates notes for a figure in a paper. I would like to include an equation in the notes for this figure. Specifically, I am trying to use the following code: ...
4
votes
2answers
131 views

remove blank space before text under figure when using sidecaption and memoir class

As you can see, when using sidecaption in memoir class, the text in the margin control the text position under the tabulate. Is it possible to remove all this blankspace under the tabular ...
3
votes
1answer
63 views

adding caption under figure for addplot

How can I add caption under my function, for example [Fig 1], and how can I refer to that figure? My Code: \begin{tikzpicture} \begin{axis}[ xlabel=$x$, ylabel=$\mu(x)$ ] ...
2
votes
1answer
127 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
71 views

caption3.sty file in texlive2014 appears to have a Runaway argument [duplicate]

I installed Ubuntu 14.10 for the sole purpose of typesetting my thesis with Texmaker or any of it kind. However my document won't run because of an apparent error in at least the caption3.sty file in ...
1
vote
1answer
138 views

Centering the caption of figure without warning

Original, After I add a package \usepackage[justification=centering]{caption}, it became it's exactly I wanted, however, an unexpected warning came out, it said: ...
2
votes
1answer
71 views

error on adding item list in sidecaption using memoir

I try to add an item legend using tikz drawed bullet in sidecaption with memoir, using Texlive 2013 updated, and xelatex, to this working MWE \documentclass[a4paper, 11pt,twoside, openright]{memoir} ...
0
votes
0answers
18 views

How to include in caption the symbols used for tikzpicture? [duplicate]

I am trying to produce a plot and I encounter some problem within the caption. How do I reproduce the same symbols that I used in my figure? In the following example I would be interested in the ...
0
votes
1answer
44 views

How to insert pictures without scaling?

I'm trying to insert two figures side-by-side, following this example from the wikibook: \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{figure} \centering ...
3
votes
2answers
68 views

How do I align the caption of these two pictures in my minipage at same `height´?

It might be a silly question, but it is bothering me that I cannot fix it at the moment. \medskip \begin{figure}[h] \begin{minipage}{.3\textwidth} \centering ...
4
votes
2answers
131 views

Figure caption inside a tinted box

I would like to print the figure caption with a "tinted box" (a box with a background colour). How to achieve this? My MWE is : \documentclass{book} \usepackage{lipsum,graphics} \usepackage{caption} ...