{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
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
45 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
74 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
139 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
97 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
95 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
54 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
94 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
165 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
48 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
160 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
66 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
79 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
150 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
46 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
48 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
73 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
87 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
161 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
66 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
32 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
100 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
71 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 ...
6
votes
1answer
186 views

Algorithm2e and hanging captions

I'm having issues trying to make the captions in Algorithn2e hang, as in the table caption pictured below. I plan on using them together with arsclassica/classicthesis, but it seems neither of these ...
7
votes
1answer
137 views

Hyphenation in listings captions doesn't work correctly

I have the problem that automatic hyphenation in listings caption doesn't work if automatic linebreaking is activated. It works if I set breaklines=false or captionpos=t, which is weird. Is there a ...
6
votes
1answer
96 views

Change caption of a single/few figures

The captions of my figures read, as usual, "Figure #: some text". I want a few of them, which are scattered through the text, to read "Diagram #: some text" (the counter being consecutive). What is ...
1
vote
2answers
84 views

The distance between the caption and the table

I use the following table in Latex. And I want to decrease the distance between the caption and the table. And also I want to adjust the distance between the table and the above text; the distance ...
4
votes
1answer
34 views

Figure caption within quote environment

In order to provide visual contrast, I have decided that I would like to have a certain section of a document I'm writing indented. To achieve this, I've simply been using the quote environment ...
1
vote
1answer
159 views

How to change font type and size in case of: table/figure caption, page number?

I use packages: fancyhdr and caption. I want to change font to Arial only in those two cases: 1.table/figure caption 2.page number Also I want to change sizes to 10pt and 11pt I know in ...
0
votes
0answers
55 views

ALign the caption of table to the left

I have this issue with the caption of a table aligning to the center of the page. I want to align it to the center of the table. How can I do it?
6
votes
1answer
142 views

How to show figure captions in Arabic language?

I want to show the caption of the figure in Arabic language. Given the unpredictable interactions with other packages, I tended to keep them in the preamble of the MWE. Questions How to set the ...
5
votes
1answer
120 views

Caption for align environment

I would like to add a caption under the set of equations that I have in the align environment (i.e., \begin{align} ... \end{align}). I tried \caption{...} inside the align environment, but it didn't ...
1
vote
1answer
86 views

Koma script captionbeside topbeside alignment question

Code based on the example of scrguien 3.12 (2013-12-19) page 122 gives bad result. Code: \documentclass[captions=topbeside]{scrbook} \usepackage[english]{babel} \begin{document} \begin{figure} ...
5
votes
1answer
427 views

change the font of table caption

In my poster doing with baposter, I need to change a font of some figures. I know that we can use \usepackage[font=small,labelfont=bf]{caption} to cnfigure the font of the caption. In a specific ...
0
votes
1answer
51 views

Longtable caption too separated

I'm using \longtable for a wide table (wider than the example) and the caption appears too separate from the table. I know I could use the option skip like \usepackage[skip=0pt]{caption}, but this ...
4
votes
1answer
44 views

Caption package in subfigures

In Wikibooks it is suggested that to have subfigures, one should use the subcaption package. However, in the given example, the caption package is also included. Is it necessary here? If so, what is ...
3
votes
2answers
107 views

How to align table and caption when table is centered on page

I haven't been able to figure out the best way to set up my tables. These are the features that they are supposed to have: Should be centered on page Caption should be "justified" and aligned with ...
1
vote
3answers
356 views

Text in quote style with caption

I need to put a output of a program in a quote stile but i need to put a \caption tag like an image or a table. I need to do something like: text other text ... Output X: something What i can do ...
4
votes
1answer
56 views

Wrapfigure not wraping around caption

I am kinda new to tex and I am confussed that wrapfigure is not wraping around caption properly. Here is my text : \begin{wrapfigure}{r}{0.5\textwidth} \vspace{-20pt} \begin{center} ...
2
votes
1answer
32 views

How to chang the colon after figure number to another symbol?

I want to change the colon in the caption to another symbol e.g. Figure 1: this is figure to Figure 1 | this is figure How can I do this?
2
votes
1answer
25 views

How to pre-evaluate commands that are problematic for a specific environment?

More specifically, my problem occurs in the caption environment, but I imagine this applies elsewhere. I would like to insert the text generated by \suppOrApp and store it in the variable \sOrA: ...
3
votes
1answer
120 views

Justification of captions

I know there a few similar questions about this but the option justification=justified is not working properly on my figures. I'm getting everything but "Figure n:" justified, so the numbering labels ...
2
votes
2answers
77 views

How can I remove an empty caption line

I'm generating LaTex automagically from a lengthy document that is written in the multimarkdown language, compiled by a software package called Scrivener. It's a workflow that works well, but this is ...
4
votes
1answer
63 views

Splitting a caption and cross-referencing

I'm currently writing my thesis and I'm struggling with my redefinition of the caption command. I've got large captions which I don't want to show up in my list of figures. Of each caption I want ...
1
vote
0answers
19 views

Why is space inserted at beginning of table or figure caption when using macros to define caption label? [duplicate]

Here is my MWE. As you can see, the problem only happens when we use the macro \suppOrApp. \documentclass{article} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{caption} ...
3
votes
1answer
50 views

Sidecaptions next to sidewaystables

I'd like to place a caption left/right next to my table which is rotated by 90 degrees. So the caption should be next (e.g. bottom right) to the table and both, the caption and the table should be ...
2
votes
1answer
67 views

center caption with subimage

I have the following image: Produced from the following LaTeX code: \begin{figure}[h!] \centering \begin{subfigure}[b]{0.6\textwidth} \includegraphics[width=0.7\textwidth, ...
5
votes
2answers
82 views

captionsetup url color select

I've changed my caption font color to gray as seen in the screenshot below. My problem is that references is black (which I've chosen in the hypersetup), how do I change this to be gray as the rest of ...