Questions tagged [vertical-spacing]
The vertical-spacing tag has no usage guidance.
258
questions
0
votes
1
answer
29
views
How to increase vertical spacing for lines in \begin{align} block
I'd like to know how to increase the vertical spacing for lines in align. The sample code is as follows:
\begin{align*}
\left(\left(\psi_{1}\Rightarrow\psi_{2}\right)\Leftrightarrow 1\right) & ...
2
votes
2
answers
61
views
Remove linebreak before first itemize item
I have a list where I want the first bullet to start on the same line as the preceding text. My current example is this. In the image I've marked where I want the bullet to be located:
\documentclass{...
3
votes
1
answer
119
views
eqnarray.sty (equationarray) spacing
I need the ability to switch color for all subsequent "cells" with a single macro command. (I also don't want the far spread-out justification h-spacing of align when I have many parts of an ...
0
votes
0
answers
28
views
Finetuning text-to-equation vertical spacing on standard vs. tall equations
I am struggling with spacing before an equation. I want my equation to be plain like-next-line continuations, as shown in the following:
\documentclass[12pt]{article}
\usepackage{amsmath}
\...
0
votes
1
answer
25
views
Why is some vertical space added around text in a tcolorbox while textcolor or itemize are active?
If I remove the textcolor specification (and the corresponding 2 curly braces), the useless space around "someItem" disappears.
If I replace the "\begin{itemize} ... \end{itemize}" ...
1
vote
0
answers
45
views
The "caption" package adds a white space below the floats - How to remove it?
I noticed that with the caption package loaded, the vertical space separating an h-float with the text is not the same above and below the figure.
Here are the (approximate) measurements I made:
With ...
0
votes
1
answer
29
views
Change \abovedisplayskip & \belowdisplayskip
To change the vertical spacing above and below math displays, the answer https://tex.stackexchange.com/a/47776/13492 uses:
\g@addto@macro \normalsize{%
\setlength\abovedisplayskip{4pt plus 0pt minus ...
3
votes
2
answers
101
views
Remove indentation
How can I remove indentation between enumeration and text? I tried \noindent but it didn't work.
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\...
0
votes
1
answer
45
views
How to make vertical space around fancyvrb symmetric?
How can I get rid of the extra space that appears here?
I want the space above and below the Verbatim to be the same, but here it seems that about 4-8pt of extra space is being added only to the ...
0
votes
1
answer
35
views
How to remove spacing after centering
Question: How do I remove the spacing after the centered text "FALSE:" below? I'll need to do this for five centered spots in the document.
% BEGIN PREAMBLE
\RequirePackage{fix-cm}
\...
0
votes
2
answers
44
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}
\...
4
votes
3
answers
131
views
Inconsistent vertical spacing when using different font sizes
I am trying to create a uniform spacing between three lines, the middle of which has a different font size. However, when I try as follows, the spacing above the middle line is different from the one ...
0
votes
0
answers
34
views
An Alternative to AddtoHookNext for Re-Positioning the Start of a New Chapter on an ad hoc Basis
The motivation for this question is found in How to Best Raise (One-Time) the Beginning of a New Chapter on a New Page
A question was posed pertaining to having the contents of a new chapter begin ...
2
votes
1
answer
39
views
How to Best Raise (One-Time) the Beginning of a New Chapter on a New Page
Consider the code
\documentclass[openany]{book}
\usepackage{lipsum}
\usepackage{xcolor}
\begin{document}
\thispagestyle{empty}
\Large
\textbf{Introduction}
%\vspace*{-50pt}
\chapter*{\textcolor{red}...
0
votes
2
answers
58
views
How to increase vertical spacing in \begin{align} [duplicate]
I'd like to know how to increase the vertical spacing in align. The sample code is as follows:
\begin{align*}
T(\varphi_3(y)\barwedge\theta(z)) & \,=\int_{0}^{t_{y}}\int_{0.5t}^{s_z}f(t,s)\,d\...
0
votes
1
answer
26
views
How to Specify the Gap Between Index Entries
The code
\documentclass{book}
\usepackage{imakeidx}
\let\cleardoublepage\clearpage
\makeindex
\usepackage[itemlayout=singlepar]{idxlayout}
\begin{document}
\LARGE
This is the first paragraph.\index{...
0
votes
1
answer
56
views
Change PDF line spacing from TeX files
I am using pdfTeX to convert TeX files to PDF. the TeX file is created by Doxygen(version 1.9.3).
I want to reduce the line spacing in the PDF output.
After some research, my conclusion was to make ...
0
votes
1
answer
42
views
How to increase the line spacing for the current line manually
It is easy to see that the following code will automatically change the line spacing for the line with {\huge test} but leave the other part of this paragraph untouched.
\documentclass{book}
\...
1
vote
2
answers
32
views
Adding vertical space between theorem numbering line and theorem text
When using \begin{theorem} with amsmath, the theorem text is inserted on the same line. I would like to have the text in a new paragraph
Have thought about using \vspace and use a pre-defined ...
2
votes
1
answer
35
views
KOMA script etoc package changes vertical spacing between TOC heading and entries
Based on the question KOMA-script list of listings and LOF have unequal space below heading I have extended the example with a TOC. I use the etoc package in my document and the KOMA option parskip=...
1
vote
1
answer
36
views
KOMA-script list of listings and LOF have unequal space below heading
I observed some unexpected behaviour with scrbook class (xelatex) and the list of listings from the listings package. The spacing between the chapter headings of the LOF and list of listings and the ...
0
votes
3
answers
63
views
Unwanted different parskip length around tabularx
I tried to use the tabularx environment to align my long thesis title at the colon like it is shown in the picture below. Between every entry I wish to have the vertical spacing of one parskip like it ...
0
votes
1
answer
22
views
Text aligned with header and even vertical spacing before and after equations
I am trying to get both the text aligned with the header, and even verical spacing before and after equations.
My first version of the code returns aligned text, but uneven equation spacing:
\...
1
vote
0
answers
49
views
Adjust vertical spacing after section title heading and before tcolorbox environment
How can I adjust the vertical spacing after the section heading and before the tcolorbox environment?
Here's my MWE:
\documentclass{scrbook}
\usepackage{mathtools, amsthm, amssymb} % Math packages
\...
0
votes
0
answers
45
views
Locally disable \vspace{0pt} adding vertical space
I'm trying to ad a bit of vertical space at the beginning of a page.
Here is a MWE:
\documentclass[a4paper,footsepline, headsepline]{scrartcl}
\usepackage[automark]{scrlayer-scrpage}
\begin{document}...
0
votes
0
answers
81
views
Removing big spaces below figures or tables - acmart document class
My document uses the following template:
\documentclass[sigconf, nonacm]{acmart}
Where acmart.cls can be found from the ACM website (LaTeX (Version 1.83)).
The spaces below figures or tables are ...
0
votes
1
answer
23
views
Excessive vertical space after quote using report class
I want to get rid of excessive vertical spacing after a block quote using the report class. I am using this suggestion to customize the font size and spacing of the blockquote. It appears as if the ...
1
vote
1
answer
23
views
Vertically place & centre floats with AMS classes just like standard classes
I'm using my own modified version of the amsbook class.
Unlike the standard classes, the AMS document classes place floats with [p] option at the top of the thereby created separate float page instead ...
2
votes
1
answer
51
views
How to Code a TOC Title and Divider Beneath Which Facilitates Possible Height Adjustments
I have a centered TOC title and linear divider beneath which I would like to simultaneously raise or lower in the document, maintaining the blank vertical space between the two.
I don't know if I have ...
0
votes
1
answer
30
views
Vertical spacing around equations. Problem with \abovedisplayshortskip
I am confused about spacing around equations.
Perhaps I misread it but my understanding is the following \abovedisplayskip and \abovedisplayshortskip would control vertical spacing/glue around ...
0
votes
1
answer
51
views
How to increase the space between a section/subsection title and a theorem
I would like to add some space between a theorem and the preceding line.
I used titlesec and amsthm to customise the spacing but when the theorem is just after a subsection, the required spacing ...
0
votes
1
answer
33
views
Unwanted spacing: How to cancel out `.....\glue(\xx) xx.xx` found in .log file?
I'm trying to figure out why vertical space is added between elements in my document. I am using \loggingoutput which i learned about in this answer to get a verbose log from TeX. Many lines look like ...
2
votes
3
answers
156
views
Increasing the Gap Produced by \Linebreak within a Small Caps Title
Consider the following code:
\documentclass{book}
\usepackage{lipsum}
\begin{document}
\thispagestyle{empty}
\large
\begin{center}
{\scshape{H O W \, T O \, I N C R E A S E \, T H E \, S P A C E\...
1
vote
1
answer
43
views
How to Proportionately Adjust Vertical Spacing Between the Lines in a Scaled Minipage Environment
Consider the code
\documentclass[openany]{book}
\usepackage{scalefnt}
\usepackage{lipsum}
\usepackage{color}
\begin{document}
\thispagestyle{empty}
\LARGE
\lipsum[19]
\vspace*{20pt}
\begin{center}
...
0
votes
0
answers
40
views
Weird spacing with tcolorbox and altered display skip
As per the title, I'm utilizing tcolorbox and messing with quite a few things, such as the box layout and display skips. I've reduced this down to as minimal as i can get it before it stops happening. ...
2
votes
1
answer
73
views
Too much empty space before a TikZ CD with a bent arrow with looseness [duplicate]
As you can see in the following example, there is too much empty space between the text and the diagram when I use an arrow with bend left=100, looseness=2.
How can I avoid it?
\documentclass{article}
...
2
votes
1
answer
55
views
How to Adjust Vertical Spacing in an egreg Macro Between the Endnotes within Each Chapter
The following code has been modified from an answer posted by egreg in https://tex.stackexchange.com/questions/ask:
\documentclass[12pt,openany]{book}
\usepackage{endnotes,chngcntr}
\counterwithin*{...
1
vote
1
answer
16
views
Correct timing for temporary vertical adjustments?
\documentclass[a4paper]{article}
\begin{document}
page 1 - textheight shall be normal and is ok.
\newpage
\begingroup
\textheight=5cm
page 2 - textheight shall be 5cm but is normal.
\newpage
page 3 - ...
1
vote
1
answer
38
views
What is the opposite of \usepackage[bottom]{footmisc}?
I am having trouble removing vertical space above the declaration \begin{quotation}. The issue with the spacing below \end{quotation}, however, has been resolved using the command \usepackage[bottom]{...
1
vote
2
answers
57
views
Adjusting the Space Between the Page Label and the First Item in the List of Figures
Consider the code
\documentclass{article}
\usepackage{xcolor,graphicx}
\usepackage{transparent}
\usepackage{tocloft}
% To change the LOF layout
\renewcommand{\listfigurename}{LIST OF FIGURES}
%% The ...
0
votes
0
answers
63
views
Reduce the vertical space between the title and the main body
I am using this template:
and I want to reduce the space between the "Abstract" as a title and the main body of the abstract as shown in the screenshot included. The abstract is included ...
2
votes
2
answers
84
views
Centering Heading and Adding Vertical Space within a \listoffigures Environment
Consider the code
\documentclass{article}
\usepackage{xcolor,graphicx}
\usepackage{caption}
\makeatletter
\define@key{Gin}{color}{\def\Gin@color{#1}}
\setlength{\fboxsep}{0pt}% Remove \fbox ...
0
votes
0
answers
30
views
Multiple breakable tcolorboxes produce additional space
I am using tcolorbox with breakable option to state theorems and definitions. But when I list them, sometimes they don't break and passes to the next page. The problem is that the first page is left ...
0
votes
1
answer
76
views
Reducing spacing between the text and the header
I am using an AwesomeCV template from Overleaf and want to reduce the spacing between the headings.
In this image, the spacing between the text and the next heading Skills is too much and would want ...
2
votes
1
answer
26
views
Turn on double spacing between gb4e lines
I need to set double spacing between the lines of linguistic examples. The command \doublespacing works for the regular paragraphs, but not inside exe environments. Below, I give a MWE.
\documentclass{...
0
votes
1
answer
43
views
Large space at break in tcolorbox
Consider this MWE:
\documentclass[varwidth=3in, multi={my}, crop, ignorerest=true]{standalone}
\usepackage{polyglossia, lipsum, forloop}
\usepackage[most, magazine]{tcolorbox}
\newtcolorbox{mybox}[2][...
1
vote
1
answer
79
views
Change vertical line spacing for only one paragraph [duplicate]
Is there a way to change the vertical spacing between lines for only one paragraph? Suppose, for example, I want everything in my document to be single-spaced, except for one paragraph that I want to ...
1
vote
1
answer
66
views
Table column spacing not even - Stata to LaTeX
I am using the following Stata code to export a table containing the means of 4 variables over 5 period.
est clear
forv p=1/5 {
eststo filenum`p': quietly estpost summarize x1111 x22222 x33333333 ...
1
vote
2
answers
27
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
1
answer
94
views
How to remove extra space after an equation in align environment?
I have the following example:
\documentclass[journal=jacsat,manuscript=article]{achemso}
\usepackage{amsmath,amssymb}
\makeatletter
\newcommand*\bsse{%
\begin{singlespace}%
\vspace*{-\...