Tagged Questions

{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

0
votes
1answer
159 views

Tabularx, Caption and Footnotes

I need to have some tables with the following requirements: The need to be of width \textwidth; The caption has to be on top of the table even at automatic page breaks; The tables should not float; ...
1
vote
0answers
48 views

What is the best way to number equations by chapter (1.1, 1.2, 2.3,…) or continuous (1, 2, 3,…)? [closed]

Some documents are formatted by numbering the equations by chapter (1.1, 1.2, 2.3,...) others in continuous (1, 2, 3,...). The same hold for tables and figures. Which one is better in your option and ...
2
votes
1answer
145 views

tabular can't caption is separated

I'm creating a table like this: \captionof{table}{caption} \begin{tabular}{@{} *5l @{}}\toprule \emph{header1} & \emph{header2} & \emph{header3} \\\midrule item1 & v1 & v2 \\ item2 ...
4
votes
1answer
82 views

Caption of table is too small and does not align with other captions of tables

I am making a paper and for one table I have to use the longtable package, after struggling a lot I am almost done with this table. One problem left, the caption does/header of the table is too small ...
3
votes
1answer
61 views

Setting figure caption font face

I'd like to change font face of all figure captions. I'm currently using the fontspec package to set main font of the document. I'm also using DeclareCaptionFormat to set font size. I fail to see any ...
2
votes
1answer
66 views

Non break space between figure and caption for figure float h

I'm currently creating a two columned article. My document class is given by: \documentclass[10pt, aps, prb, twocolumn]{revtex4-1} In my article I would like to include figures. The way I do this ...
3
votes
1answer
40 views

How to reference figures by the order their reference appears in the text rather than the order the figure appears in the text

I have a two page document with three figures, A and B is small and C is big. Therefore in this document I have my text all on one page and then on the second page my three figures. To make best use ...
4
votes
1answer
63 views

How to insert a page break between a figure and its caption?

Is it possible to insert a page break or put the figure caption on the following page. The figure is too big for both the figure and caption to fit on a single page. \begin{figure} \centering ...
3
votes
1answer
139 views

Caption in the outer margin using longtable within a tufte-latex document

The tufte-latex class has a page layout with a wide margin on the side; the class redefines the figure and table environments so that the captions are put in the margin, side to side with the floating ...
1
vote
1answer
42 views

how to modify the position caption with subcaption pack?

How to vertical modify the caption? The code is \documentclass[pstricks,border=12pt]{article} \usepackage{pstricks,pst-node,pst-blur} \usepackage{subcaption} \usepackage[utf8]{inputenc} ...
2
votes
2answers
62 views

Displaying caption of a long table on multiple pages

I'm trying to display a table on three pages. What's the best way to display captions on these three pages and how to do that, please? \documentclass{report} \usepackage{longtable} \begin{document} ...
2
votes
1answer
48 views

matching height of subfloats by defining height screws up captions

I am Using the following method to put two pictures beside each other in one figure: \begin{figure}[ht] \centering \subfloat[ Caption 1 ...
1
vote
1answer
59 views

Algorithm floating like figure with border

This is my document (LuaLaTeX): \documentclass[a4paper,twoside,12pt]{scrreprt} \usepackage{fontspec} \usepackage{a4wide} \usepackage[english]{babel} \usepackage{caption} \usepackage{blindtext} ...
5
votes
1answer
82 views

customized caption and label for adjustbox

The question is a follow up of the question posted here how to make adjustbox work correctly . \documentclass{scrartcl} \usepackage{adjustbox} \usepackage{wrapfig} \usepackage{lipsum} ...
4
votes
1answer
140 views

How can I caption an enumerated list?

When I have a list such as \begin{enumerate} % List contents here... \end{enumerate} Or \begin{itemize} % List contents here... \end{itemize} How can I caption it, eg. as "List 1.1"? I could put ...
2
votes
1answer
166 views

Size and position of the table caption

I need a caption of my table/figure to be 9pt size. The whole text should stay 12pt-sized, while only table/figure caption should be 9pt size. I also need the caption to appear above the table, and ...
0
votes
0answers
31 views

Problem with footnote in captionof [duplicate]

I have a small problem with footnote. My code: \documentclass[12pt, a4paper]{mwart} \usepackage[demo]{graphicx} \usepackage{caption} \begin{document} Some text... \begin{center} ...
1
vote
2answers
93 views

Two figures with side captions next to one another

I currently have the following figure placed at the bottom of my page: \begin{SCfigure}[][h] \centering \caption{Georg Kantor (1845--1918)} ...
3
votes
0answers
67 views

Allow \listoffigures captions to break across pages

I'm using the command \listoffigures to list all figure captions after the contents page. Many of my figure captions are quite long and as a result LaTeX is placing 2 captions on a page with a large ...
1
vote
1answer
35 views

include figure, auto-fit image and add caption at same time

I have to include some images to illustrate a problem. So I used the following code to auto-scale them to text-witdh, which works amazing. But how can I add some caption? (I have to label and number ...
3
votes
2answers
109 views

An .eps image, whose caption is too separated from the image.

I am writing a thesis in a large .tex file in Vim. I have an .eps image, whose caption is too separated from the image. I have extensively read similar posts, tried almost everything, but the ...
1
vote
0answers
47 views

Hyperref and custom caption in float environment link wrong

I have a custom caption style. If i add a reference to a float the link points to the caption which is below the floats content, but it should point to the top. I probably forgot to set a ref line or ...
3
votes
1answer
113 views

Label in a ntheorem environment witout additional caption

I defined a new theorem with the ntheorem package. If i want to add a label to a certain theorem i get an error from the caption package. And referencing doesn't work. Package caption Warning: ...
6
votes
1answer
102 views

Redefine figure counter with scrbook

I am using the scrbook (KOMA Script) class, as this MWE shows: \documentclass[11pt,a5paper,twoside,BCOR=8mm,DIV=12,headings=normal,open=right]{scrbook} \usepackage[ngerman]{babel} ...
6
votes
3answers
162 views

How to insert a picture without the name “figure”

I am trying to put a figure with a subtitle but without the name "figure". For example: 'This is a triangle' and not put the name "Figure": 'Figure: This is a triangle' I tried: 1. ...
0
votes
1answer
36 views

How to make short caption show up

I'm using the caption package. I want to say \caption[My short Caption] {My longer longer caption} and have both show up? How can I do that?
1
vote
1answer
41 views

Head line alignment of top row in a long table

I am unable to set alignment (right aligned) of the top row of long table. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{array} ...
2
votes
0answers
72 views

extending captions for A3 pages

Im writing my Thesis in A4 format and sometimes I need to use A3 pages for bigger images. I managed to create a single A3 page within the A4 document and I extended the header up to the right margin. ...
3
votes
1answer
119 views

Left-alignment of table caption. Forced to center

I am trying to get the table caption left aligned (as the first table labeled "parameter estimates" using tabularx), but in tabular* environment (also happens to my tabularx in the original document) ...
3
votes
1answer
86 views

How to suppress hyphenation in figure and table captions?

To suppress hyphenation in section names I use \hyphenpenalty=10000 in \titleformat command. Is there any similar way to suppress hyphenation in figure and table (and longtable) captions?
1
vote
1answer
89 views

Caption under table

Is it in any way possible to make a caption right under my table? I've tried \caption{table 1}, but that does not work, nothing changes. And how do I get the text aligned to the left in the column? ...
2
votes
1answer
53 views

Caption appearance

Everytime I write a caption of a figure or table that occupies more than one line it appears in the document like Figure 6.2: Polarization curves at 750C for 3P_{CO}=P_{H_{2}} at the ...
3
votes
1answer
78 views

When using the accents package: underaccent greek symbol in caption of a table gives error

I am using the accents package to place a bar under math symbols. This works very well when using it in equations, and also in normal text (obviously still in the math environment $...$). However, ...
1
vote
1answer
147 views

Table Caption below the Table

I am writing a paper and I would like to have the caption of the table below the table instead I have it on top of it. This is my code: \documentclass{article} % The style file \usepackage{imav} ...
0
votes
1answer
59 views

Single instance changing of caption

I have a setup where I need, for one instance, to make a caption read Equations rather than Equation. Is there a way to do this The code that I have is below Cheers \documentclass{scrreprt} ...
1
vote
1answer
47 views

How can I align two captions? [duplicate]

I have a figure and an equation side by side. The code is as follows: \begin{figure}[H] \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=.8\linewidth]{cycle} \caption{The opsin ...
2
votes
1answer
135 views

Change font size of caption, only in marginpar?

I'm using \marginpar and \captionof to have figures appearing in the margins of my documents, including figure captions. This works well. But now I want to change to font size of the captions ...
0
votes
0answers
60 views

PDF size limit - load only labels from files

I have huge amount of figures in thesis (72 pages) but I'm limited in size of thesis.pdf to 20MB and size of appendix.pdf to 30 MB When I compiled my thesis it got 280MB, I thought that I can split ...
2
votes
1answer
76 views

Prefix “Figure” and giving reference to figures

Is it possible to adjust the font size of the prefix Figure when captioning an included image? Furthermore, is it possible to refer to a picture in a meaningful way without using a caption; I tried ...
0
votes
2answers
131 views

Lower case in Table caption

I want to write $N_{\textrm{act}}$ in Table Caption. However, I get act as small caps ACT. I want act as lowercase in text $N_{\textrm{act}}$.
1
vote
1answer
43 views

gb4e breaks math subscripts in \caption

As @egreg notes in this answer to Can't compile XeLaTeX document with biblatex and gb4e together, the package gb4e makes _ and ^ active to be able to use subscripts and superscripts in ordinary ...
2
votes
1answer
46 views

Redefine table caption

I'm writing a paper in IEEEtran twocolumn format. When putting pictures in my paper I prefer to use the Table environment over the Figure environment. I feel that the Table environment does a better ...
1
vote
1answer
66 views

longtabu newenvironment caption error [duplicate]

I want to make an environment for my tables. See the following example: \documentclass[a4paper,10pt]{scrartcl} \usepackage{longtable} \usepackage{booktabs} % \toprule, \bottomrule ...
4
votes
1answer
81 views

Footnote with url in caption?

I try to put a url as a reference in a caption of a figure. But it seem to give all kinds of errors like: ! Argument of \@caption has an extra }. ! Paragraph ended before \contentsline was complete. ...
7
votes
3answers
139 views

Only get filename and extension of listing, not whole path

I am trying to add the file name as caption. I was able to do this setting caption=\lstname but this shows the full path. I am now trying to get the name of the file and extension to show only. I ...
1
vote
0answers
61 views

`\protect` with `\cite` inside `\caption`

I've read several posts and other webpages now on using \protect in front of \cite inside \caption. They all advise using \protect in this situation, and many go as far as to say that you must use it. ...
1
vote
0answers
21 views

Which macros define spaces around table and float environments? [duplicate]

I am trying to define the length of vertical space between tables and text globally in my document. So far, I have been using \setlength{\intextsep}{0cm} \setlength{\floatsep}{0cm} ...
1
vote
1answer
30 views

How to direct all sub-captions of the subfigures in a central caption

Is there a way to direct all the \caption{}'s found within multiple nested subfigure environments within a central \begin{figure} environment given as \begin{figure} ... ...
4
votes
1answer
93 views

How to make the subtitle (a or b) of an image position correctly?

I want the following subtitles (a or b) to be shown correctly not like the current view as shown in the following image: Also how can I add more spacing between the two images? \begin{figure*}[htp] ...
4
votes
1answer
69 views

Distorted caption in listings

The following code produces strange results. Everything looks fine, if I don't include the subfig package or don't use the xleftmargin parameter. It also works if I use captionpos=t. Is there a ...