2
votes
2answers
56 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
23 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
23 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
46 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
81 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
127 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
103 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
67 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
66 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
2answers
87 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
158 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} ...
6
votes
1answer
98 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
193 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
590 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
83 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
102 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
157 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
42 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
109 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
89 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
46 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
76 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
138 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
116 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
131 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
1k 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 ...
5
votes
1answer
160 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 ...
2
votes
1answer
83 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
103 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
240 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
134 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
63 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
617 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
167 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
209 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 ...
0
votes
0answers
44 views

What variables control the space before and after table environments? [duplicate]

Code: \documentclass{article} \usepackage[a5paper]{geometry} \setlength{\parindent}{0cm} \begin{document} text \begin{table}[ht] \begin{tabular}{ |c| } \hline text\\ \hline ...
1
vote
0answers
64 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
236 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
146 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 ...
8
votes
2answers
875 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. ...
4
votes
2answers
2k views

Too much space around wrap figure

I am using the wrapfig package to have my text around the figure but there is too much space around it as you can see below. Here is the code that I am using, I looked at the wikibook on LaTeX for ...
5
votes
1answer
148 views

LaTeX creating unnecessary space

I'm getting unnecessary white spaces as in the snapshot. It's mainly because of my figures. I'm putting my figures as \begin{figure}[H] \centering \input{figures/,,,,,,.tex} \caption[h]{....} ...
1
vote
1answer
120 views

How to properly space multirow subfloats

I have 3 subfloats, but they will not all fit on one line, so I have two in the top row and one on the bottom row. My first problem is the floats are all different sizes and they are not being spaced ...
0
votes
0answers
31 views

How to reduce space before image? [duplicate]

I m using includegraphics function for image. Some text before image \begin{figure} \includegraphics[width=0.5\linewidth]{ABC.pdf} ...
4
votes
1answer
2k views

Adjusting left/right margins of a wrapfig

Is there a (simple) way to adjust the white space to the left or right of a wrapfigure? I'd like to reduce the whitespace on the left side of a right-floated figure. Adding \hspace moves the figure ...
2
votes
1answer
95 views

Vertical spacing within float

I have a table in which I want to include two tabular elements one below the other (and justified right). Right now I have this code, that displays exactly what I want.. I would like to add some ...
1
vote
1answer
5k views

How to remove space after image caption? [duplicate]

I am writing one article in which i need to write one image and its caption. I found space after caption seems to be more than normal. \begin{figure}[!ht] \centering ...
0
votes
0answers
43 views

Reducing vertical space between figure and caption [duplicate]

Possible Duplicate: How to reduce space between image and its caption? How do I reduce the space below figures and above their captions, without changing the parameters for tables? For ...