{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
60 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
80 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
21 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
26 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
33 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
125 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
27 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
83 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
137 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
30 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
33 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
36 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
35 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
63 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
298 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
67 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
119 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
41 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
73 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
145 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
14 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
90 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
46 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
53 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
28 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
89 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
46 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
64 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
41 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
60 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
59 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
34 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
52 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
82 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} ...
0
votes
1answer
30 views

Multiple layout problem with sidecaption, subbottom and memoir

This is not the first time i post (see here and here) about sidecaption environment error and memoir class, but i continue to have lot of problem with my layout. I search a way to : make correct ...
2
votes
1answer
59 views

figure caption inside float with float

I have caption with inside float and created based on Caption inside figure float. But when compiling it's showing ! LaTeX Error: Not in outer par mode. How do solve this? My MWE is: ...
3
votes
1answer
96 views

How can I insert multiple images with captions in a non-floating environment?

I'm writing my master thesis and I need to place a large number of images and tables, as in the following way: \paragraph{name 1} ...long list of images and tables.. \paragraph{name 2} ...
3
votes
2answers
46 views

Edit caption settings in SCfigure environment

I am using the SCfigure environment, from the sidecap package because I wanted to have captions to the side of my figure. After twitching the parameters for a while, I managed to make things look like ...
3
votes
1answer
84 views

Caption inside figure float

I would like to expect the below output in my LaTeX. The figure caption should be place in the bottom of the figure. The text should be plurred with opacity. How do achieve this? My MWE is: ...
3
votes
2answers
79 views

How to remove spacing between figure and caption in the beamer class

i'm creating a presentation with the latex beamer class and want to change the spacing between the figure and the caption. I think it is to large at the moment. ...
2
votes
1answer
39 views

Moving caption of the algorithm upwards

I have the following code: \documentclass{scrbook} \usepackage[linesnumbered,ruled]{algorithm2e} \begin{document} AAAA BBBB \begin{algorithm} \vspace*{-1cm} \caption{My Caption\ldots} My ...
2
votes
1answer
28 views

How do I change the numbering system of table captions?

Normally when a table is captioned, it comes out as "Table 1: Blah blah...", but I want to change it to "TABLE I. Blah blah..." How do I do that? So far, I've figured out how to change the title and ...
3
votes
1answer
133 views

How to add left top-aligned letter to LaTeX subcaption figure?

I am using the subcaption package to place figures side-by-side, and I need to have labels in the form of letters to the top left of the figures. I.e. I am trying to achieve A [Figure] B [Figure] ...
2
votes
1answer
32 views

Tabulate text within caption

I would like to tabulate text within a caption. See below what I obtain with my code: \begin{figure}[htbp] \centering \includegraphics[width=6in]{topfigure.png} ...
6
votes
2answers
237 views

Draw tikzpicture in figure caption

I want to make a small tikzpicture inside the caption of a figure, I namely want to create a legend of a plot in the caption. I have read section 4.9.6 Legends with \label and \ref from the pgfplots ...
0
votes
0answers
46 views

Sidecaption layout question using sidelegend memoir

Linked to this previous post, i make some tests to have more elegant sidecaption using memoir class. I try to reproduce this layout, with two type of caption style : a normal centered caption with ...
5
votes
1answer
157 views

Change caption font using xelatex

I'm new to xelatex, but I've managed to change the font of the chapter, sections, and so on. Now, I want to change the global font of the float captions (figures, tables...). I've named the font ...