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 [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}.

0
votes
0answers
10 views

Glossaries add figure (image) after every entry [duplicate]

My glossary looks like this: \renewcommand{\glsgroupskip}{} \renewcommand*{\arraystretch}{1.5} \renewcommand*{\glsnamefont}[1]{\bfseries #1} \renewcommand*{\entryname}{Hitza} \renewcommand*{\...
1
vote
0answers
10 views

Todo note floats into the wrong margin with page break and TeX capacity exceeded

While writing a seperate document I noticed that the todo note was printing in the wrong margin. Initially I thought this was because of a rogue use of \reversemarginpar, but after a bit of playing ...
0
votes
1answer
7 views

glqq and grqq cause an error with the SCfigure environment

I am trying to use quotation marks in the caption of a SCfigure (side caption figure). This is the code I'm using: \documentclass[12pt]{scrartcl} \usepackage[outercaption]{sidecap} \begin{document} \...
0
votes
0answers
21 views

Can't get positioning of these 3 images right

I have three diagrams, trees, which I want to organise neatly. I want a and b to be beside each other, both consuming half the horizontal amount of space the c does. C should be underneath. I also ...
7
votes
1answer
53 views

How to identify floats that are not referenced in text [duplicate]

I would like to ensure that all figures in my document are referenced somewhere in the text. With all the editing I've been doing, some of the figures are no longer being referenced and I would like ...
0
votes
1answer
29 views

Subcaption environment failed. All figures containing a subfigure crashing all of a sudden

I am currently writing my thesis in LaTeX. Today, all of a sudden, LaTeX started crashing. All the figures which contain a subfigure (NOTE: I am using the subcaption package) started receiving the ...
4
votes
2answers
223 views

Is float placement [H] considered heinous?

Many MWEs include code like: \usepackage{float} % etc \begin{figure}[H]% or \begin{table}[H] % figure/table code (e.g. \begin{tabular}...) % etc which has the effect of placing the float (figure or ...
1
vote
2answers
49 views

Image side by side with table keeps on not working

Good morning, I would like to put the picture on the left of the table, all horizontally. When I try this solution it doesn't work. What changes is the picture and table are aligned with left margin ...
0
votes
0answers
27 views

Automatically arranging multiple figures on one page without wasting space

In short I am looking for a way to fit as many figures on one page as possible and I would want Latex to automatically arrange them for me as compact as possible. Can that be done or do I need to ...
1
vote
1answer
26 views

Subfloat figure and text overlap in \begin{figure}[H]

\documentclass[sort&compress, 5p,draft]{elsarticle} \usepackage{lineno} \journal{Journal of \LaTeX\ Templates} \usepackage{subfig} \usepackage{pgf,tikz} \usetikzlibrary{shapes.geometric, arrows} \...
2
votes
1answer
38 views

Avoid vertical spaces before figure to fill the page

I'm writing a latex document which contains a table. This table is doesn't fit the actual page so it's placed in the next page. The problem is that vertical spaces are added automatically in the ...
2
votes
1answer
37 views

Do \fboxs float, or do they stay right where you put them?

Do \fboxs float, or do they stay right where you put them? Also, will LaTeX ever insert a page break midway through an \fbox?
0
votes
0answers
18 views

size of 6 subfigures

I'd like to enlarge a set of 6 figures. When I increased x in \begin{subfigure}{x\textwidth}, the figures enlarge to the right and they are off the center. \documentclass{article} \usepackage{...
0
votes
1answer
13 views

Ordering/positioning of floats in document with only and many floats

I have a document that only contains of many floats (tables and figures). Is it possible to force floats to be in the same order in the pdf document as they are in the .tex file? It is not important ...
0
votes
0answers
33 views

Figures Near End of Document Don't Display [closed]

I have a document with a few different figures embedded. The code for each embed is identical, but the placement of each code block is different (sometime we enter the figure environment near the ...
2
votes
1answer
28 views

top alignment of a figure in beamer columns not working

I have the problem that the figure is differently placed regarding the top space in dependance on whether I put it into a column or not. What I try to achive is that the figure starts at the same ...
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]{...
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} \...
2
votes
0answers
23 views

Span Image over two Columns without Perturbing the Text Flow

I would like to insert an image into a two-column document, but have the text flow around the image, avoiding to perturb the text flow, like shown here: I tried to do it with the package "multicols", ...
1
vote
1answer
64 views

Is there any way to (brute) force the placement of a figure at a specified location in a LaTex document and having all text wrap around it?

I'm working on an assignment, and I've been working on this specific typographic issue on and off now for two'ish days. Having google'd a lot, read a lot, and tried a lot of the suggestions posted ...
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 (...
0
votes
1answer
25 views

lstinputlisting breaking when it should not

I am currently trying to write some text that has tables in it to present the data i need to present, and also has a \lstinputlisting inside that loads a external .txt document that I want to include. ...
0
votes
0answers
62 views

U+2069 error when adding image in TeXShop

I am trying to add an image into the document on TeXShop but keep seeing this error: Package inputenc Error: Unicode character (U+2069) (inputenc) not set up for use with LaTeX. l.9 ...udegraphics{...
0
votes
0answers
48 views

Figure in Latex IEEE Format

I recently got a review asking the following: The format (Abbreviations, Tables, Figures, References, etc.) also need to be revised carefully. For example, the font size in the figure should be ...
1
vote
1answer
59 views

Draw a circle with a pointed radius using tikZ

I would like you to help me create this graphic. I would like to be able to use this one as an example for other graphics that I have to do.
0
votes
0answers
20 views

How to make multi language figure captions without babel package

I'm currently writing my thesis in korean and part of english. Trying to make dual language caption for figure and tables like figure below So I tried this method Having better control on captions ...
3
votes
1answer
36 views

In the figure form, adjust the whole size of “text” and “math” format at once (II): from \twocolumngrid to \onecolumngrid

This follows from a previous post In the figure form, how to adjust the whole size of "text" and "math" format at once?, In the figure form, how to adjust the whole size of "...
3
votes
2answers
63 views

In the figure form, how to adjust the whole size of “text” and “math” format at once?

In the figure form, how to adjust the whole size of "text" and "math" format "as a combined figure" at once? If this is a usual pdf figure, we can do \includegraphics[width=4.4in], such as below, the ...
1
vote
1answer
58 views

Warning: a possible image without description

I employ TexLive 2017. I use the following piece of codes in my tex. \begin{figure}[t] \centering \begin{subfigure}{0.45\columnwidth} \epsfig{file=fig/a.eps, width=1.0\columnwidth} \caption{a} \end{...
0
votes
2answers
60 views

Listings, tables and figures in one Table of Contents

Because I am a completely newbie I do not know to solve the above described problem and I also did not found anything at researching the internet. I like to let it look like the following example: ...
1
vote
1answer
30 views

How can I arrange images horizontally with text in the same space?

Edit: I got it to look how I want with the following code but I don't think its the proper way. \begin{figure} \begin{minipage}{0.5\textwidth} \flushleft \includegraphics[height=1....
0
votes
0answers
25 views

Positioning doesnt work even when using float

I want to position two figures on the top of a page and then text in two columns below in the same page just like this: You can see above the "[!h] is not recognized for positioning the image. I've ...
0
votes
0answers
24 views

Name of float (figure) [duplicate]

How to change the definite name of figures? I tried \documentclass[12pt,a4paper]{report} \usepackage[czech]{babel} \usepackage{amsmath, graphicx} \renewcommand{\figurename}{\textbf{Obr.}} \begin{...
1
vote
0answers
20 views

Figures and captions with a left shift in twoside documents using floatsetup

I'm using scrbook class and configure floats by the floatrow package. In twoside documents it produces a left shift of 2pt for floats on odd pages. How can align floats as on even pages? Example: \...
1
vote
0answers
12 views

How can I ensure paragraph text in a figure has no side effects?

I want to include a centred image with a caption and a paragraph above it (on the same page). To achieve this, I've got roughly the following setup: \documentclass{article} \usepackage{graphicx} \...
0
votes
1answer
17 views

Aligning figure under flushright text

I've a text inserted into a quoting section, set as flushright. I'm trying to add a figure under the text, but it seems not to be able to stay aligned to the right part of the text. Here it is an ...
3
votes
1answer
74 views

Using the minipage enviroment inside \newcommand

i want to put the minipage enviroment inside a newcommand to avoid typing. \documentclass[aspectratio=169]{beamer} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[nomessages]{fp} \...
-1
votes
0answers
26 views

How can I stop extra space from appearing below figures on verso pages in tufte-book?

I'm making a book with tufte-book, and having a strange issue where, when I put a figure on a verso, there's extra space between the figure and the subsequent text. It doesn't happen on a recto, and ...
1
vote
0answers
26 views

Layout Control within figures

So I tried to make this (and succeeded): It's a figure with two pieces of content (a table and a figure), each with elaborate layout within the picture. Both the table and figure are defined in a ...
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....
1
vote
1answer
23 views

Customizing newlistof{Floats}

Im building a custom list for "boxes" (or closed tables). Note they can't be named as table. The only way to to add boxes as a environment was over the Floats. Any tip here could help. Something ...
0
votes
0answers
24 views

Figure two column with command h! [duplicate]

I am trying to add a figure over two-column after some text. I entered the below code, but the figure shows at the top of the next page. Any ideas what could i do? Thanks a lot! \begin{figure*}[h!] ...
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:...
0
votes
1answer
16 views

Change caption for \listoffigures [duplicate]

How to change the caption of the \listoffigures command? \listoffigures[list of pictures] #something like that doesn't work
2
votes
2answers
47 views

Subfigures with combined caption?

Is it possible to group figures into a single float and reference them separately, without creating separate caption for each of the figures? I am aware of subfloat and subfigure environments, but ...
0
votes
1answer
39 views

Side-by-side subfigures, MATLAB export, textwidth

EDIT: This might be solved with just the knowledge of what size \textwidth in points or centimeters is with this setup. I have the problem of exporting MATLAB figures to LaTeX and keeping the font ...
1
vote
1answer
29 views

How to add figure in the left margin?

I found a post about adding figure to the right margin, which works pretty well. Add an image in the right margin However, I don't know the commands for adding a figure to the left margin. Can ...
1
vote
0answers
24 views

figurei picture is shifting [duplicate]

When I add the picture, the word and pdf is the full page and the Latex moves to the right of the page.How can I solve this problem? \documentclass{article} \usepackage{graphicx} \begin{document} ...
0
votes
1answer
66 views

picture, figure is shifting

When I add the picture, the word and pdf is the full page and the Latex moves to the right of the page. How can I solve this problem? this is my work. this is my work and pdf link: https://we.tl/t-...
0
votes
0answers
22 views

Prevent picture overlap using wrapfig and float packages

In the MWE below, if a figure is floated directly under the paragraph next to a wrapfig AND the wrapped figure extends passed its adjacent paragraph, part of the wrapped figure is obscured and the ...