Questions tagged [vspace]

The tag has no usage guidance.

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

Why negative \vspace skips less space than specified in LaTeX

I have code like this: \documentclass{article} \usepackage[a4paper,left=0pt, right=0pt, top=50pt, bottom=0pt]{geometry} \usepackage{show frame} \begin{document} \vspace*{-50pt} Hello! \end{document} ...
3
votes
1answer
38 views

Using \noindent in \AfterEndEnvironment from etoolbox creates bigger gaps between two environments

Using \noindent in \AfterEndEnvironment from etoolbox creates bigger gaps between two environments than it should. Here is code, that fully describes the problem. \documentclass{scrartcl} \usepackage{...
0
votes
0answers
15 views

Using two lowercase letters inside \textsc for a heading on the titlepage? (+ different baseline stretch on header?)

so I searched for some time now, but I did not find a thread addressing this problem. Guess noone wants lowercase letters in a \textsc heading, but me... The title of my thesis should be in \textsc ...
4
votes
3answers
79 views

vspace at the end of a page

I am using vspace for producing a white space for people to write on between blocks of text. When the vspace happens to be at the end of a page, the next block of text will start at the top of the ...
0
votes
2answers
46 views

Keep same \vfill over different pages

I'm using \vspace{\fill} to even space out questions of an exam, but the length changes from page to page. I want the same space after every question, and the last question to be at the end of the ...
0
votes
1answer
23 views

Treat new column in multicol as a new page

So I'm using multicol to have two columns, and I'm writing test questions in the columns, with spaces between them. I want LATEX to ignore the spacing before the question if it's at the start of a ...
0
votes
1answer
38 views

Figure and Text in separate pages

I am writing up my thesis where a logo has to be placed on a page and I want to put a copyright singly on another page but they squeeze in the same page. I tried using \vfill (and \vspace{\fill}) but ...
3
votes
2answers
41 views

How to remove consecutive vertical whitespace from commands

I would like to be able to write macros that approximate the behaviour of CSS's margin. For example consider the following: \newcommand{\marginspace}[1]{ % Defines some combinable margin % This is ...
0
votes
1answer
27 views

Remove vertical spacing in wrapfigure (above/below hrule)

I want to use wrapfigure to contain an (align) environment. How do I remove the excessive vertical spacing above and below the \rule commands without using \vspace? I don't understand where this space ...
0
votes
1answer
56 views

How to remove extra space at the bottom of tables and figures?

As shown below, tables and figures seem to add extra space at the bottom: In the example below the problem persist also using float (\intextsep was multiplied by 1.5 \baselineskip for better ...
1
vote
1answer
27 views

Changing line spacing within table cell

Currently I am trying to make my tables look prettier (or rather say, easier to read), so I was wondering how to set a column in a way that it can perform line-breaks automatically within one cell ...
2
votes
2answers
54 views

Space between equations

I have the following three equations and would like the space between 1 and 2 to be the same as the space between 2 and 3. Unfortunately, because the first equation has a fraction, the space between ...
0
votes
1answer
49 views

Eliminate vertical space above book chapter

I'm trying to control the position and format of the different headings using the awesome package titlesec. However, I am having trouble controlling the vertical space above a \chapter. It always ...
0
votes
1answer
37 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
43 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 ...
1
vote
1answer
36 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
28 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
29 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
51 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
48 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
21 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
28 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
77 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
252 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
50 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
48 views

Blank space left about itemized 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{...
1
vote
1answer
65 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
88 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
51 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
103 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
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 ...
2
votes
1answer
79 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
59 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
158 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
37 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
102 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
106 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
99 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
54 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
592 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
2answers
38 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
797 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
379 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
458 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
85 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
26 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
62 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 ...