Questions tagged [vspace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 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
48 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
32 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
32 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
35 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
28 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
56 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
35 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
119 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
31 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
97 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
48 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
46 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
41 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
182 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
0answers
28 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]{...
2
votes
1answer
418 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 ...
0
votes
0answers
20 views

vertical space affects the vertical line also – I want only the title to move downwards

\fancyhead[L]{%cover page for key result areas \footnotesize File No: 20211/JC/SA \\dt 06 Sep 2019} \raggedleft % Right align the title page \rule{1pt}{\textheight} % Vertical ...
1
vote
1answer
121 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
120 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
77 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
20 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
35 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
65 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
140 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
45 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
81 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
153 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
581 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
205 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
55 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
135 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
32 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
53 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
39 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]{...
1
vote
1answer
98 views

How do I adjust vertical spacing above \rule line to match that below the line?

I want to know how to adjust vertical spacing above \rule line to match that below the line. I have attempted to solve this problem using the solutions presented for similar questions hrulefill ...
2
votes
1answer
162 views

scrbook no chapterheadstartvskip for unnumbered chapter

I am writing a document using the KOMA-Script scrbook class. I am using a custom chapter style and a \chapterheadstartvskip. The chapter number is printed as a tikz overlay in the resulting whitespace....
3
votes
1answer
729 views

vspace doesn't work properly

I am using \vspace{3mm} for separating the paragraphs in my article (\documentclass[12pt, a4paper]{article}). But most of the time it doesn't work properly. Sometimes it just puts the first few words/...
1
vote
1answer
83 views

tabbing environment with no surrounding vertical space

This probably applies to tabbing, enumerate and itemize blocks, if not others. How to get rid of (or specify) the default vertical spacing that "wraps" / surrounds the block of items? Normally I want ...
0
votes
0answers
59 views

Unwanted extra vertical space [duplicate]

Today I encountered this problem after the dictation of some lines with Dragon 13. The problem is eliminated if I copy and paste the same content on another page, or when I delete part of the things ...
2
votes
1answer
160 views

Negative \vspace* too small

\documentclass{article} \usepackage[showframe, nohead]{geometry} \begin{document} \vspace*{-3em} \rule{3em}{3em} \end{document} Why does the rule protrude into the text area? As a ...
0
votes
1answer
2k views

LaTeX Awesome CV - Space after entries

for some sections, i do not wish to put a bullet/description, however a space is automatically generated regardless if the bullet or description is filled out. i want to make this space only generate ...
1
vote
1answer
116 views

Vspace to an absolute page offset

I'm producing a series of flash cards in LaTeX (well, actually XeLaTeX). Each card has a title, a short paragraph of text, and a table, which is the main purpose of the card. Occasionally the ...
3
votes
3answers
462 views

Why does \setlist{nosep} doesn't work in a tabular environment?

I want to have nice tight lists with no spacing before, after or in-between the items. I managed to do this according to the answer from this question: How to remove the whitespace BEFORE itemize/...
1
vote
2answers
619 views

LaTeX Over Leaf Awesome CV - Space between entries

I want to remove the space between Company name and Title as show in the picture. Unable to remove space in \cventry using \vspace \cvsection{Experience} \begin{cventries} \cventry {...
2
votes
1answer
461 views

How to create vspace after the first line without an indent

I am brand new to LaTeX, and I am quite frustrated at my inability to use the \vspace command after the first line without this weird indent on the first line. Here is my first attempt at creating ...
0
votes
1answer
68 views

Increasing Space Between Two Vertical Tables

I'm trying to increase the spacing between the two vertical tables below. However, when I use the \vspace{5mm} these tables move with respect to each other. \begin{sidewaystable} \centering \begin{...
1
vote
1answer
106 views

How do I add one blank page after both these pages?

I have two inetial pages in my document. I need to leave blank pages after both pages explicitely. \shipout\null is not working properly. How should I add that? MWE: \documentclass[a4paper,times,...