{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
432 views

Left/Center/Right references to subfigures

I have a figure with three subfigures shown in the code sample below. How can I change the reference to a subfigure so that I have Figure 1 (left), Figure 1 (center), and Figure 1 (right) instead of ...
1
vote
1answer
147 views

Making figure captions wider

I have the working sample below: \documentclass[a4paper,11pt,twoside]{report} \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage[T1]{fontenc} \usepackage{amsmath, graphicx, ...
1
vote
1answer
107 views

Order of `float` and `caption` packages in preamble

I am using float and caption packages in my document, and also packages like tabularx, listings, algorithm... that (as far as I know) define floating elements or elements that have captions ...
1
vote
1answer
3k views

Adjust the caption to figures on minipage

Using minipage, is posible to split the (a) (b) letters above any figures, in order to perfectly center them? \begin{figure}[tpb] \subfloat[]{ ...
1
vote
2answers
2k views

Align table caption with left border of longtable

Subj. I cannot use singlelinecheck=off because it aligns it to the left border of the page. And why table is too narrow? \documentclass[12pt,a4paper,oneside]{article} ...
1
vote
1answer
392 views

captions on animation within tabular

I am trying to make a beamer frame with 4 animations on it. I am currently arranging them in a tabular with 2 col and 2 rows. \begin{tabular}{cc} \animategraphics[...animation arguments ...
1
vote
2answers
2k views

Rotate table with caption: “Not in outer par mode. \begin{table}[h]”

I would like to rotate one table with caption however it returns me an error Missing \endgroup inserted ...omparação de Gerenciadores de Documento} Undefined control sequence \end{sideways} ...
1
vote
1answer
4k views

Move the position of figure subcaption of subfloat command

As the following code shows, it will label an 'a' and 'b' under each picture. How can I put the label at the left-top corner of each figure? \documentclass{article} \usepackage{graphicx} ...
1
vote
1answer
397 views

Caption alignment

For my master degree thesis I'm using a quite complicated latex template. The relevant part of the template is here: http://pastie.org/1728702 Probably this wasn't a good idea since I cannot ...
1
vote
1answer
627 views

Subfig caption doesn't start at start of line

I have a situation where the subfigure caption doesn't start at the start of the line. \captionsetup[table]{width=\textwidth} is added to try to have the caption take up the whole line rather than ...
1
vote
1answer
520 views

Unequivocally force first reference to same page as the referred item?

Background Writing a manual using LyX. All tables, figures, and source listings are always referenced in the paragraph (or enumerated step) that immediately precedes them. The preamble to the manual ...
1
vote
1answer
24 views

Remove hyperlink from figure captions

I have been asked by the a journal editor to remove the blue highlighting (i.e., hyperlinks) in all figure captions. The following MWE generates the below output (provided that the ctanlion.eps file ...
1
vote
1answer
16 views

Caption of algorithm2e to the upper left corner without ruled option

I don't want to use ruled option, but still, I want the caption of my algorithm to be at the upper left corner. I tried \renewcommand{\@algocf@capt@plain}{above} but it only moves the caption ...
1
vote
1answer
25 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 ...
1
vote
1answer
27 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} ... ...
1
vote
1answer
87 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 ...
1
vote
1answer
37 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} ...
1
vote
1answer
55 views

Optional caption in listings (for listoflistings)

I have some cites in my captions. But I do not want to appear them in the table of figures or listings. With figures I managed to display an different caption like this: \begin{figure} \centering ...
1
vote
1answer
188 views

IEEEtran: centering (double-column) figure captions

I'm looking for a method to center the figure captions in single- and double-column mode. Here is my code \documentclass[journal]{IEEEtran} \usepackage[caption=false]{subfig} ...
1
vote
3answers
65 views

How to add multiple images in one place using captions like Figure x. a, Figure x.b?

Is it possible to caption the two figures as Figure x.a, Figure x.b?
1
vote
1answer
96 views

Figure to Fig in both Caption and Autoref [duplicate]

I need to change the caption Figure to Fig. for a journal. I am currently using: \usepackage[font=small,labelsep=period]{caption} and %Caption display style ...
1
vote
1answer
86 views

How can I access the style defined by \DeclareCaptionLabelFormat elsewhere?

Question I have defined a certain font style for my captions and would like to use this in another part of my document. How can I access this style, so that I can reuse it? NB: I want to reproduce ...
1
vote
1answer
66 views

How to make figure captions working inside a macro?

I am writing a report often having the need to insert two figures next to each other with separate figure numbers (not subfigures a,b). To speed up the process I wrote a macro but somehow the captions ...
1
vote
1answer
96 views

Usage of \caption command in converting LaTeX files to HTML using tex4ht

Hi I'm new to LateX and Tex4ht. So please bear with my inexperience. I am required to convert LaTeX source files into HTML (I further require to compile them into .chm files; I have decided to first ...
1
vote
1answer
37 views

How is it possible that references are not in the correct order if I put them in a figure caption in LyX?

I'm using LyX and I added a reference to a figure caption. Now this reference is the number [1] in the reference list even if it appears later than many others. It looks like the float captions have a ...
1
vote
1answer
76 views

Table caption to the left or right of table

I am unable to find a method to place the caption of a table to the right or left of this specific table. Does anyone know if there is a way to do this in plain TEX or Koma Script (eventually in ...
1
vote
1answer
107 views

How to left align caption inside subtable?

I have the following code: \documentclass[letterpaper,12pt]{article} % things needed to include figures \usepackage{subfigure, graphicx} % float must be included for the [H] to actually work ...
1
vote
1answer
68 views

How to avoid longtable caption repetition in list of tables?

In the below MWE, the caption was repeated twice in the list of tables. How to make appear only once? \documentclass[oneside,toc=graduated]{scrbook} \usepackage{longtable} \usepackage{booktabs} ...
1
vote
1answer
78 views

How to exclude some algorithms for \listofalgorithms

I tried with \captionsetup{list=no} but it doesn't work for the algorithm listing. Any ideas? I am splitting alg. over several pages using algorithm2e and don't want the captions of the split ...
1
vote
2answers
104 views

Can someone help revise the style file to make captions of figures as Figure 1.1, 1.2…2.1,2.2 …3.1,3.2?

Now it seems that the captions are numbered from 1,2,3,...... I want it numbered as Figure 2.1, Figure 2.2,... Figure 3.1, ... The style file is as follows: \@ifundefined{DeclareOption}{}{% LaTeX2e ...
1
vote
1answer
162 views

subfigure numbering parentheses flipped with babel + right-to-left language + subfig

Eyal's babel incompatibility of the week... this time a question due to H.R. on the IVRITEX mailing list. The babel is incompatible with the subfig package. If you add a subfig with a caption: ...
1
vote
1answer
432 views

How to make captionof appear just in one slide in Beamer

I am trying to create an overlay of two pictures in Beamer. The first one has a caption and the second one doesn't. I tried using \captionof but the caption keeps appearing on the second slide. ...
1
vote
1answer
159 views

long table's and figure's captions

How can I make the table and figure captions aligned in the list of tables or list of figures , my problem is that the list of figures and list of tables are going outside the page margins. ...
1
vote
1answer
271 views

Deleting colon while using \renewcommand for table names

I have to rename one of the many tables as Fig. But executing the below script resulted in ':' before the caption. \renewcommand{\tablename}{} \renewcommand{\thetable}{} \begin{table}[!h] ...
1
vote
1answer
162 views

TikZ node causing problems inside a \caption [duplicate]

Following an example offered here, I want to insert colored, circled numbers referring to items in a figure (figure details left as an exercise to the reader) into my text. The numbers are defined ...
1
vote
1answer
81 views

Two issues: Causing Sumatra not to jump to document beginning after compiling an writing under caption title

I'm having two problems with my MiKTeX, TeXnicCenter and SumatraPDF configuration The first issue is about sumatra. I like the fact that sumatra does not need to be closed upon re-compilation of my ...
1
vote
1answer
416 views

How can I left align the text in the figure/table caption?

How can I left align the text in the figure/table caption? This is the text I am using to add an image \begin{figure}[htbp] \centering ...
1
vote
2answers
327 views

How can I edit the caption of a LaTeX table

I have a problem with the caption of LaTeX tables. Is there any way to edit the caption of my LaTeX tables so that not all captions start with “Table1” Can I edit the second file into displaying ...
1
vote
1answer
3k views

Add source to figure caption

How can I add a source to a figure? I need to add \ref, \cite or just free text. Something like that: \begin{figure} [ht] \centering \includegraphics[width=0.95\textwidth]{res/figure.pdf} ...
1
vote
1answer
151 views

Removing Figure: from some pictures [closed]

I've searched the web, but I didn't have any luck with this. I have two pictures in a document, and I would like for one to have a caption, and for the other not to have one. So far I've only found ...
1
vote
1answer
173 views

How to use formattings of the caption-package within the hvfloat-package?

With the caption-package I'm declaring the style of my table- and figure-captions: \RequirePackage[singlelinecheck=false, listof=true, tableposition=top]{caption}% ...
1
vote
1answer
74 views

Command for table with label

How can I create a command for a 2 tables with a label on top and a command for the options below? example of what i am saying is:
1
vote
1answer
621 views

footnotesize not working with longtable and landscape

I can get \footnotesize to work when I'm using landscape & longtable. However, my table is landscape with table-->longtable in the environment, and when I do this I can't get the \footnotesize ...
1
vote
2answers
876 views

How to change the position of the caption in a “narrow” and “minipage” environment?

I have some huge figures to include in Latex. Therefore I use the "minipage" and "narrow" environment to place it right at the desired position and to move it to the left until it looks centered. ...
1
vote
1answer
542 views

Interaction of hyperref, capt-of and redefinition of @makecaption [duplicate]

Possible Duplicate: Remove colon in the caption of a figure without using caption package This is a very tough question and I have posted minimum example below. Because I don't want my ...
1
vote
1answer
126 views

Customize text format of captions by parsing content of \@caption

I need the first sentence of my captions to appear on its own line in a \large, bold font. I also need to same document to easily produce standard captions (all same font, no line breaks). I have ...
1
vote
1answer
347 views

How to make half-title pages containing captions with conditional headers

I am required to typeset some (long) figure captions in the "half-title page(s)" as they do not fit in one page with the figure, for a similar example see this link (except that on the first page I ...
1
vote
0answers
13 views

caption above figure using knitr

This is a question originally asked on stackoverflow, but it seems to receive no attention and answers there. Since it's related to latex, I'm posting it also here hoping to receive some hints. I ...
1
vote
0answers
26 views

Reference(Source) directly under the caption

Is there a way to write the refernce of a figure directly under the Figure? \documentclass{article} \usepackage[ngerman]{babel} \usepackage{filecontents} \usepackage[backend=biber, ...
1
vote
0answers
18 views

subfigure global counting caption

I would like to keep subfigure count my figures globally and label them continuesly. This is the way it is: [Fig 1] [Fig 2] [Fig 3a Fig 3b] [Fig 4] And that is the way I want it: [Fig 1] [Fig ...