{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

1
vote
1answer
99 views

How can I put the table caption on the top in pdfLaTeX? [duplicate]

I have this code \begin{table}[H] \caption{My Caption } \centering \begin{tabular}{*{6}{|p{3cm}}} \hline\hline But caption comes at bottom. I can't use this \begin{table}[Ht] as it ...
5
votes
1answer
66 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 ...
1
vote
3answers
72 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 ...
0
votes
1answer
21 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
26 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
39 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 ...
4
votes
1answer
30 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} ...
0
votes
0answers
11 views

Preview package for combining eps figures

I was planning to use preview package for combining my subfigures (made by caption and subcaption packages) to one figure but I can't get even the basic example working. Here is my try: ...
-1
votes
0answers
38 views

space between top caption and table

Im have a question concerning the space between table and it's caption. When I use the three part package the caption is nicely placed in the top of the table, but once I added the table environemnt, ...
0
votes
2answers
998 views

Problems with undefined control sequence in list of figures

I'm using TeXLive 2011. I had a lot of problems with compiling my large document yesterday and finally seemed to have gotten back to a working version, however now I get strange error messages in the ...
2
votes
1answer
22 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
23 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: ...
54
votes
9answers
37k views

Using \footnote in a figure's \caption

Maybe this is an easy one, but I struggled with this now too long :) I want to have a footnote in a caption of a figure, see the example. \begin{figure}[!ht] \caption{a figure ...
3
votes
1answer
43 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
53 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
32 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
121 views

Change the baselinestretch (line spacing) only for figure captions

I use \renewcommand{\baselinestretch}{1.5} in my preamble to change line spacing of my main text. For my Figure cpations I'd like to have a value of 1.0 or 1.2. Is there an easy way to change the ...
3
votes
1answer
34 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 ...
8
votes
1answer
67 views

How to remove space between a specific image and its caption

In this post (How to reduce space between image and its caption?) there is an excellent explanation about the way you can reduce space between figures and its captions. The problem is it works for ...
2
votes
1answer
29 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
28 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 ...
2
votes
1answer
77 views

PDF reference links when using hyperref and (`ruled`) algorithm2e

I was testing some links within my produced PDF file and recognized that all of the links to an algorithm (from the algorithm2e package) will jump to the beginning of the algorithm with skipping half ...
3
votes
2answers
43 views

captionof increases count by 2

I face a similiar problem like the one described here. I created a command that will output a caption besides an image (in this example replaced by simple text). ...
3
votes
1answer
338 views

Caption automatically centered in a REVTeX document

I'm recently writing an APS paper with REVTeX and encountered a problem. The captions in all figure and table floats are automatically centered instead of being fully justified. I tried \captionsetup ...
2
votes
2answers
36 views

Resize figures using subfloat environment in elsarticle class

I was working with the elsarticle class and subfig package for my article and I used the subfloat environment to include two pictures. However, the scaling of the pictures is completely wrong and the ...
3
votes
2answers
49 views

Preventing caption in new page [duplicate]

This is not about keeping the picture or table close to where they have been mentioned. It is about keeping the caption of the picture (or table) together with the picture. Otherwise the picture and ...
9
votes
2answers
565 views

Subcaption with Beamer

I am trying to use subcaption with beamer, but I get a series of error messages concerning subcaption.sty when I attempt to do so. This doesn't happen in the article document class. Here is a MWE ...
2
votes
1answer
22 views

List of <newfloat> with zero caption in text

new Float type: Illustration How to make a list of illustrations, with captions in the list, but for the illustrations to appear in the text with zero captioning - image only.
5
votes
1answer
62 views

How to get caption of figure/table using table reference?

How can I get the caption of figures and tables using their references? Something along the lines of \refcaption{tab:mytable} would print This is a pretty table., which is the caption of the table ...
8
votes
4answers
4k views

How to add line break to caption without using caption package

I wish to add a line break to a caption, but I would wish to avoid adding of caption package. Is it possible? \documentclass{article} \usepackage[format=plain, ...
1
vote
1answer
60 views

Control vertical space of a caption in a given figure

I have used \captionsetup before mentioning the \caption{} I couldn't find a proper setting of this property. How can I adjust the caption's margin in order to illustrate it clearly? ...
4
votes
2answers
3k views

Use caption and long description for figure

I want to have to following text at my figures: << FIGURE >> Figure 1: Title of my figure which is displayed in the list of figures Here in a new line a long description about the figure, ...
4
votes
1answer
50 views

figurename (captionname) changing

I have a problem with my algorithms, I'm using the mcode-package: I would like the caption to say Algorithmus 1.1 for example. If I try it with a figure environment it does not work, because I don't ...
7
votes
3answers
2k views

Layout with captions in margin and margin notes

Questions summed up below! I want to convert a number of old (read: ugly self-coded html) tutorials into pdfs. They are still read by people, so I think it's worth the effort. The other reasons: ...
6
votes
2answers
82 views

table and caption distance

I am quite new to Latex, and I was wondering, if there is way to change the distance between the caption and the table. If you compile this example you can understand what I mean. ...
5
votes
1answer
103 views

How to make distance between captions of close pictures?

The captions between the pictures are too close to each other. How can I make some space between them, but do not move pictures itself? \documentclass{article} \usepackage{graphicx,subfigure} ...
4
votes
2answers
1k views

Changing label name for algorithm

I have this algorithm: \begin{algorithm} \captionsetup[algorithm]{name=MegaAlgorithm} \DontPrintSemicolon \KwData{$G=(X,U)$ such that $G^{tc}$ is an order.} \KwResult{$G’=(X,V)$ with $V\subseteq U$ ...
2
votes
1answer
48 views

Caption in LyX appears below a “sub-title”

I'm using the following TeX code in LyX for creating a double table. When viewing it in .pdf I don't know why the caption "Main Title" appears below the text Panel A: Effect. Definitely it should be ...
2
votes
0answers
56 views

How can I apply different custom caption styles to different listings?

In the MWE below, is it possible to define different caption formats for the two listings? In the example the first listing should use a blue caption background (like it is now) while the second ...
2
votes
1answer
33 views

Multiple images and proper side-caption positioning

I would like to put three images on one page (as one figure). First two of them stretched over 100% of textwidth and the third one over 50 % with the caption beside the third picture (to spare space). ...
28
votes
4answers
11k views

Two figures side by side [duplicate]

How can I put two figures side-by-side? Not two sub-figures, but two actual figures with separate "Fig.: bla bla" captions. A figure is supposed to spread over the entire text width, but I have two ...
2
votes
1answer
1k views

How to make a caption (via \captionof and extra margins) adhere to minipage margins?

I made use of the caption-package to define a custom layout of the captions. Their width is set to 0.8\columnwidth. As far as I understood the problem, this measure is not used when the caption is set ...
1
vote
1answer
32 views

Subscript in Figure Captions

How do I make text subscript in a figure caption? I've tried both \textsubscript{} and \protect\textsubscript{} but both throw errors.
3
votes
1answer
49 views

Caption beside image in minipage

What i'm trying to achieve: Have two images in one page, one image on the top half of the page and the other the bottom half. Ive managed to do this by: \vbox{ ...
5
votes
1answer
76 views

Table caption in uppercase. I don't know why

\documentclass{IEEEtran} \begin{document} \begin{table}[ht] \centering \begin{tabular}{|l|c|} \hline \multicolumn{2}{|c|}{Default Parameters} \\ \hline ...
2
votes
2answers
80 views

Table caption not appearing in PNAS document class

I am unable to get table captions to show up when using the PNAStwo document class from 2008 (the latest version includes printer marks that I do not want). The documentation says "Figure and table ...
9
votes
2answers
182 views

How to align text within a caption?

I want to give a survey on several techniques within a figure. It turned out, that there are many techniques, so I employed subcaption with subref to describe the matter. However, as there are too ...
12
votes
3answers
9k views

How to limit the figure caption width?

Figure captions seem to wrap at the page width. How could I make them wrap at the figure width instead? Currently, they can easily be mistaken for normal text. \begin{figure}[!htb] \begin{center ...
2
votes
1answer
39 views

Subfigure and caption placement

I have 5 images to place (using the subfigure environment), I would like to place them either in two columns (one with 3 images, the other with 2), or in two lines (idem) and use the empty place that ...