{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

3
votes
1answer
10 views

How to make the Figure Caption “Figure 1.5” bold in Tufte Latex?

Unfortunately the standard options like \usepackage[labelfont=bf]{caption} Do not work with the tufte-class because Package caption Warning: \caption will not be redefined since it's already ...
2
votes
2answers
48 views

Caption figure in Latex

When I insert a figure in latex, i see under the caption the term "figure". The editor is Gummi on Ubuntu. The code that I inserted this code: \usepackage{caption} \begin{figure}[htp] \centering ...
3
votes
1answer
11 views

Suppress continued float in Endfloat table/figure list

How can I suppress the listing of the second table here in the Endfloat table list? I have pseudo-code here declaring a variable table-list-entry, but I don't think such a command exists. Is there ...
2
votes
1answer
41 views

How to change the caption of Algorithm

{\tiny \restylealgo{boxed} \begin{algorithm} %\centering{ \SetLine \KwIn{$A$. } \caption{} %} \label{algo2} \end{algorithm} } In the caption it is coming as "Algorithm 2:" Is it possible just ...
3
votes
1answer
43 views

Figures with nice caption style

I am using the code below to layout captions of listings. How can I achieve the same effect for figures, i.e. having a colored frame and the same caption style? While I would like the background of ...
2
votes
1answer
25 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
33 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
23 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
65 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
24 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
31 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
34 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} ...
1
vote
1answer
32 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
45 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
21 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
74 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
34 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
46 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
45 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
74 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
20 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
22 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
26 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
106 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
35 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
24 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
64 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
114 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
22 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
32 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
31 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
32 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
59 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 ...
12
votes
2answers
278 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
51 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
114 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
31 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
37 views

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

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
64 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 ...
2
votes
1answer
77 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
12 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
80 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
39 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
43 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
25 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
87 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
41 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
57 views

Measuring/getting size of caption before it is typeset?

To solve a part of Scaling (and annotating) images in a rotated matrix of tikz nodes, scaled to page size?, I'd like to measure the size of a caption before it is typeset, and then use is to calculate ...
1
vote
1answer
38 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 ...
0
votes
0answers
47 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: ...