Questions tagged [vertical-spacing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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) & ...
user avatar
  • 464
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{...
user avatar
  • 143
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 ...
user avatar
  • 3,391
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} \...
user avatar
  • 3,391
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}" ...
user avatar
  • 114
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 ...
user avatar
  • 303
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 ...
user avatar
  • 6,538
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} \...
user avatar
  • 115
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 ...
user avatar
  • 415
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} \...
user avatar
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} \...
user avatar
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 ...
user avatar
  • 43
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 ...
user avatar
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}...
user avatar
  • 5,273
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\...
user avatar
  • 464
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{...
user avatar
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 ...
user avatar
  • 3
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} \...
user avatar
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 ...
user avatar
  • 103
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=...
user avatar
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 ...
user avatar
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 ...
user avatar
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: \...
user avatar
  • 25
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 \...
user avatar
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}...
user avatar
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 ...
user avatar
  • 7
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 ...
user avatar
  • 1
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 ...
user avatar
  • 624
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 ...
user avatar
  • 5,273
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 ...
user avatar
  • 804
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 ...
user avatar
  • 6,142
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 ...
user avatar
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\...
user avatar
  • 5,273
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} ...
user avatar
  • 5,273
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. ...
user avatar
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} ...
user avatar
  • 54.2k
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*{...
user avatar
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 - ...
user avatar
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]{...
user avatar
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 ...
user avatar
  • 5,273
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 ...
user avatar
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 ...
user avatar
  • 5,273
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 ...
user avatar
  • 101
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 ...
user avatar
  • 1
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{...
user avatar
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][...
user avatar
  • 2,355
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 ...
user avatar
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 ...
user avatar
  • 15
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: \...
user avatar
  • 512
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*{-\...
user avatar
  • 512

1
2 3 4 5 6