Questions tagged [vspace]
The vspace tag has no usage guidance.
113
questions
0
votes
2
answers
39
views
How do I remove this offset from the top?
\documentclass[14pt,a4paper,oneside]{extarticle}
\usepackage[left=30mm,right=15mm,top=20mm,bottom=20mm,bindingoffset=0mm]{geometry}
\setcounter{page}{2}
\renewcommand{\baselinestretch}{1.5}
\...
3
votes
1
answer
22
views
How does addvspace handle rubber components?
My understanding is that \addvspace defines "addition" as maxᵢ{vspaceᵢ} (fixed).
What happens to the stretch and shrink? Here I'm adding a large inflexible vspace to a small super-stretchy ...
0
votes
1
answer
31
views
Line spacing broken (bottom line falls below the frame or even empty) possibly because of the unit of measure of \vspace and images
Anytime there's an image on page or otherwise not just pure text (which, of course, is spaced by \vspace command) the line spacing gets corrupted.
Take a look at MWE below to see. Note how on Page 1 (...
0
votes
1
answer
48
views
How to merge cells made by \parbox vertically
\documentclass[a4paper]{article}
\usepackage{xcolor,pgf,etoolbox}
\usepackage{geometry}
\geometry{showframe}
\geometry{left=1cm,right=1cm,top=1cm,bottom=1cm}
\parindent0pt
\begin{document}
\fboxsep0pt
...
1
vote
0
answers
61
views
Stretch the glue within a breakable tcolorbox when \flushbottom is used
This question is related to my other one. In that question, I describe my attempt to replace tcolorbox with another frame drawing technique, which does not introduce problems described below, but ...
0
votes
1
answer
72
views
Non-breaking vertical space between a table and a block of text
I have a very specific requirement to put a framed block of text at the bottom of the last page but never to be alone on a separate page. Currently I use a \vspace*{\fill} followed by a one-cell table....
3
votes
2
answers
48
views
\vspace* adds unwanted page in amsbook
Background: I'm using the amsbook environment, and the title created by \tableofcontents starts near the first quarter of the page by default. I've been trying to move it up by placing a \vspace{-3in} ...
1
vote
2
answers
24
views
Different vertical spaces around equations of different height in the achemso document class
I would like to use documentclass achemso to format my Supplementary Material. However, this class puts different vertical spaces around equations of different height. In the following example:
\...
0
votes
0
answers
16
views
How to remove the space between lines in a glossary?
I am having trouble removing the space between lines in a glossary?
I tried the \vspace{-15mm} inside the glossary tex file but it doesn't work at all.
The \vspace{-15mm} in another part of the text ...
2
votes
3
answers
146
views
More vertical space between rows in array
I would like to have a little more space between the rows of an array for better clarity. I tried \vspace{} at the end of the rows but LateX ignored it. I can accomplish something close to what I want ...
0
votes
1
answer
77
views
\setlength{\belowcaptionskip} is not the same as \vspace
Following my previous question, I noticed that adding
\vspace{-0.5\baselineskip}
right after the graphics insertion, does not gives the same exact result when comparing the output with
\setlength{\...
0
votes
2
answers
61
views
Subtitle after the chapter title
I am trying to create a subtitle using the following:
\newcommand\Chapter[2]{
\chapter[#1: {\itshape#2}]{#1\medskip\smaller\itshape#2}
}
But, the vertical space is a bit big. I tried \smallskip, ...
1
vote
1
answer
108
views
Having trouble fitting Title Page onto a single page
I was previously using Overleaf but since I don't want to pay to get more compiling time I decided to start using TEXMaker with MIKTex on my desktop instead.
I had a nice-looking title page, with ...
1
vote
1
answer
114
views
\vspace not working with negative values
I have a list(enumerate) which is followed by a rule. I want to make the rule move closer to the list. I usually do this with \vspace but for some reason, it doesn't work this time. The rule moves ...
0
votes
1
answer
59
views
How do I implement the unstarred vspace option in the solution environment in exam class?
I understand that the exam class has an option to use \unstarredvspace so that the space will be deleted if it occurs at the top of a page. Right now the default is a \vspace* such as \begin{...
0
votes
0
answers
32
views
Reducing vertical spacing between inputs
Im trying to write a cv using the following great template - link.
However, I would like to reduce the spacing between the main titles (Summary, Work Experience and so on).
I cant figure out how to ...
3
votes
4
answers
80
views
Better \vspace{} and dashed line in array-environment
In this code
\documentclass{book}
\usepackage{mathtools}
\usepackage{stix}
\usepackage{multicol,multirow}
\newcommand{\Tonde}[1]{\left(#1\right)}
\newcommand*{\Scale}[2][4]{\scalebox{#1}{$#2$}}%
\...
3
votes
2
answers
188
views
How to Insert Blank Line(s) in a Tikzpicture; Ordinary Methods Not Working Properly
I have a tikzpicture:
which was produced by the following code.
\documentclass{book}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{color}
\usepackage{tikz}
\newlength\drop % To drop the ...
2
votes
1
answer
64
views
How to Add a Baselineskip at the Beginning of a Paragraph in a Certain Tikzpicture
The question posted here is an extension of the one posed in Looking to Insert a Figure and Wrap It Within a Customized Tikzpicture
Consider the following code
\documentclass[border=1cm]{book}
\...
0
votes
0
answers
38
views
TikZ-Newcommand to improve my toc
About this code:
\documentclass{book}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[a4paper,top=3cm,bottom=3cm,left=1.5cm,right=1.5cm]{geometry}
\usepackage{xcolor}
\usepackage{...
0
votes
1
answer
51
views
Better vertical spacing between boxes and chapter in tableofcontents
About this code, I'd like to personalize spacing between boxes and chapter in tableofcontents
\documentclass{book}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[a4paper,top=3cm,...
0
votes
1
answer
99
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
1
answer
62
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
0
answers
32
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
3
answers
159
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 ...
1
vote
2
answers
67
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
1
answer
38
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
1
answer
40
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 ...
2
votes
2
answers
49
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 ...
1
vote
0
answers
78
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
1
answer
133
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
1
answer
44
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
2
answers
73
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
1
answer
66
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
1
answer
39
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
1
answer
85
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
1
answer
53
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
1
answer
35
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
0
answers
44
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
2
answers
61
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
0
answers
80
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
1
answer
29
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
0
answers
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
1
answer
55
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
0
answers
15
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
2
answers
174
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
2
answers
568
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
1
answer
53
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 ...
-1
votes
1
answer
69
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
1
answer
80
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 ...