Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [captions]

{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.

0
votes
0answers
13 views

have different caption for images and figures [duplicate]

I need help in the following: inside my book I have images (basically photographs) and figures (results of mathematical calculations), in the epigraph in all cases appears the figure legend. What I'm ...
1
vote
2answers
36 views

memoir: How can I turn off numbering on sidecaption?

Hopefully this is pretty simple for someone who's better at LaTeX than me. I've got a memoir class document I'm putting together, and I'm using sidecaptions, the usual memoir way: \begin{figure} \...
3
votes
1answer
45 views

Space between caption and listing

Obviously, the caption is not beautifully placed; it needs more space between the caption text and the frame/listing itself. How can I do that? I am using the IEEEtran document class and the ...
2
votes
0answers
22 views

Whether bookmarks duplicates or not is dependent on engine and `caption` package

Backgroud This answer of question Bookmark tables and figures says [usage of \bookmark ready to be inserted] Next issue: \caption often sets its argument twice, because it wants to check, ...
0
votes
1answer
18 views

How can I style Listing captions the same as Figure captions?

Here is my listing caption format: Here is my figure caption format: How can I format the listing captions to be the same as figure captions? here is the relevant bit from the style file: % Revised ...
0
votes
1answer
45 views

Avoid automatic centering of caption [duplicate]

I have in the LaTeX source file: \usepackage{subcaption} \captionsetup{compatibility=false} \begin{figure} \begin{subfigure}{0.50\textwidth} \includegraphics[width=0.95\linewidth]{...
0
votes
1answer
30 views

How to display horizontally aligned images with caption?

I'm looking for an advice how to display high amount of images horizontally aligned with caption: there are hundreds or even thousands images in the gallery dimensions of images are unknown, their ...
2
votes
1answer
51 views

Can't Find what's causing the error in this code, trying to insert a figure

\documentclass[12pt]{article} \usepackage{cite} \usepackage[UKenglish]{babel} \usepackage{fixltx2e} \usepackage{hyperref} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{chngcntr} \...
1
vote
1answer
83 views

Entering subcaptions for figures without using subcaption environment

I'd like to realize this picture in LaTeX to show radiation of the dipole. I've already ask this question Radiation diagram. But, I need to have the caption for each diagram WITHOUT using \subcaption!...
4
votes
2answers
76 views

How can I adjust the table caption left/right align with a table?

This is an example picture. I want to make my table like that. Here what I am doing. \documentclass{svjour3} \usepackage{tabularx} \captionsetup{labelfont=bf, justification=raggedleft, ...
1
vote
0answers
21 views

Latex Figure caption [closed]

I am using overleaf.com for writing a paper in IEEE trans template. I use the following code for figure: \begin{figure}[h] \centering \includegraphics[scale=0.1]{ABC} \caption{ABC} \label{...
1
vote
1answer
39 views

LaTeX: \figure + \includegraphics unwanted page breaks and wrong spacing between caption

I'm implementing gallery of scanned documents and I have issues with using \figure + \includegraphics, see the screenshot below: 1) [violet comment] caption of current image and following image are (...
2
votes
1answer
42 views

algorithm2e left-aligning the caption as the caption for figures in memoir

I am trying to left-align the caption of algorithms of algorithm2e to match the captions of the figures. Taking a look at Align Caption to the left , here is my code so far: \documentclass[12pt,...
2
votes
1answer
24 views

Customizing caption of listings within a beamer document

I want to change the font of the caption of the listings within my document. I found the solution of doing it with the package caption and the tag captionsetup: \documentclass{beamer} \usetheme{...
0
votes
1answer
40 views

How to add caption

I have added a figure using the following commands in my beamer presentation. \begin{frame} \frametitle{Abstract} \begin{columns}[c] \begin{column}{.7\textwidth} The point ...
0
votes
0answers
28 views

How can I left align the table captions in the list of tables in my book class document

Some of my table captions are long and they cause some words to have too much space between them. I think they would look much better if the captions were left aligned in the list of tables. I think ...
1
vote
1answer
33 views

Caption alignment in tabularx

I want to take the caption of the table to right from left. Is it possible? \documentclass[a4paper]{article} \usepackage{enumitem} \usepackage{array} \usepackage{multirow} \usepackage{ltablex, ...
2
votes
1answer
34 views

Customisation of longtable caption

I have to change the caption style of a longtable to obtain the same style of a normal table; i.e. to get: , instead of: . In addition, I'd like to reduce the size of the longtable without ...
0
votes
0answers
37 views

\Captionbox already defined

I am using following packages and document class at preamble and at running time, latex editor gives following error. No idea what is happening: \documentclass[twoside]{article} \usepackage{jwe,...
2
votes
1answer
58 views

Which is the standard for the position of the source in figure captions?

Since my university gives no rules about that, I'm following the standard caption positioning: on top for tables, bottom for figures. For some tables/figures, I also have to give the source of them, ...
0
votes
0answers
63 views

Error when include caption in table

I have encountered an error when including caption in table using AIP-cp. When I withdraw the caption, LaTeX runs smoothly. However whenever I include caption (above \begin{tabular} or below \end{...
4
votes
3answers
88 views

/Update/ How could I make the caption of table upright?

I would like to make the caption of my table upright, rather than italic. Here is what I am coding now: Update: Add preamble (only including some packages related to this question) and remove some ...
0
votes
1answer
80 views
1
vote
1answer
27 views

Caption alignement in a sidebyside tcolorbox

In the following pictures How to get the two captions horizontally aligned while keeping the top alignment of the two figures unchanged ? \documentclass[draft]{article} \usepackage{tcolorbox,...
2
votes
1answer
53 views

Accessing #1 in the end part of a new environment declaration [duplicate]

I'm working to a document in memoir and I'm struggling trying to define a new environment which would allow me to place a figure in the main text and its caption in the outer margin. This is an ...
1
vote
0answers
20 views

Figure “name.jpg” mysteriously shows up! [duplicate]

Hi I'm debugging my Schools Thesis template, and name.jpg of figures I import are mysteriously showing up. I have included the caption definition (I think) and the code I used to input image. thesis....
2
votes
1answer
25 views

Caption in Sweave after an R plot

I have the following R chunk: <<echo=FALSE>>= par(mfrow=c(3,1)) #cas basal: no negra no fumadora sense prematurs ni hipertensi? lwt.pred<-seq(80,250,1) prob.pred<-0+model.final$...
1
vote
1answer
48 views

Figures, texts and captions outside margins

I'm having problens in adjusting figures inside the expected space for the text, since they are getting outside the margins. The captions and some lines of text have the same problems. Here's my code:...
1
vote
1answer
43 views

Tkz Euclide problem

\documentclass[a4paper,11pt,openany]{book} \usepackage{float} % figure wont float anymore \usepackage{tikz} \usepackage{tkz-euclide} \usetkzobj{all} \usepackage{xcolor} \usepackage{geometry} \...
2
votes
1answer
39 views

Algorithm inside a tcolorbox: how to put a label to the algorithm but the caption as title of tcolorbox?

This question comes after a question about algorithms inside tcolorboxes. Before the question, is better to explain what I have now. I have a file with the algorithm that is q-learning.tex. \...
0
votes
0answers
37 views

Make the figure captions all empty in memoir

I'd like to suppress the text in all captions (ie. make all the captions empty, but leave the figure numbers) in in a document that uses the memoir class. I can do this if I use the caption package by ...
4
votes
1answer
35 views

inconsistent space between subfloats in subfloatrow

There is an inconsistent space between the second and third subfloat in subfloatrows. I don't understand where it comes from and how to remove it. (OMFSM, MWEs can take a really long time to assemble!)...
1
vote
1answer
37 views

Use short description of caption in figure title

I just wrote a long 200 pages documents with Latex, and realized a small issue. All my figure have the following format: \documentclass[a4paper,11pt,fleqn]{book} \usepackage[T1]{fontenc} \usepackage[...
1
vote
1answer
19 views

Delete the author of figure in table of content

I want to put the author of the image but I do not want the author to appear in the Table of Contents, how do I delete it from the table of contents to the author? \documentclass{article} \usepackage{...
-1
votes
0answers
17 views

Tikzdevice with ggplot: centering a caption

I have the following R code to generate a tikzdevice plot: tikz(file = "plot_CIs.tex", width = 5, height = 5) par(cex = 0.8) ggplot(confidence_interval, aes(x = Statistic, y = Values, group = 1)) + ...
0
votes
1answer
24 views

Tikzdevice with ggplot: overfull hbox

I have the following R code to generate a tikzdevice plot: tikz(file = "plot_CIs.tex", width = 5, height = 5) par(cex = 0.8) ggplot(confidence_interval, aes(x = Statistic, y = Values, group = 1)) + ...
1
vote
3answers
73 views

Can I change caption of a figure from “Figure” to “Table”

The captions of the figures in latex start with Figure 1 or Figure 2. However, I am inserting a table (which I have drawn using powerpoint). I do not want the caption "Figure". Instead, I want the ...
0
votes
1answer
66 views

List of Figures & Tables - how to move caption label into caption itself

I'm using the article document class (as a base) and the caption package. I essentially need to change my LoF format from the default List of Figures 1 Multiline caption multiline caption multiline ...
1
vote
0answers
18 views

change \figurename when using babel [duplicate]

Consider this example: \documentclass{article} \usepackage{graphicx} %\usepackage[latvian]{babel} \...
0
votes
1answer
38 views

Removing Trailing Dot in Figure Caption

How do I remove trailing dot in Figure Captions. I am getting Fig. 1.1. but I require it as Fig. 1.1 I have seeing solutions for other classes of document(Scrreport).I am using report class.
2
votes
1answer
41 views

Alignment of text in Fig footer

I want to align the fig footer text in figure caption to left in double column image. Use of following code giving center alignment. cta_author latex file is available at:CTA \documentclass{cta-...
0
votes
1answer
42 views

Consistent spacing between caption and TikZ and EPS figures

The problem I have is that spacing between a TikZ figure and its caption is bigger that between any other type of pictures and their spacing: Obviously, it can be solved by hardcoding \vspace{} or ...
2
votes
1answer
32 views

Setting up different font sizes for captions in each figure

I try to change font sizes od figures caption separately for some figures. I read that: Changing Figure caption text size. But using this solution sets it globally for whole document not for selected ...
0
votes
1answer
20 views

Number of figure and description, between them “-”

I have the following problem, I have a figure with its number and description like this: but I wish to delete the after the "2": In order to have a thing like this: Figure3.2 - Simple tables ...
4
votes
1answer
28 views

align graphic and caption with text width using beside caption

I am trying to align my figure with the \captionbeside within the textwidth. The figure and the caption next to it should be each 0.5\textwidth and should not go beyond the textwidth in the margin. ...
2
votes
1answer
39 views

Problem using sidecap in beamer

I am using Texmaker 5.0.2 (beamer class) to prepare a conference presentation, I want to put a figure caption in the right side of the figure, I used the code below but when I compile, the editor ...
0
votes
1answer
35 views

Adjusting the figure caption

When leaving the caption empty, I get something like "Figure 11-". How do I remove all the dashes "-" from empty captions. \documentclass[a4paper,11pt]{book} \usepackage[francais]{babel} \usepackage{...
1
vote
1answer
46 views

Why does latex throw an error when there is empty lines inside the caption environment

Here is an effect i've irritated me on for a while. When creating a figure environment with a caption like the one below \begin{figure}[ht] %%%Some figure \caption{Some text some more text some ...
1
vote
2answers
37 views

How to change the font size of the image caption for different images?

I am searching for a way to adjust the size of the caption. All the solution I have found deals with the caption package and uses something that changes the size globally. I wish to adjust each of ...
0
votes
0answers
16 views

How to put caption on the side of the figure without using SCfigure or Sidecap [duplicate]

I need to put caption to the left side of a figure. But I must not use SCfigure or Sidecap package. Those loads forever for some reason. Unfortunately, many of the the available solution online are ...