Questions tagged [vertical-spacing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
11 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
0answers
14 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
1answer
17 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
1answer
52 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
2answers
20 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
1answer
33 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*{-\...
0
votes
2answers
40 views

The commands `\null\vfill` cause a content to be pushed to the bottom of a page

I need a hand with the code below. I'd like to place the abstract either in the middle of a page, if the content takes less than a page, or start it from the top of a page, otherwise or perhaps ...
2
votes
1answer
39 views

How to get rid of vertical spaces before and after a floating tcolorbox?

As shown by the following MCE, some vertical spaces are added before and after a tcolorbox as soon as it is a floating one. How to get rid of them and obtain the same vertical spaces as the non ...
1
vote
0answers
15 views

Inserting Vertical Space Before Index Heading Items with Filecontents

I recently discovered a seemingly simple way to insert vertical space immediately before new index headings using filecontents--- Consider the code \begin{filecontents*}{\jobname.mst} item_0 "\n\\...
1
vote
0answers
17 views

Setting the General Space Between the Letter Groups in an Index with \Indexspace

Update In light of David Carlisle's very helpful comment providing a simple, efficient solution to setting the space between letter groups in an idxlayout index, I have modified the title a bit to ...
1
vote
1answer
27 views

A Blank Line Appears Between Consecutive Index Entries When Top Entry Extends Too Far to the Right

Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \newcommand{\beforeheadspace}{.7ex}% <<<<<<<<<&...
3
votes
1answer
60 views

In Trying to Extend a Simon Dispa Answer for Adding Vertical Spacing at Certain Points in the Index---a Curious Thing Happened

This post relates to trying to extend Simon Dispa'a answer given in Prescribing Certain Vertical Spacing for Idxlayout Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\...
1
vote
1answer
39 views

How to Specify a Fixed Gap to Precede Each New Heading in the Index

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex %\usepackage[font=small]{idxlayout} \usepackage{idxlayout} \usepackage{xcolor} \begin{document} \...
0
votes
0answers
34 views

Too much vertical space above a theorem

I'm trying to type out theorem 7.1.1 and noticed that there's too much space between that and the above line. $$ \int_0^t \int_{\cO} f(s,y)W(ds,dy)=\sum_{k=1}^{\infty} \int_0^t\left(\int_{\cO} f(...
0
votes
0answers
31 views

tabu and extra vertical space for tall equation

Q: Why tabu adds extra vertical space before first line of cell contents if the second line of a paragraph is too tall? MWE below contains three use cases: tabular (from array) approach with p{} ...
0
votes
0answers
35 views

\mbox{ } + \makeatletter causes "LaTeX Error: Missing \begin{document}." error

I'd like to keep a section of text together with a companion thin blue underline, e.g: On occasion, the text "Notes for 'The Gift'" is separated from the thin blue underline which occurs on ...
2
votes
1answer
50 views

Too much vertical blank space for unbalanced math expression inside big delimiters

A recent post on Math SE reminds me of an old issue as titled, shown in the screen grab below just in case it gets deleted. There are several other issues with these few lines, but I'd like to just ...
0
votes
0answers
32 views

Remove vertical spacing between two figures side by side, each with its own caption

Maybe it is a duplicate question, but I've tried more than 6 codes and didn't get the desired result. I need to remove the vertical spacing between two side-by-side figures and also the spacing ...
1
vote
1answer
43 views

Remove vertical spacing between two minipages

I want to remove the vertical spacing between the top 2 minipages and the bottom 2 minipages. Thanks for your help! Regards, chico (France) \documentclass[a4paper, 12pt]{article} \usepackage[utf8]{...
2
votes
4answers
48 views

How to change spacing in array (block matrices) [duplicate]

I want to add a certain spacing s.t. the the partial derivative symbols don't touch the line. Here is the code I have so far. \begin{align*} \mathrm{D}_{}F(\textbf{x}_{0}, \textbf{y}_{0}) = \left[\...
0
votes
0answers
48 views

How do I fix the display of reledmac critical notes registers to the bottom of the page?

Dear fellow TeXnicians, when using reledmac, I would like to make a global adjustment to the four registers (A,B,C,D) of critical notes to appear fixed on the bottom of the page, so that, for ...
0
votes
1answer
34 views

When using notoccite vertical spacing in table of contents is increased. How do i solve this?

I used notoccite to remove the citation problems in the sorting of references, however this messed up my spacing in the table of contents. Now it's like there is more than doublespacing active. \...
1
vote
1answer
53 views

Prescribing Certain Vertical Spacing for Idxlayout

Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \usepackage{xcolor} \begin{document} \large A sentence.\index{VON GOETHE@\...
0
votes
1answer
41 views

Remove Vertical Space on Page

I am trying to remove blank vertical space on a page. I tried this solution (Reduce vertical space between text and table and remove table indentation) but it didn't work. Here is my MWE: \...
1
vote
2answers
52 views

Vertical spacing in text style fractions with Stix 2 fonts

I am using the Stix 2 fonts for some of my documents and am pretty happy with them except for one thing: I feel they place an excessive amount of vertical spacing around fraction lines in text style ...
1
vote
0answers
22 views

Wrong vertical distance between last paragraph of a letter and the closing with setspace

I'm using the letter class together with the setspace package with doublespacing option. Also, I set a 2 em paragraph indent an a 0 pt paragraph skip. The matter is that I don't get double-spacing ...
1
vote
4answers
47 views

Spacing of align environment inside subfigure

I like to enclose two subfigures, which I use to display align environments side by side in a framebox. However, this leads to ugly padding at the top of the box. A earlier post (Where does the space ...
1
vote
1answer
34 views

Adjusting the Spacing Between Headings, Entries, and Subentries with Idxlayout

Consider the code \RequirePackage{filecontents} \begin{filecontents*}{\jobname.mst} %delim_0 "\\IndexDotfill " %delim_1 "\\IndexDotfill " headings_flag 1 heading_prefix " \\...
2
votes
0answers
17 views

Remove spacing around lstlisting in beamer blocks

Consider the lstlisting in this MWE. (I have added normal text and itemize environment blocks for comparison.) \documentclass{beamer} \usetheme{Warsaw} \usepackage{listings} \begin{document} %\...
0
votes
1answer
22 views

Removing the empty space between my header and equations

this is my first question here! :) I recently started working in Latex and I'm writing my own integration/differentiation table and I'm having an issue of empty space showing up in between and I was ...
0
votes
1answer
15 views

Ignored \bigskip and extra blank line

In the short tex file below compiled with TeXShop 4.68, you can see that my \bigskip on line 8 is ignored (no vertical space between the title and the text) ; also the last-but-one line in the output ...
2
votes
2answers
59 views

The Use of \addcontentsline{toc} Seems to Augment the Vertical Space Between Minipage Outputs

Consider the code \documentclass[12pt]{book} \usepackage{xcolor} \usepackage[lf]{electrum} \begin{document} \thispagestyle{empty} \begin{center} \begin{LARGE} \begin{minipage}{5.75in}\leftskip\fill\...
1
vote
0answers
23 views

Remove unwanted vertical space with tikz overlay

When using tikz to make an overlay picture, one may use for example \tikz[overlay,remember picture] at (current page.center} {CENTER}; It will print "CENTER" at the center of the page. ...
1
vote
1answer
33 views

How to properly handle space before a redefined \subsection?

I am trying to define a new subsection command in which the entire line with the header is colored and in which I can provide an extra input after the subsection title, but on the same line as the ...
1
vote
1answer
31 views

Increasing the Vertical Space Following a TOC Chapter Entry Only When Followed by a Section Entry

Consider the MWE \documentclass{book} \usepackage{tocloft} \usepackage{xcolor} \let\cleardoublepage\clearpage \renewcommand\cftchapafterpnum{\vspace{4pt}} %\renewcommand\cftsecafterpnum{\vspace{...
1
vote
0answers
37 views

TOC Fails to Insert Page Break when Vertical Spacing Between the Entries is Increased

Consider the MWE which contains the command \renewcommand\cftchapafterpnum{\vspace*{5pt}}: \documentclass{book} \usepackage{tocloft} \usepackage{xcolor} \let\cleardoublepage\clearpage \renewcommand{...
1
vote
1answer
33 views

Tufte `fullwidth + align` without starting new paragraph

How can I achieve a full-width math environment in a Tufte-style document which is vertically spaced correctly, in the sense shown? Consider the screenshot below. Notice how the vertical spacing on ...
2
votes
1answer
38 views

How to Set the Space Between the Footnote Line and First Footnote; then a Different Space Between the Footnotes

Consider the code: \documentclass{article} \usepackage{lipsum} %\setlength{\footnotesep}{15pt} \begin{document} A sentence.\footnote{\lipsum*[31]} A sentence.\footnote{\lipsum*[31]} \end{document} ...
0
votes
1answer
32 views

Reduce vertical space before and after gb4e in footnote, align example with footnote text

This is most definitely a follow-up question to Not excessively stretch vertical space between elements in gb4e (glossing verse text; issue w/ enumitem) and probably related to Adjust margins and ...
0
votes
0answers
20 views

Conditional vertical space depending on the following environment [duplicate]

I defined a new command and want it to make sure that the following text or environment starts in a new line with some vertical space like the following: \newcommand{\example}[1]{Somecommand\\*[1ex]} ...
1
vote
0answers
17 views

Inconsistent spacing around minted environment which varies based on empty lines

Having an empty line before the minted environment seems to make a big difference in layout. I would prefer to have latex always enforce a consistent layout with only a \baselineksip whether I have ...
1
vote
0answers
27 views

How to Vertically Justify Items Over the Textheight of the Previous Page After Using \newpage

The following code \documentclass{book} \textheight 5.25in \usepackage{lipsum} \usepackage{pgfpages} \pgfpagesuselayout{2 on 1} \begin{document} \large \begin{description} \item \...
2
votes
3answers
88 views

Uneven vertical space with enumerate and multicols

I'm having a vertical spacing glitch in this minimal example: \documentclass[11pt,twoside]{book} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{microtype,textcomp} \usepackage[total={...
1
vote
0answers
52 views

Vertical spacing between equation and itemize environments

Even though similar questions arose here and there, I cannot find a satisfying answer to my problem. I am trying to have consistent/identical vertical spacing between text, equations and lists in ...
0
votes
0answers
24 views

Including picture cause previous page text to have extra space in between sentences

I'm taking database management system class notes on latex. I wrote notes that filled half page, and then included a picture with scale = 1, that didn't fit on the same page, and was moved to the next ...
1
vote
0answers
74 views

Tabularx vfill in column to fill rest of page

I need to write my abstract in a table as my code example shows. The cell with the actual abstract should be enlarged after the abstract text ends or filled with white space to make the table fill the ...
4
votes
2answers
275 views

\frac with mathpazo: bar too close to denominator

In the following MWE: \documentclass{article} \usepackage{mathpazo} \begin{document} $\frac{1}{2}$ \end{document} the fraction bar is a little bit too close to the denominator, see the screenshot: ...
3
votes
1answer
67 views

Not excessively stretch vertical space between elements in gb4e (glossing verse text; issue w/ enumitem)

Part of my data is verse text which I'd prefer to gloss line by line. I toyed with this setup (MWE): \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex \gll der wídem vnd der ...
0
votes
1answer
73 views

Getting rid of magic number when aligning tables and threeparttables in beamer

I've been trying to make regular tables and threeparttables line up in beamer for a while now. And I have been making progress: in the below MWE, the tables line up perfectly. But there is still a ...
0
votes
1answer
51 views

Spacing between figures and text

I write an article in Latex and the spacing between equations and text for some equations is uneven for every equation. Hence, I would like to investigate about it, but I am already out of options. ...

1
2 3 4 5