Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [line-spacing]

{line-spacing} is about adjusting the space between the lines of a document. A popular package is {setspace}.

1
vote
0answers
36 views

Changing line spacing issue

I am using a university template, according to my reviewer my line spacing of paragraph is not 1.5. So while trying to change I found this in cls file. \def\setstretch#1{\renewcommand{\...
1
vote
1answer
29 views

Getting extra spaces in two-sided document, but not in one-sided document [duplicate]

When I changed the article type from one-sided to two-sided, the spacing between certain enumerated lists increased exorbitantly. If I switch it back to one-sided type, the spacing vanishes and the ...
1
vote
1answer
37 views

How to fix underfull \hbox in a template

I am using the following template for a resume (https://www.overleaf.com/latex/examples/curriculum-vitae/ztykfkztnqfh) with class moderncv, style banking. The problem is, there is an underfull \hbox ...
6
votes
1answer
93 views

Why does adding `\par` here add vertical space in a different place?

I've been playing around with LaTeX trying to really learn how spacing works in-depth. Here's a silly bit of code that I've been experimenting with: \documentclass[]{article} % Draw a raised \...
0
votes
1answer
16 views

Proper spacing for texts added in between date and abstract on the title page?

As the code shown below, I want to add two lines between date and abstract head, while maintaining the proper spacing so that the title is moved towards the top. Right now, if my abstract is long ...
2
votes
2answers
29 views

Make Tikz nodes look like text lines

I want to create a figure where I have multiple nodes of text and make them look like a proper multi-line text. Essentially I need two things: Figure out the proper node distance to use (I got this ...
2
votes
1answer
62 views

Adjust text spacing in tikz box

In the code given below (based off code found on GitHub), how do I go about reducing the distance from the text to the tikz box? CODE \documentclass{article} \usepackage[landscape]{geometry} \...
0
votes
0answers
24 views

Overfull vbox with koma and setspacing

I had got the same problem as in this question: Overfull vbox with scrbook and setspacing Adding \recalctypearea after \usepackage[onehalfspacing]{setspace} cleared the warnings, but I have a follow ...
1
vote
1answer
24 views

Extra space under first line of text after \section

Having fixed an earlier case of intrusive line-spacing, I now have white-space being added after the first line of a \section (not after the section title itself, after the first line of text below it)...
0
votes
0answers
16 views

match line spacing in different minted code snippents

I want to compare pseudo-code snippets from 2 made up languages side by side. I matched them in number of lines but the line spacing is different, so the lines are not aligned 1:1 even though they ...
0
votes
1answer
32 views

Extra blank lines in reledpar within paragraph

I am formatting a facing-page translation using reledmac/reledpar and I am seeing occasional (apparently random) extra blank lines in mid-paragraph where there is no break in the source text. You can ...
1
vote
1answer
31 views

Line spacing applied to wrong row of tabular

I observed very strange spacing problems in a tabular seemingly caused by the array package. Consider the following MWE: \documentclass{standalone} \usepackage{array} \begin{document} \begin{tabular}{...
0
votes
1answer
25 views

Reledmac - interline (line spacing)

A simple question. Is there any way to change the interline of a Reledmac text (namely, between a \pstart and a \pend) without messing the algorithm of page-breaking? I tried to move up the 11.5 ...
0
votes
0answers
36 views

How to fix underfull \vbox error

I have to write a scientific report with a very specific set of rules regarding the layout of the page and a line spacing of 1.5. I finished the report with the default line spacing, and had no errors....
0
votes
1answer
83 views

Why does LaTeX automatically insert unwanted spaces after a float page generated by `\clearpage` command?

I have a paper with three large floats that go to the end of the document when compiling the source code, their position vary depending on how I update the content, but they even go to the middle of ...
1
vote
2answers
72 views

Different spacing between single- and multi-line intertext in align

I currently have an issue when typesetting an align environment. I have a relatively long list of equations which should all be centered on a single character, but I want text in between the equations,...
2
votes
2answers
24 views

How to reduce spacing in aligned equations?

I currently have the following markup to render aligned equations: \[ \begin{split} \sum_{j=1}^{n+1} j \cdot j! &= \overbrace{(n+1)!-1}^{A(n)} + (n+1) \cdot (n+1)! \\ &= ((n+1)+1) \cdot (n+1)!...
0
votes
0answers
23 views

Space between lines in center environment

How to give more space between two line when using the center environment. When I am giving 4 \\ it gives an error.
2
votes
2answers
60 views

How to set different line spacing in tabular and main body?

I want the main body to have 1.5 line spacing, while tabular environments should have the default (i.e. smaller) line spacing. However, the code below gives 1.5 line spacing to the whole document, ...
1
vote
0answers
38 views

Why I have different space between some par?

If I enable the ban of hanging rows: \clubpenalty=10000 \widowpenalty=10000 for some reason, the distance between several paragraphs begins to change. Especially to make it noticeable, I increased ...
0
votes
1answer
161 views

Line spacing 18 pt in r markdown [duplicate]

Iam writing my thesis in r markdown and want to change the line spacing to 18 pt. But i cant find a solution for it. I only found the setting for onehalf spacing or 1.5 spacing but no for exactly some ...
0
votes
1answer
48 views

Unexplainable change of line spacing

I am currently writing my bachelor's thesis and have encountered some very peculiar behavior in LaTeX which I frankly cannot explain. I am using the setspace package and have \onehalfspacing set at ...
0
votes
0answers
26 views

How to reduce spacing between list when used in columns?

I am not able to write code here so I am attaching a link to code ShareLatex .cls and .tex file In last bullets when it goes to next line, the spacing is more than rest of bullet points. How can I set ...
0
votes
1answer
38 views

Different spacing in itemize when using Beamer

When using the following example, the second item has a little smaller spacing. Using the same code without Beamer (e.g., in article class) the spacing is equal. \documentclass{beamer} \usepackage{...
2
votes
3answers
31 views

Vertical spacing with \cmidrule with datatool table

I would like to insert a cmidrule when I have an empty line in a table produced by the datatool package and also use \bottomrule. Both of these yield excess vertical space above the line: How do I ...
0
votes
1answer
42 views

Add extra row height except the first for “array”

I know for tabular, there is \extrarowheight that can add the extra row height to every row. Now I have a special purpose that I must need the array environment. However, \extrarowheight does not work ...
2
votes
2answers
114 views

How to use \SetSinglespace from setspace?

The file setspace.sty documents the command \SetSinglespace: % GT: Tue 10 Dec 1996: Instead of fixing singlespacing to exact unity, % allow user to redefine it (only slightly, please!) from its ...
2
votes
2answers
76 views

Strange vertical space in tikz text node

I am using chapter decorations from template "Legrand Orange book". But I am getting very strange vertical spacing with it. See the picture. because of capital letter H spacing between 3rd and 4th ...
6
votes
3answers
76 views

Line spacing with line in between

I would like to make an article that has a line spacing between each line and each space contains a horizontal line. The space needs to be large enough for writing notes by hand. The code below works ...
2
votes
1answer
80 views

setstretch and todonotes

I'm attempting to use the todonotes package to make margin annotations connected to points in a text. In order to give more space for the annotations, I'd like to be able to increase the line spacing ...
0
votes
1answer
96 views

Setting spaces (with titlespacing) and fonts

I am struggling with the spaces and font. Firstly, how can I set the spaces like below? (All paragraphs will be have 1.5 line spacing too) Secondly, how can I set all fonts as Times New Roman and ...
0
votes
0answers
110 views

What is the original TeX format and how can we emulate it in latex

I am referring to the doc width, line spacing, fontsize, fontfamily, margins etc .. I have a feeling that they look differently. Would I stand corrected that their defaults are different ? IF so, how ...
2
votes
0answers
54 views

Reducing the line spacing of math environments that support multi-lined contents

I’m trying to reduce the line spacing of “math environments that support multi-lined contents” back to singlespacing in a onehalfspacing document. I’m using the setspace and mathtools packages. Added:...
1
vote
1answer
36 views

beamer - tiny - itemize - itemize leads to incorrect line spacing (and font size)

I am using beamer with tiny font size (because otherwise the text is realy huge) with \begin{tiny} ... \end{tiny}. At some point I am using a double itemize (so, with two levels). This has the ...
3
votes
2answers
31 views

Odd (nasty) problem with relsize for quotes and linespread in preceding paragraph

On the last few metres of typesetting a book I encountered a very nasty issue which I luckily managed to isolate in a MWE. The problem is that blockquotes patched with relsize to have a slightly ...
1
vote
0answers
46 views

Reduce spacing inside cell, vertical and horizontal positioning of figure & defining some text in preamble

I want to make a template document (with custom margins, font sizes, header, footer etc...). I have specified only footer on first page and header on all other pages, margins, text width, text height,...
2
votes
1answer
25 views

How to arbitrarily manipulate line paths in circuitikz diagrams?

I'd like to draw this with LaTeX: This is what I have so far: %%%%%PREAMBLE%%%%% \documentclass[border=0.25cm]{standalone} \usepackage{circuitikz} %%%%%HEAD%%%%% \begin{document} \begin{...
1
vote
0answers
31 views

Linespacing with cutwin

The problem is that the first and the last lines have different line spacing compared with the rest of the text. This is the code: \documentclass[10pt]{tufte-book} \usepackage[utf8]{inputenc} \...
0
votes
1answer
55 views

Is it possible to add \hspace before \begin{lstlisting}?

Hello I would like to add some hspace before a \begin{lstlisting} part so that my code will be tabed to the right. this is not working: \hspace{4mm}\begin{lstlisting} dateRangeInput("daterange", "...
2
votes
3answers
84 views

How to insert multiple hspace into one row line?

I am trying to put multiple hspace into one line of text to get something like this: So I want that the "where the customer can..." comes exactly under "In the Date Control". How can I solve this? ...
4
votes
2answers
87 views

Multiple line attribution at end of quote/verse environment

I want to be able to write an attribution at the end of a quote/verse environment that spans multiple lines. I found this answer which suggests this piece of code \def\signed#1{{\unskip\nobreak\hfil\...
0
votes
1answer
22 views

Footnotes use line-spacing of main text in Memoir when \paragraphfootnotes is used

Using the memoir class, many of my documents require double-spacing of the main text and single-spacing of footnotes. All is normally well, but when I use the \paragraphfootnotes command, the ...
0
votes
1answer
81 views

setting line spacing locally using \renewcommand{\baselinestretch}

I'd like to change spacing locally (without packages such as "setspace"). My preamble: \documentclass[11pt]{book} %[makeidx,bezier,theorem, ukrain] \textheight=172mm \textwidth=112mm \...
0
votes
0answers
112 views

Better usepackage{setspace} or linespread{}?

Since all answers are from 2012 or earlier and the setspace-package is archived: Do I use this package or do I use linespread for line spacing? Is there a difference between those two options i.e. ...
3
votes
0answers
110 views

Customizing line spacing in ctex classes

My goal I recently started using the ctex classes to convert some of my English articles into Chinese. Regarding the line spacing, I would like to achieve the following: The body text should have a ...
0
votes
0answers
49 views

Different Fontsize and Linespacing for document

So here it goes once again: I am currently using this template link What I want to do is to have different linespacing and fontsize settings for the title page and the main document The title page ...
1
vote
1answer
23 views

Grouped entries in index don't spill over to next column

I am trying to write a macro that creates hyperlinks between words in the MainText and corresponding entries in the Index, so that one can jump from word-in-text to entry-in-index by clicking on the ...
4
votes
0answers
83 views

TASKS package issue with TColorBox: unwanted carriage returns

The package TASKS is very useful for horizontal lists. However, when using Tasks lists inside TColorBoxes, Tasks behaves oddly, adding carriage returns when not necessary. Is there a way to restore a ...
8
votes
3answers
241 views

How to temporarily increase line spacing for several lines in a paragraph?

Code: \documentclass{article} \begin{document} Lorem ipsum dolor sit amet, pri an timeam molestiae. Dictas sententiae ius ad. Quod indoctum quo at. Et nam sale elitr, cibo solum consetetur cu cum, ...
3
votes
2answers
98 views

Vertical spacing with formulas

I am having trouble with vertically centering all of my formulas between paragraphs and when using itemize. I am using LuaLatex and no usepackages for formula placement. Code: \begin{equation} \...