Questions tagged [vspace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
36 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
43 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
42 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
91 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
42 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
94 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
46 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
48 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
19 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
16 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
24 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
52 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
68 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
282 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
41 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
56 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
93 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
0answers
176 views

Vertical space at the bottom of a page

I was thinking that vertical space added with \vspace or \addvspace was removed at begin or end of page. The following code do not add space at the top of the page but add space at the bottom. \...
0
votes
1answer
718 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
57 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 ...
2
votes
3answers
201 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
257 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
127 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
61 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
75 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,...
1
vote
2answers
62 views

Align with colors and vspace using commands

I'm trying to prepare notes for a class and am wanting to use an align environment in multiple areas but with a potential of two possibilities. Here's a mwe \documentclass{amsart} \usepackage{xcolor} ...
0
votes
1answer
44 views

exam: How to add a vertical skip to the question head and remove its body indentation?

For the following MWE, \documentclass[addpoints]{exam} \begin{document} \setlength{\parindent}{0pt} \qformat{\textbf{\underline{Question (\thequestion) [\totalpoints\ Marks]}}\hfill} \...
1
vote
2answers
66 views

How to center a text vertically, if it isn't the only line?

\vspace*{\fill} works perfectly, if there's only one line. Let's imagine I have the following text: 1. This is the first line. 2. Some random text here. 3. This has to be centered. 4. Last line. If ...
4
votes
2answers
124 views

Set \bottomrule of two uneven tables to same height

I have two parallel tables not equal in height. I'd like to set \bottomrule of the shorter left table to the same height as the right one. Is this even possible without rearranging the rows? Using \...
1
vote
1answer
45 views

Vertical space on top of the content defined within an environment

I try to understand what's going on with a very simple environment I defined. Please note that I have difficulties to explain the problem. I tries to do my best, but it may not be clear. Please ...
0
votes
1answer
25 views

Vertical space is positioned in another location instead of I mentioned

\documentclass{article} \usepackage{multido} \usepackage{booktabs} \usepackage{graphics} \usepackage{enumitem} \usepackage[a4paper,left=0.5cm,top=2cm,bottom=1cm,right=0cm]{geometry} \usepackage{...
2
votes
2answers
167 views

Give height to all lines from top

I try to make a cover like below. All lines have a specific height value. When i use commands below, line height ruins everything. Because, all lines have their own heights. \begin{titlepage} \...
5
votes
1answer
1k views

\vspace doesn't work

This is a very simple document. Yet, \vspace doesn't work: \begin{titlepage} Dies ist ein Test. \vspace{5cm} Dies ist ein Test. \end{titlepage} Whats wrong here?
1
vote
0answers
99 views

Same space between top and bottom rule minitoc

I want to have the exact same space between the top and bottom rule of minitoc. I know I can use : \mtcsetfeature{minitoc}{after}{\vspace{-10pt}} \mtcsetfeature{minitoc}{before}{\vspace{-10pt}} ...
1
vote
1answer
295 views

there is no line here to end. \end{frame} in beamer

\documentclass[11pt]{beamer} \usetheme{Ilmenau} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{...
0
votes
0answers
52 views

Random Spacing in generated PDF

I am writing my thesis in Latex. And I noticed that there are random white spaces and blank pages being added before certain chapters while the code is identical throughout. Let me know what more ...
0
votes
1answer
102 views

Marginpar notes in the bibliography and vertical position with marginfix

I'm attempting to include notes in my bibliography for important items. I'm putting them in the margin with \marginpar. This is where the problem arises. If I have a longer note that happens to be ...
2
votes
1answer
727 views

How to align figures vertically within a minipage?

I'm having trouble to define vertical spacing within a minipage, as \vspace seems to behave in a special way within it. For instance, in the example below I'd like to set the vertical spacing between ...
1
vote
1answer
112 views

How can I add a “no page break” constraint to a \vspace?

I'm using this command: \newcommand{\opitem}[1]{\item[\planop{#1} \hspace{\leftmargin} \vspace{\smallskipamount}]} in a document of mine. I want to tweak it so as ensure I won't get a page break ...
0
votes
0answers
301 views

\vspace in examdesign package

I'm using examdesign package. In my example, the first \vspace which is in examtop works, but the second \vspace outside the examtop doesn't work at all. What might be wrong? \vspace{1cm} % this ...
2
votes
1answer
353 views

Vertical space between description label and first line

I'd like to create this vertical space globally using enumitem. The key style=nextline pushes the item content to its own line as I want, but I'd like some added vertical space of my choice. Here's ...
3
votes
1answer
115 views

How do I make all \vspace in a document visible?

I have various \vspace commands spread in a large document. Can I make them all visible by re-defining it somehow in the preamble? I have positive and negative arguments to it. I imagine negative ...