Skip to main content

Questions tagged [vspace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
250 views

How to add negative vertical space after `align*` environment?

How can I add a vertical negative space immediately after an align* environment? The following attempt does not work. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} a&...
Colas's user avatar
  • 6,832
1 vote
1 answer
53 views

titletoc: \addvspace not working

Suppose the following simple code: \documentclass{article} \usepackage{titletoc} \titlecontents{section} [2em] {\addvspace{\baselineskip}} {} {} {} [\addvspace{\baselineskip}] ...
Gargantuar's user avatar
  • 1,134
1 vote
1 answer
72 views

GeoGebra: LaTeX vSpace* doesnt shift up the Equation

I want to lift the whole Equation at the end of the Code up to the left of the graphic,but Vspace* does nothing. Does Anyone know how i could solve this? The code is partially generated using GeoGebra....
Simon's user avatar
  • 13
0 votes
0 answers
18 views

How to control the space between header of 'Nomenclature' and first line?

I use \printnomenclature to generate my list of abbreviations. Unfortunately, the first line is directly underneeth the header. I had a similar issue with LOF and LOT and was able to get rid of the ...
TRJW's user avatar
  • 450
0 votes
0 answers
54 views

Removing all the \vspace{} commands from the document

(textstudio) How can I get rid of all the \vspace{}* commands from my document automatically, without having to remove one by one ? I was using it in and out of my equations' throughout the whole ...
Denner Cássio's user avatar
0 votes
2 answers
55 views

Add blank space after every \item object without page breaks?

I'd like to make enumerate list that adds certain amount of blank lines after every \item, but without allowing page breaks that separate \item text from that blank space. My list is a problem set ...
Aca's user avatar
  • 1
0 votes
1 answer
148 views

Fill vertical space before paragraph

I'm working with small pages and I'll have one, two, or three short paragraphs per page. I would like these paragraphs to be vertically centered and approximately-evenly spaced. I am close with \...
Stewart's user avatar
  • 703
2 votes
2 answers
125 views

Space figure captions as the "normal" text

I am preparing a document of class article in LaTex. I am required to include the figure captions, but provide the figures themselves as separate image files without incorporating them into the ...
Mareike's user avatar
  • 105
0 votes
1 answer
50 views

Issues with spacing writing answer boxes/lines for an exam between items in enumerate

I am writing an exam and I'm having some spacing issues with creating answer lines/rules between items in enumerate. If I use \vfill\hfill in between the items, sometimes it does not print the answer ...
CyCeez's user avatar
  • 23
0 votes
0 answers
35 views

Whitespace under tabularx in combination with vspace*

I am using the tabularx package to create some variable definitions in 3 columns. I am trying to add some space under each line with the \vspace* command. These are created automatically by an ...
Tsaras's user avatar
  • 103
5 votes
2 answers
370 views

"\vspace{-number cm}" between "subfigure" and "subcaption" works in back direction in LaTeX

Sometimes I need to reduce the space between sub figures and sub captions, so I insert \vspace{-number cm} to do that. But, it will increase the space. \documentclass{article} \usepackage{lipsum,...
Y. zeng's user avatar
  • 2,105
2 votes
1 answer
73 views

Fill empty space inside a tcolorbox

I have two images side by side in a tcolorbox, one horizontal and one vertical with an empty dotted line below each one. I would like to "push down" the line in the second (right) image so ...
miltos's user avatar
  • 2,625
2 votes
2 answers
198 views

How to add vertical space inside a \framebox

Consider the MWE below. I would like to add some vertical space above the blue square, inside the framebox (indicated by red arrow). Why is \vspace ignored? Which command should I use? MWE: \...
Karlo's user avatar
  • 3,257
0 votes
1 answer
58 views

vertical space inside multicols environment

I'm trying to get a vertical space inserted after some text inside a multicols environment, such that the next body of text (in bold) sits at the bottom of the page. To make this concrete, imagine '...
Erwann's user avatar
  • 2,120
0 votes
0 answers
10 views

How can I change the space between two \cvmetaevent? [duplicate]

How can I reduce the space between two \cvmetaevent? The codes are the following %---------------------------------------------------------------------------------------- % CV META EVENT %----------...
Maynak's user avatar
  • 1
0 votes
1 answer
52 views

vertical alignment between two columns with \vspace's

i'm using a \vspace to make empty lines. I need to find a way so that the space between two lines separated by such an empty line equals the space between two lines with one non-empty line in between. ...
user1850133's user avatar
1 vote
1 answer
83 views

How to insert a consistent vertical space after tikzpicture environments globally

I want to know how can I add a global macro in the preamble that sets a vertical space after each tikzpicture in the document, instead of explicitly repeating the \vspace command.
Ammar Taha's user avatar
0 votes
0 answers
33 views

Line spacing help, expl3

I have a macro makeentry which I cannot get to behave as I would expect. Its pretty simple, it takes previously input user data and formats it. However I cannot get the macro to respect my wishes for ...
Bob's user avatar
  • 1,322
1 vote
1 answer
74 views

Tikz node vertical alignment & titles added to exercises

My question relates to sgmoye's answer to the problem posed in Inspired exercise Sheet from Indesign. I'd like to expand on this answer by having the exercise number vertically aligned with the word '...
wrb98's user avatar
  • 886
2 votes
1 answer
60 views

Enumerate within a multicolumn cell using tabularx

I would like to add a subitem with an indent to an item inside a table. I have shown a working example. As you can see, the subitem overlaps with the horizontal line of the following cell. The sub ...
vaish's user avatar
  • 21
1 vote
2 answers
87 views

How can I eliminate the space between two lines on the title page? I have tried using the Vspace command, but it doesn't work [closed]

\documentclass[12pt, twoside]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[English]{babel} \usepackage[width=17cm,height=22cm]{geometry} \usepackage{fancyhdr} \usepackage[...
Umer's user avatar
  • 11
1 vote
1 answer
264 views

How to control caption position within subfigure?

Consider the following code \begin{figure}[h!] \centering \begin{minipage}{\linewidth} \centering \begin{subfigure}[b]{.4\textwidth} \centering \includegraphics[width=\...
sam wolfe's user avatar
  • 257
0 votes
2 answers
66 views

TikZ: Draw under base line and keep the normal spacing between lines

Problem I want to achieve a command for tied lyrics like in lilypond. Now I have it nearly working, but the downside is, that the tikz picture effects the spacing between the lines, which adds too ...
Guest's user avatar
  • 131
1 vote
0 answers
39 views

Anti-vspace* command? [duplicate]

\vspace{} will add space only if the subsequent text is not the first thing on the page. \vspace*{} will add space in either case. Is there a command that will only add space if the subsequent text is ...
likethevegetable's user avatar
2 votes
1 answer
84 views

how to write equation in double column?

I created two columns in LaTeX. But the equations are overflowing from the column. How can I fit the equation into a single column? \begin{multline} C(x,y,z,t) = \frac{ (\pi t)^{-3/2} m_T}{8 (K_x ...
YangYung's user avatar
0 votes
0 answers
251 views

Enumerate spacing changes discontinuously [duplicate]

I've got a problem with the spacing management in enumerate. Here are the packages in my main .tex document: \usepackage{amsthm} \usepackage{mathtools} \usepackage{commath} \usepackage{amssymb} \...
Matteo Pascale's user avatar
3 votes
1 answer
158 views

Beamer Table of Content is broken when using \framebreak

When using \framebreak in beamer TOC I get a ugly formatting in the next frame. My TOC is too long, so I decided to split it up. The first page renders well. The space before the first section thats ...
Oliver Hihn's user avatar
3 votes
1 answer
584 views

Inserting half a \vfill

If a page contains multiple \vfills, the space space is distributed equally between them. That means if you want one-third of the available space above some text and two-thirds below it, you can put \...
richard's user avatar
  • 720
0 votes
0 answers
21 views

Vspace creates huge jump [duplicate]

I have a bizarre problem with the arrangement of a figure and table. With the following code, I get the figure and table immediately after each other with a very small gap: \begin{figure} \...
cruijf's user avatar
  • 41
1 vote
1 answer
259 views

Beamer: how to move whole "frame content" a bit left?

I am pretty new to beamer, and I am trying to move the whole "frame content" a bit left, for example, -1em. I am trying to use \vspace{-1em}, but it doesn't work, however, \hspace{-1em} does ...
Coeus Wang's user avatar
1 vote
2 answers
163 views

Can't remove space before title with `titlesec` package

I've set all the spacing arguments to 0 but still can't get rid of the space before the chapter title. There's enough top margin already for an a5 size booklet. Here's the mwe: \documentclass[openany,...
Himanshu's user avatar
  • 153
0 votes
1 answer
122 views

Defining numerical variables in latex preamble

In my manuscript, I need to specify the vspace command in a few places. I wonder if I can define numerical variables for this purpose in an article document class. For example, instead of typing \...
Salivan's user avatar
  • 303
2 votes
2 answers
501 views

fbox without vspace

I am going to give a definition of a problem as follows. \newcommand{\defproblem}[3]{ \vspace{4mm} \noindent\fbox{ \parbox{0.98\textwidth}{ #1 \\ \textbf{...
Blanco's user avatar
  • 303
2 votes
1 answer
58 views

LATEX : How keep multiline text together after vertical line?

I am creating a list of variables with their descriptions. On the left side, is the variable name and on the right side is the variable description. When the text description is one line, the text is ...
Mauricio Mandujano M.'s user avatar
0 votes
1 answer
69 views

How can I automatically overwrite a wrapped line?

This is probably the opposite of what most people are going for but I'd like to let the text of my lines overwrite themselves. As an example, if I have: \documentclass{article} \begin{document} These ...
user1794469's user avatar
1 vote
1 answer
78 views

Customising TOC of Bergen theme in Beamer

I am creating a presentation using Bergen theme. Following is my TOC page. The sidebar contains the sections and the main text area contains the subsections. I have a couple of more sections to ...
Subhajit Paul's user avatar
0 votes
2 answers
161 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} \...
Никита Когунь's user avatar
3 votes
1 answer
35 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 ...
Douglas Myers-Turnbull's user avatar
1 vote
1 answer
52 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 (...
tryingout's user avatar
  • 115
0 votes
1 answer
91 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 ...
lyl's user avatar
  • 2,747
2 votes
0 answers
127 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 ...
Radek's user avatar
  • 173
0 votes
1 answer
160 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....
jjolidon's user avatar
3 votes
2 answers
76 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} ...
Coco Liliace's user avatar
1 vote
2 answers
111 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: \...
TobiR's user avatar
  • 594
2 votes
3 answers
2k 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 ...
TonyK's user avatar
  • 647
0 votes
1 answer
1k 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{\...
tush's user avatar
  • 1,145
1 vote
2 answers
840 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, ...
e0238015's user avatar
  • 239
0 votes
1 answer
565 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 ...
WnGatRC456's user avatar
2 votes
1 answer
932 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 ...
John Katsantas's user avatar
0 votes
1 answer
78 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{...
E.Yu's user avatar
  • 337