2
votes
1answer
73 views

How to reduce the gap between the header and the figure in Latex

Please help me reduce the gap between the figure and the header in my code. I tried using position specifiers like h! or H but those take the figure on to the header slightly. I tried using vspace* ...
4
votes
2answers
77 views

Spacing problem at List of Figures

I use Lyx 2.1, document class : Report. My problem is that the titles of figures are written on the numbers at List of Figures.
1
vote
1answer
18 views

Vertical spacing around lhs2TeX code block in floats

How do I get the appropriate vertical space around a \begin{code}/\end{code} or \begin{spec}/\end{spec} in a figure? Here is a basic example with fancyhdr added to show the top of the page: ...
2
votes
1answer
90 views

Vertical space between caption and main text

I am trying to adjust the vertical space between my captions and the main body of text below it. It is likely to be packages interfering with each other, but I am not sure which. Herbert suggested ...
3
votes
2answers
94 views

An .eps image, whose caption is too separated from the image.

I am writing a thesis in a large .tex file in Vim. I have an .eps image, whose caption is too separated from the image. I have extensively read similar posts, tried almost everything, but the ...
3
votes
1answer
25 views

How can I change the horizontal spacing in a figure environment?

I want to put two figures, one at the top and one at the bottom, into one figure environment. I only want one common label and caption. How can I adjust the horizontal positioning of each of the ...
2
votes
0answers
57 views

want to remove space above figure

I am using this code \RequirePackage[demo]{graphicx} % to deal with non-available graphics files \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Title } \begin{columns} ...
1
vote
0answers
21 views

Which macros define spaces around table and float environments? [duplicate]

I am trying to define the length of vertical space between tables and text globally in my document. So far, I have been using \setlength{\intextsep}{0cm} \setlength{\floatsep}{0cm} ...
4
votes
1answer
87 views

Image vs Text Arrangement [duplicate]

When I write a multi-page paper with imported images, I usually try to group the picture with the text referencing it. Sometimes, there is not enough room at the end of the page for the picture, and ...
2
votes
2answers
65 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 ...
0
votes
1answer
49 views

Shifting (sub)figure caption in case of merged figures

I have a small piece of code that merges two figures: \begin{figure} \centering \begin{minipage}{.5\textwidth} \hspace*{-1.5cm} \includegraphics[scale=0.45]{images/Figure1.pdf} ...
0
votes
0answers
29 views

Titles directly below a float is causing spacings below the float to increase

I'm using \begin{figure}... \end{figure} with memoir class, and if there is a title (\section, \subsection, \subsubsection) right below the figure, the spacing below the figure is greatly increased. ...
4
votes
2answers
59 views

Including a Table in a Figure Environment

In order to close the vertical space between this figure and table, I'd like to place the table inside the figure environment. Is that possible? %!TEX TS-program = xelatex %!TEX encoding = UTF-8 ...
4
votes
1answer
189 views

Subfigure space adjustment — \subfigcapskip and \subfigtopskip

I want to adjust the space in a subfigure environment. Specifically, using \subfigcapskip to increase the space between the subfigure and subcaption, and using \subfigtopskip to reduce the space on ...
1
vote
2answers
286 views

How to remove white space above and below Tikz figure

I used GMS package to write a maths book, and used Tikz code genrated by Geogebra to draw the image. The problem is there are too much white space above and below Tikz figure, as in the following ...
3
votes
1answer
200 views

Figure overlaps Table

When placing a table then a figure, the figure overlaps half the table.. Here is what the tex looks like: \begin{table}[h] ...
2
votes
1answer
97 views

floatflt - removing extra white space on top

When I include a figure via floatfigure into my text, I can't get it to stick to the top margin of the text body. There is always some white space left. I even tried to look in the package code, but ...
2
votes
1answer
154 views

Local scoping of textfloatsep

I was wondering if you can set the scope of \textfloatsep locally. I have found an old thread on Google groups, which points out that you couldn't. Has that changed by now? So what I want to do is ...
2
votes
3answers
133 views

How to force a text to appear after a table

I have to show a set of four tables: one after another. Each table has almost middle page of information, and I really need them to appear before the next block of text. An example of LaTeX code is ...
2
votes
2answers
261 views

Reduce space below a figure?

Due to the page limit, I now wish to reduce the blank space right after a figure (a TikZ drawing). I personally find it too big. Below is my MWE. How may I fix it? \documentclass[a4paper]{article} ...
7
votes
1answer
125 views

Equal spacing for figures and listings

I want to include figures and listings in my document and I want them to have the same spacings to text and captions. \documentclass[a4paper,12pt,openany,parskip,oneside,ngerman,headsepline]{scrbook} ...
7
votes
2answers
271 views

KOMA script: How to reduce vertical space below caption

The vertical space below figure caption is large how to reduce it. \documentclass[a5paper]{scrbook} \usepackage[demo]{graphicx} \begin{document} \chapter{Sample chapter} \section{Sample section} ...
5
votes
2answers
2k views

Maximise vertical space between subfigures with \subcaption

I have 2 subfigures vertically arranged using the subcaption package. I can set the vertical space between the 2 to something specific (using \bigskip or \vspace), but I would like to put as much ...
0
votes
1answer
114 views

Formatting figures on a single page without leaving space at the bottom

When Using 6 figures in a single page, I am forced to make figures small. But, this arrangement leaves a lot of empty space at the bottom. How to enlarge image without having to move them to different ...
6
votes
2answers
118 views

Specify minimum vertical margins around all figures

I would like to specify minimum vertical margins equal to the height of three single-spaced lines around all figures in a document. By "minimum" I mean that if the figure already has this amount of ...
2
votes
2answers
202 views

\vspace is not working between table caption and table

I want some vertical space between the table caption and the table, and I am using \vspace{3mm}, which have always worked before. In this document however, the command works for some tables, for ...
0
votes
0answers
44 views

Increase the gap above table

I am aware that this might be a duplicate of: How to change the spacing between figures/tables and text? I've tried the methods described there but none of them increases the gap before the table for ...
2
votes
0answers
148 views

Reduce gap between a figure and a paragraph

I put 2 figures side by side as follows: \begin{figure} \centering \subfigure[a long sentence a]{% \includegraphics[width=0.23\textwidth]{figures/cells_time_23h29.eps}} \subfigure[a long ...
3
votes
2answers
92 views

Stacking floats vertically

How do I stack say three floats on top of each other vertically such that the height of each plot is approximately the third of the text height of the page? (i.e. so they all fit including captions ...
2
votes
1answer
58 views

About the distance between the caption and the main body

I found that there is too much space between the caption of the figure and the main body. (The caption is below the figure). I don't know how to reduce the distance among them? the code I use now is ...
4
votes
1answer
102 views

Spacing captions in a subfigure environment

I'm trying to use the subfigure environment to generate side-by-side images with captions, however because the images are different heights the captions come out at different heights. Also, they come ...
3
votes
1answer
180 views

How can I remove extra space after the figure, but keep it above the figure [duplicate]

Code: \documentclass{article} \usepackage[a4paper]{geometry} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \begin{document} text text text text text text text text text text text text text ...
1
vote
1answer
150 views

Figures Taking Up too much space

I have two small figures that take up an entire page. How can I reduce the space between/after the figures so that I can start the next section on the same page? \begin{figure} \centering ...
6
votes
2answers
143 views

Space between floats and text after special declaration of font size for scrbook

Our designer suggested a font size of 10.5. We passed this as an option to the srcbook class and everything seems to work fine except the space between main text and floats. With fontsize=10.5 much ...
3
votes
1answer
3k views

Reduce space between subfigure and the subfigure captions

How can I reduce the space between subfigure and the sufigure captions ? Preamble \usepackage{float}%exact location \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} % for ...
6
votes
1answer
195 views

How to circumvent a late \pagetotal reset to 0pt?

Below example demonstrates at the beginning of each paragraph how \pagetotal is not always reset to 0pt at the beginning of the page. This appears to interfere with my attempt to automatically clear a ...
3
votes
1answer
94 views

How to measure the vertical space that was typeset without placing it into an environment?

I would like to achieve automatic clearing of a {floatingfigure} at the beginning of a new \section for texts automatically created by Pandoc. For this to work, I am in need of a way to measure the ...
3
votes
1answer
111 views

How can I redefine a list item to normal text in order to enable proper wrapping?

Consider the following LaTeX code, the bottom half of which was generated from MarkDown by Pandoc. \documentclass{article} \usepackage{mwe} \makeatletter ...
7
votes
3answers
259 views

How can I prevent the next paragraph from overwriting the image of a description label?

LaTeX code generated from MarkDown by Pandoc: \documentclass{article} \usepackage{mwe} \makeatletter \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth \else\Gin@nat@width\fi} \makeatother ...
4
votes
2answers
140 views

Vertically centering a set of tabbed graphics

I have a lot of different graphics in three versions each. All those versions have a fixed width and I want those three versions to be displayed next to each other. So far, I've used a tabbing ...
3
votes
1answer
66 views

Adjust space below figure in a custom document style

In my two column LaTeX document, which uses a custom document class, I want to decrease the spacing that occurs between a figure's caption and the following text. An example of what happens can be ...
1
vote
1answer
710 views

Indented before caption in a Latex table or figure

I have a problem with the space before my caption. When I run this sintaxis Latex throw a table and a figure. My problem is the position of the caption. The first one (table) is ok; it is at the ...
2
votes
1answer
200 views

Vertical spacing for two consecutive figure environments

I think I'm not going to solve my problem with the Floats and positioning of figures. I have 4 diagramms and I need to place them on two pages and at the end of the second page the caption for all 4 ...
3
votes
1answer
262 views

wrapfig with {R} remains left and keeps white space to the right

I am using wrapfig inside normal text (no lists or anything), with the {R} option to make it float right. However, some of the figures end up being aligned left, with all the space to their right ...
1
vote
0answers
65 views

Remove the unnecessary white space between figures and the sentences [duplicate]

This is the command I used to have the figures. \begin{figure}[h] \centering \includegraphics[scale=0.2]{ch5} \caption{lalalalal} \label{llaa} \end{figure} However, ...
3
votes
2answers
305 views

Placing image in second column of two column page

I would like to use a two column layout and have images and text in the second column begin at the top of the page and continue down with even spacing. I've tried using the multicol package as well, ...
1
vote
1answer
196 views

to remove unnecessary space between text and figure on same page

What is the command that I can used to remove unnecessary space between text and figure on same page? Below command doesn't do anything \newcommand{\squeezeup}{\vspace{-2.5mm}}
1
vote
0answers
38 views

Latex float so no stretching appears, but everything is placed on top [duplicate]

It has probably been already answered, but I cannot find it. If I include images as floats, LaTeX places the last one on a single page in the middle. How do I make LaTeX to put in on the top of the ...
4
votes
1answer
1k views

Latex Section header and figure won't print on same page

I'm trying to print a section that has only figures (no text aside from captions). I have a figure that clearly does not take up a whole page (it takes up half a page at most), but for some reason I ...
9
votes
2answers
1k views

Extra page at beginning of appendix containing big figures

I have an appendix that contains two full-page figures. The first page of the appendix is always blank except for the title -- I suspect this is a common problem with appendices of full page figures. ...