Skip to main content

Questions tagged [floats]

{floats} is about the floating environments figure, table and other, custom-defined floats, and concerns issues such as positioning, labelling, captioning, indexing and listing of said floats. For questions specifically about formatting a float caption, consider using {captions}.

Filter by
Sorted by
Tagged with
0 votes
2 answers
77 views

How to place the Figure in the Exact Position where we wish in a LaTeX document? [duplicate]

For a new book I am working, which is in the Final Submission Stage, the Publisher has asked us to place the Figures in the Examples, as soon as they start. For example, if I include a Figure as part ...
Sundar's user avatar
  • 725
0 votes
1 answer
29 views

How can I control the placement of tables in scrbook class documents?

I am creating a document with scrbook document class. In this document, I want to keep the tables exactly where I create it. I use float package for this. My intention is to use the [H] placement ...
Eva's user avatar
  • 129
3 votes
2 answers
94 views

how can i use figure environnement with section and subsection command? [duplicate]

i write this code: \subsubsection{Aller au calcul} \begin{figure}[h] \centering \includegraphics[width=5in]{FG3} \caption{Page d'aller au calcul} \end{figure} \subsection{Pages de calcul} \...
Alia's user avatar
  • 31
1 vote
1 answer
33 views

Add a caption and a source to image, keeping caption centered and source alligned to image to left

I have a rather obnoxious thesis guideline to follow, and unfortunately I've been unable to meet it with my LATEX skills. I need to center the caption of a figure, and this caption can possibly be a ...
Diego Alves's user avatar
0 votes
0 answers
26 views

How can you control the vertical space before and after an equation (on its own line) in a figure caption?

I want to insert an equation (on its own line) in a figure caption. The default spacing before and after the equation in the caption looks too big to me. How can I adjust the spacing before and after ...
Naysh's user avatar
  • 187
0 votes
0 answers
18 views

How can I selectively alter padding between a figure and a section

I'm writing a short article, and it appears that figures that occur within a section are correctly padded, and new sections occurring directly after text are correctly padded. However, it looks like ...
Harambe's user avatar
  • 195
1 vote
1 answer
32 views

How to position mdframed environment at the top of a page, without topmargins being decreased?

I have a document which uses a simple custom environment for algorithms, using the mdramed package. Some times I want an algorithm to be placed at its position in text, and other times I would like an ...
Naysh's user avatar
  • 187
1 vote
2 answers
80 views

Table doesn't fit in the page and add figure into the table's cell

Question: I Prepared a table from online. The issue is it doesn't fit in the page. Second problem is I added codes for a figure , I want to add this figure in the first column (Second cell). Can ...
SandyM's user avatar
  • 2,881
6 votes
3 answers
221 views

How can I improve the spacing after a top float?

Context I'm trying to create a macro (called here \myCommand) that separates two paragraphs and adds a different vertical space depending on the context. But I suppose this is a general problem which ...
B Legrand's user avatar
  • 433
0 votes
1 answer
29 views

Question on caption/float spacing

I have asked two previous questions on vertical spacing (First Question: Question on overlapping parbox; Second Question: Question on overlapping tabular), and I have a final related question. As it ...
zgrizz's user avatar
  • 149
2 votes
0 answers
37 views

Change background color of parts of the text, possibly containing floats

With tcolorbox, for example, it's possible to change the background color of parts of the text (even from one page to another, thanks to its breakable library). But it relies on boxes that can't ...
Denis Bitouzé's user avatar
0 votes
0 answers
18 views

Using the same formatting for the extra page after a Part as for blank pages before Chapters

I am writing a document using my university's template, which includes a custom document class. In this class, which is openright as it should, the usually blank page on the left when a Chapter starts ...
Dag9's user avatar
  • 13
0 votes
1 answer
13 views

I want the image to be in te middle of the title and the end of the page. What can i do?

\documentclass[a4paper, 12pt]{article} \usepackage{graphicx} \usepackage{amsmath} \usepackage[dutch]{babel} \usepackage{booktabs} \begin{document} \begin{titlepage} \title{Adviesrapport} \...
Stef Jansen's user avatar
0 votes
1 answer
57 views

span a figure over two/multiple pages

I have a large figure in terms of hight dimension which I would like to add to the Appendix of my work in LaTex. Is there a way to have such figure spanning over pages without needing to resort to \...
Matteo's user avatar
  • 323
0 votes
0 answers
30 views

Prevent Figure break the sentence

I have this problem. I have some text and an image. I'd like the sentence "Recent developments" not to continue two pages later. How should I resolve? Thanks \begin{figure} \centering ...
Ele's user avatar
  • 1
0 votes
1 answer
21 views

include a tree diagram (qtree) in a figure environment

I have the following WME it works fine but when I uncomment out the lines to put it in a figure environment it will not compile. \documentclass{book} \usepackage{tkz-euclide} \usepackage{tikz-qtree} \...
Paul A's user avatar
  • 1,117
0 votes
0 answers
43 views

Wrong orientation of a figure

I want to insert a figure using the package graphicx . But the orientation of the figure is not correct: The figure I want to insert is 3*4, but in the pdf it rotates 90 degrees automatically and ...
B.J.'s user avatar
  • 1
1 vote
2 answers
50 views

Duplicate a page containing minipages

I am beginner to the minipages environment and am having some difficulty writing on the next page after the first one, even with the usage of \pagebreak. If I use \pagebreak and paste the template (...
Satwik Dash's user avatar
1 vote
1 answer
24 views

How can I adjust the distance between captions and subcaptions using subfloat?

For the following code I get the result in the image. How can I adjust the distance between the image and its captions ? \begin{figure}[ht] \subfloat[Sinal na $f_c$.]{ \begin{minipage}[c][1\width]{ ...
Arthur De Queiroz Tavares Borg's user avatar
0 votes
0 answers
36 views

Vertical placement of fullpage float with twocolumn + title + incgraph

This MWE gives a page 2 where the figure is placed too far down on the page. The problem disappears if I comment out \maketitle or remove thetwocolumn option. Why is this? Is it a bug? How can it be ...
pst's user avatar
  • 4,694
0 votes
1 answer
47 views

Text aligned with the figure tag

How can I add a text aligned with the figure tag, similar to a footnote (without numbering)?. What I have tried to do, without any success, is something like what is shown in red, in the figure below ...
wmora2's user avatar
  • 325
0 votes
3 answers
24 views

Customize numbering figures 1, 2.1, 2.2, 3, 4 with AMS and hyperref

Ordinarily I use amsart and hyperref and number figures 1, 2, 3, 4. In some situations, I need to split a figure into multiple parts so the parts can each fit on a page, and then I want to sub-number ...
Dale's user avatar
  • 299
0 votes
1 answer
26 views

Adding side captions to new floattype only?

I'm writing a document with several types of floats. Only for equations, I want the caption to be aligned with the right side of the page and the first line of the equation (requirement by my ...
Stefan's user avatar
  • 73
1 vote
1 answer
47 views

Put a figure next to a table

I'm trying to decently put a figure right next to a table. I tried all the approaches suggested here and here. None of them worked. The closest was the first one, but I get an error Package floatrow ...
mEm's user avatar
  • 113
0 votes
0 answers
43 views

How to order citations by real appearence including in figures

I am trying to write text in LaTeX with multiple references while one of them is used in a figure caption. Figure is in a float environment, so in the LaTeX source file it is placed at a beginning of ...
rachel's user avatar
  • 1
0 votes
0 answers
31 views

Positioning floats after next section title

I am trying to allow more flexibility to the placement of figure environments. More specifically, say that a section ends 5cm before the bottom of the page, and ends with a figure environment, which ...
Anthony's user avatar
  • 249
1 vote
1 answer
18 views

Aligning objects in different tikzcd diagrams

I am trying to put several tikzcd diagrams into a single figure* environment, and looking for a way to align these diagrams so that the n-th objects from each diagram are aligned precisely in a same ...
Hyeongmuk LIM's user avatar
0 votes
1 answer
38 views

\forceversofloat not working in symmetric tufte-book

I am getting desperate. I am writing a tufte-book class document with the symmetric option and all figures and tables on even pages are centered as if they were on an odd page. The caption is always ...
Djbat's user avatar
  • 3
0 votes
2 answers
30 views

Extra frame with BOXED option in package floatrow

I was testing the package floatrow because I need create a frame around my figures including the corresponding caption. The next example was got from the very package floatrow (of course, I added ...
Michael Rosales Vilca's user avatar
1 vote
2 answers
55 views

How to determine from the document body whether or not a page has a top float?

For a particular application, I need to know whether or not a page contains a top float. I have therefore taken the definition of the conditional \iftopfloat{<true>}{<false>} given in the ...
B Legrand's user avatar
  • 433
0 votes
0 answers
19 views

Package textpos disagreeing with figure caption font and format

I'm trying to place a number of images at specific places in a book (in fact, most of the pages will consist only of images and the respective captions), for which I'm using the textpos-package. At ...
Stephan N's user avatar
0 votes
1 answer
100 views

In the book class, add a full-page image in the even page preceding a new chapter

I'm making a template for a friend who's been writing a fiction book for years, struggling with his time commitment (family happens). My goal is to completely separate format from content (hence LaTeX)...
phollox's user avatar
  • 554
0 votes
1 answer
72 views

How to insert a figure while inside a large breakable tcolorbox

The breakable boxes made by tcolorbox play nicely with figures that have been defined before the box but have not been typeset yet. Here's an example: The three figures have been issued before the ...
fefrei's user avatar
  • 1,369
0 votes
0 answers
18 views

How include full page figures on left page with figure legend on right

I'm writing a thesis and most of my figures are already made and referenced in the text. The figures are almost all full pages, and the figure legends are also long. I'm hoping there is an easy way to ...
Joseph Solvason's user avatar
0 votes
0 answers
22 views

Problem with shifted text after figure [duplicate]

within my subsection I have a figure after which further text should follow. However, the text is shifted after the image and I don't know how to correct this. Here is the latex code: \documentclass{...
Erbas's user avatar
  • 1
3 votes
3 answers
649 views

Put many images into multiple pages programmatically

I have many images, for example image01.jpg image02.jpg ... image80.jpg I want to put those images into a document, 8 images per page, 4 rows and 2 columns (assume they will fit into one page that ...
Lu Xu's user avatar
  • 137
0 votes
1 answer
60 views

Positioning tables and figures to fit the text

I try many times but I can't put the table and figure to fit in right side as instructed in the template. how can I do to meet the require margin as it is shown in the picture below. Here is the code ...
Chamanga's user avatar
  • 166
0 votes
1 answer
37 views

Customizing Caption Formats for Figures and Tables in Numbered and Unnumbered Chapters in LaTeX

I'm currently working on a LaTeX document (documentclass{svmono) where I have both numbered and unnumbered chapters. In my document, I'm using figures and tables, and I've noticed that the captions ...
Rui Camposinhos's user avatar
-1 votes
1 answer
66 views

How to draw this figure in latex, using same arrows and braces? [closed]

I need code to draw this figure in latex
Parul Chauhan's user avatar
0 votes
0 answers
23 views

How can I replace the semicolon with a full stop after the 'Figure' index?

I'm editing an overleaf paper draft following the general formats defined in the IEEE access template. The color of the overall figure indexes complies with the IEEE access template now, but the ...
Xuanhan Zhu's user avatar
3 votes
1 answer
162 views

Too much space between a float and the section that follows it

When a section follows a float, the vertical space between the two elements is too large, as \intextsep is added to the spacing introduced by \section. Generally speaking, this is also true for other ...
B Legrand's user avatar
  • 433
1 vote
1 answer
47 views

reference to a specific part of a subfigure in text

Hi there I was working on a subfigure and since it's part of a pipeline I wanted to have something in my main text saying: ... (Figure 4, top right) ... (Figure 4, middle) ... (Figure 4, bottom). Now, ...
Matteo's user avatar
  • 323
1 vote
2 answers
39 views

Insert caption depending on condition

I am having issues with writing a Macro. The idea is that I am trying to setup a (simple) Macro to hold the figures for an article, but not all the figures have captions and thus I want that macro to ...
Andrumen1's user avatar
0 votes
0 answers
17 views

Alignment of the caption of the figure below the figure in the two columns text [duplicate]

I would like to ask how to align the caption of the figure below the figure in the two columns text. I was able to reduce figure into the column width but the caption is still spreaded on the whole ...
J. Krc's user avatar
  • 1
0 votes
0 answers
50 views

Adding a full-page image or PDF page at the first convenient opportunity

What would be the best option to insert full page (full page height and width) images or .PDF pages such that I want it to be included in the first available empty page without interfering the flow of ...
blackened's user avatar
  • 4,201
0 votes
1 answer
63 views

Captioned figure in frontmatter causes error when using floatrow package with "facing"

I am writing a two-sided document with margins (based on the kaobook-class) and would like to add a figure to the front matter. However, when adding a captioned figure, the compiler throws an "...
mapf's user avatar
  • 253
0 votes
2 answers
66 views

How can I place figures beside items?

I'm trying to recreate a national math exam in LaTeX, but I'm struggling to put a figure besides the number of the question. The original idea was to make the final product like this: Question 16 (...
BoxyHD's user avatar
  • 1
0 votes
0 answers
40 views

Center figures in sub figures

can anybody help me centre this diagram the code works in figures but not subfigures. \documentclass[ 12pt, %Font size a4paper, %Paper size twoside, %...
Paul A's user avatar
  • 1,117
1 vote
0 answers
69 views

Magnifying a portion of an image in figure

I exactly want to creat this: I read about zoomboxarray or spy package, but I'm looking for a simple way, like just a tabular solution, is there such a way? Creating a rectangle around left image ...
user21232681's user avatar
0 votes
2 answers
72 views

How to place caption above the "quadro" environment?

I'm having some trouble with the placement of captions in my LaTeX document. I'm using the trivfloat package to create a "quadro" environment for my tables, similar to the regular "...
Rui Campozinhos's user avatar