Questions tagged [vspace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
36 views

Three Tables in Landscape model at equal distance from each other and the margins

I have the following code: \afterpage{% \clearpage% Flush earlier floats (otherwise order might not be correct) \thispagestyle{empty}% empty page style (?) \begin{landscape}% Landscape page \begin{...
1
vote
1answer
18 views

Why does the ```\vspace``` command not work with PSfrag?

When loading in eps graphs, I wanted to shift the positions of the axis labels, and I found I could achieve that with PSfrag (something like \psfrag{label}{\hspace{1em}label}). I've found that this ...
0
votes
1answer
27 views

Blank page inserted after table of contents when vspace used on preceding page

The sample code at the bottom of this post results in the following page order: title page metadata page table of contents blank page (seems to be continued from the table of contents) chapter I'm ...
0
votes
1answer
22 views

Remove space after list on the table but \vspace gave no result

As you can see here after Item 1, Item 2, and Item 3, there is a vertical space and i want to remove it. Here is my MWE: \documentclass{book} \usepackage{longtable, array,enumitem, booktabs} \...
0
votes
0answers
27 views

Issues with Subcaption package and spacing

I lately added the subcaption package to my article in order to place my figures and caption them accordingly. Before I embedded the figures like this: \documentclass[a4paper,12pt]{article} %\...
2
votes
2answers
41 views

Go to last line of enumeration [duplicate]

When adding afterwards a character to a enumeration I do not succeed by going back with \vspace: The character C in the MWE is positioned too "high". Is there a possibility to achieve this? (...
0
votes
0answers
34 views

How can I adjust the size of tcolorbox so that they fill the page without blank?

I'm using tcolorbox in order to make exercises. In these boxes, I regularly include images with \includegraphics, and also a vspace at the bottom so that the student can take notes. The exercises are ...
1
vote
1answer
20 views

Adding vertical space after custom environment, excluding last in the surrounding environment

I am fairly new to LaTeX, so please excuse my ignorance. Here is a portion of my source. You will notice that I use \vspace between _history environments. I know that I can add \vspace to last {} of \...
0
votes
0answers
20 views

Setting length using `plus` operator not calculating as expected [duplicate]

Consider the following MWE: \documentclass{article} \usepackage{blindtext} \newlength\myheight \newlength\mypadding \setlength{\myheight}{2em} \setlength{\mypadding}{5em} \begin{document} \...
0
votes
1answer
23 views

alignment, justifying text

I am trying to make a file with all exercises i have and i encounter some justifying problems with some lines. I am using MikTex with TexMaker (5.0.3). Here is my code : %mathématiques - fichier ...
1
vote
0answers
11 views

Move beamer headline down [closed]

I want to move the headline down, to make the text below the colourful stripes. Now the headline looks like this: \vspace does not help in the case of headline. How can I do it?
0
votes
2answers
30 views

How to remove the vertical space generated changepage package's adjustwidth

Consider the minimal example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{changepage} \newenvironment{testenvironment}[2]{ \textbf{#1} \textbf{#2} % \vspace*{-6pt} % ...
0
votes
2answers
74 views

First figure overlapping the second figure below

Using subfigure I want to have two figures on top of each other but at the same time I would like to have the first figure overlapping the second slighty. But with the following code the second figure ...
0
votes
1answer
46 views

Best way to make breakable vertical spaces

I would like to make lecture notes with gaps. But the blanks generated for example by vspace are not breakable and start sometimes on a new page. What is the best way to make breakable vertical spaces ...
0
votes
1answer
31 views

Blank space left about litemized list. How to remove this vertical space?

I am trying to remove vertical space inserted when I start a itemized list inside a table using the \tabular command: \begin{tabular}{@{} p{0.18\textwidth}|p{0.82\textwidth}} \raggedright \textbf{...
0
votes
1answer
57 views

Wrap item with vertical margin

I have some cases where I will have an item in between two paragraphs. For example: Alfa bravo: \includegraphics{a.jpg} charlie delta: \begin{verbatim} echo foxtrot \end{verbatim} golf hotel the ...
0
votes
0answers
58 views

How to remove leading spaces before and after verbatim inside a table cell?

MWE: \documentclass{article} \usepackage{array,etoolbox,lipsum} \makeatletter \preto{\@verbatim}{\topsep=0pt \partopsep=0pt} \makeatother \begin{document} \begin{table}[ht] \begin{tabular}{>{\...
2
votes
1answer
40 views

filling a vertical space in beginning of paragraph

I tried the following \linespread{1.3} \documentclass[12pt]{report} \begin{document} \paragraph{Title Detection Computing} \vspace{5mm} Cloud smart alert correlation in Azure Security Center (...
0
votes
1answer
56 views

How to create negative vertical space in tabbing environment?

I am working on my CV and using a tabbing environment for this. I want a horizontal line between two sections that are in the same tabbing environment. Right now what I have is the code below, but the ...
0
votes
0answers
39 views

The distance between text and the chess board

I've improved my chess diagram command in the manner that it describes the text above the chess diagram. But there was a problem between the distance of the lowest text above ("Place") and the diagram,...
0
votes
0answers
36 views

\bigskip or \vspace{5mm} comes in at the wrong place? [duplicate]

Everytime I use the command \bigskip or \vspace{5mm} it doesn't show in at the right place in document. It always comes about a line and a half after, in the middle of sentences. What am i doing ...
1
vote
1answer
67 views

Consistent spacing before section (KOMA)

I'm using the KOMAscript classes and notice that the space before each section heading depends on the previous environment. (I doubt this issue is exclusive to KOMA, I just thought I should mention it)...
0
votes
0answers
44 views

Avoid extra space from vspace if section follows list (and questions related to enumitem)

Why is that when I create a new length, and set it to \parskip, it becomes 0? (See earlier parts of MWE) I would like my lists to appear right below text, and start a paragraph after. When doing this, ...
1
vote
1answer
42 views

Add code before/after H type floats only

I would like to patch my [H] floats with some vertical space as it appears inconsistent with [h] and other type floats. I am using KOMAscript Is there a good way to put code before/after the ...
6
votes
2answers
134 views

Space above signature line

I'm trying to make a signature block which has enough room above the signature line for a stamp. But the indicated \vspace seems to have no effect. How can I reserve 3cm above the \hline? \...
0
votes
1answer
32 views

vspace in LoT vs. starred chapters

EDIT: I originally thought it was tocloft that creates the space between different chapters in the LoT. I was wrong. I edited the title, but left the original question. I'm currently facing the ...
0
votes
1answer
99 views

Consistent vspacing without having to repeatedly set throughout document

I have a simple document, mainly consisting of sections (not latex sections) consisting of a table followed by some itemized items, and some v space between them. I have found to have the document ...
1
vote
1answer
78 views

vspace, hspace don't work in textblock

i use vspace, hspace in textpos (texblock) but don't work. Please help Thank in advance My minimal coding: \documentclass[12pt]{article} \usepackage[a4paper]{geometry} \usepackage[poster]{...
0
votes
1answer
65 views

How to remove additional space under wrapfigure when using vspace in text

I'm creating some custom environments. One of them will be placed in \wrapfigure and second one will contain text which should wrap around the first one. When I'm adding \vspace between paragraphs, ...
1
vote
2answers
46 views

Unwanted Vertical Space after Header

I have created a custom header that's perfect except for some unwanted vertical spacing between the header and the body. Currently there's about 14mm of spacing, and I'd like to reduce it to about 7mm....
0
votes
1answer
368 views

What does the \fill command do?

I have been reading about vertical spacing commands in LaTeX and have come upon the command \vspace{\fill} which is similar to the command \vfill. My question is this: what does the \fill command do? ...
0
votes
1answer
32 views

Section padding messes up line spacing in \maketitle

I was trying to reduce the vertical line spacing in the title of a LaTeX article by using the titling package and the \vspace command. A MWE is shown below: \documentclass[12pt, oneside, letterpaper]{...
3
votes
1answer
566 views

How to create vertical space, which has a minimum, and is stretchable to \vfill containing the minimum?

How would one create multiple occurrences of vertical space on a page in such a way, that each of them had an individual minimum amount of space that would, for each occurrence, be stretched to fill ...
1
vote
1answer
226 views

Decreasing vertical space before start of itemize in Resume.cls

I am using the resume.cls from this template: https://www.overleaf.com/articles/sharanya-anands-cv/fyvvdpdxthyc I want to decrease the vertical spacing before the start of each list, but have ...
3
votes
1answer
219 views

Center text vertically on page with \vspace*{\fill} — More space at top of the page

I want to center text on a page vertically and horizontally. I took the answer from here https://tex.stackexchange.com/a/2327/110351 and created the following document: \documentclass[pagesize=auto, ...
2
votes
2answers
81 views

latex: How to typeset many headings with no bodies? (After about 20 they don't fit on a page, and latex is not creating new pages for some reason)

I have a document (I use the 'article' class, but I cannot guarantee that, since the users may override it.), which only consists of headings of various kinds (\chapter, \section, \subsection, \...
0
votes
0answers
24 views

Unexpected behavior from \vspace in a grid of \includegraphics

I am trying to produce a grid of plots using the code below. Due to the sizing, the seventh plot is vertically offset a bit, as can be seen in the first image. But adding \vspace{-0.2in} to before the ...
0
votes
1answer
42 views

Make headsep larger if section starts on a new page

I'm using the KOMA-script scrartcl class with the geometry package and would like to have my sections (which always start on a new page) have some extra vertical spacing between the headsepline, but I ...
1
vote
2answers
96 views

Itemize in TabularX: How to remove new line before items?

Consider the following Minimum Working Example (MWE): \documentclass{article} \usepackage{enumitem} \usepackage{tabularx} \begin{document} \begin{tabularx}{\textwidth}{| p{2cm} | p{2cm} |} ...
2
votes
1answer
251 views

Different vertical spacing for beamer slides

I am preparing some slides with beamer. The issue is that, it seems the \frame command treats things differently. That is, if the subsequent stuff is normal text or itemized environment, spacing is ...
0
votes
0answers
46 views

How to remove extra space between sectioning and text in TEX

I'm currently writing my final project report, while inputting all chapters in one main file only the second chapter adds some extra spacing between the section, subsection... and the text and ...
0
votes
1answer
103 views

Evenly spaced boxes filling the whole page

I'm trying to vertically fill the whole height of a page with 3 evenly spaced boxes. This is what I have now \documentclass{article} \usepackage[showframe]{geometry} \usepackage[many]{tcolorbox} \...
3
votes
2answers
176 views

Why \vspace{-\lineskip} removes space after tikz picture although it stands before the picture?

\documentclass[tikz]{standalone} \usepackage{amsmath} \usepackage{tikz} \begin{document} \begin{tikzpicture} \path node[inner sep=0,draw,text width=40mm] { \parbox{\hsize} { \...
0
votes
2answers
1k views

Remove white space at the start of new section in latex

Using this code: \RequirePackage[l2tabu,orthodox]{nag} \documentclass[12pt,letterpaper,nofootinbib,notitlepage,tightenlines]{revtex4-1} \linespread{2} \usepackage[letterpaper,margin=1in,bottom=1in]{...
2
votes
2answers
261 views

How to get rid of (or make even) vertical space above and below math mode (`\[…\]` and `\begin{equation}`)?

I have difficulty removing spaces (or making them even, or setting them to custom values) above and below vertical math mode. This is a re-write of the previous question whose code contained hrule's ...
2
votes
2answers
59 views

Why vertical-space generated between `center` environments is always `10pt` (regardless of font size) and why it requires `\vspace{-20pt}` to remove?

First confusion I have is that space generated between center environments is always 10pt regardless of global font size. Because interline spacing should depend on the font size but in this case it ...
3
votes
2answers
181 views

Using \vspace togehter with \hspace to place a citation over an image

I have an image I would like to don with a citation. However, placing the citation on top of the image has proven to be a bit of a challenge. Simply placing the citation after the image with \...
0
votes
1answer
43 views

small text not going all the way to the margins

I have been trying to put smal text to the very top left of the page by using the geometry package and setting the margins to 0, but it doesn't go all the way - there is a slight vspace to the right ...
0
votes
0answers
64 views

When working with subfiles, my main file doesn't take over the “\vspace{}” in my subfiles

I have a main file (report.tex) which includes: \subfile{Introduction/Introduction.tex} When I compile the subfile (Introduction.tex) on its own it had 1 line jumping to a 2nd page. I wanted to get ...
1
vote
1answer
45 views

Weird behaviour of Hypelink with \href to open an external PDF file

Consider the following two beamer codes: Code 1: \documentclass{beamer} \usepackage{hyperref} \begin{document} \begin{frame}[shrink=.8] \frametitle{\href{run:Doc.pdf}{Click1}} \href[page=5]{...