Questions tagged [line-spacing]
{line-spacing} is about adjusting the space between the lines of a document. A popular package is {setspace}.
1,072
questions
2
votes
2
answers
64
views
makecell: how to reduce the line spacing in multiline cells?
The following LaTeX source code
\documentclass[12pt]{article}
\usepackage{makecell}
\begin{document}
\begin{tabular}{ll}
foobar & 0 \\
foo & ...
0
votes
0
answers
29
views
increase line spacing within dmath environment
How do I increase line spacing in the dmath environment?
\begin{dmath}
{P(I_d)}={P(I_a}\\
{=P(I_b)}\\
{=P(I_c)}
\end{dmath}
The latex output gets cramped, the line spacing is much too narrow.
0
votes
0
answers
33
views
How to make row spacing in the table environment the same as in the document
I am writing a document class for my thesis, and now I am trying to control the line spacing in the table environment. I use \setstretch{1.5} to set the line spacing for main text. I want to make the ...
0
votes
2
answers
23
views
How to enlarge spacing between lines (change baselineskip) in beamer?
I want spacing between lines larger in my beamer. I used to type:
\renewcommand{\arraystretch}{1.25}
but this seems not working in beamer
1
vote
1
answer
28
views
Double spacing using doublespacing environment
I want to locally apply double spacing in a certain paragraph of the document by using \begin{doublespacing} and \end{doublespacing} from the setspace package. However, I found it only takes effects ...
0
votes
2
answers
46
views
Formatting frontmatter pages
I am finalizing my master's thesis. Among the frontmatter elements, there are pages for the Copyright statement, Acknowledgements, and Abstract.
I have two issues that I couldn't manage to solve:
How ...
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}
\...
2
votes
1
answer
25
views
line height varies with wrapping text
I was trying to create a new title page for uni project.
For that I took an online template and changed the text.
The problem now is, that the title wraps and has different line height in some lines.
...
3
votes
3
answers
124
views
How to change interline spacing only inside lists?
If I do the following:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\usepackage{enumitem}
\setstretch{2}
\setlist[itemize]{topsep=.1em,itemsep=.1em,parsep=0em,partopsep=0em}
\...
0
votes
1
answer
37
views
emulating line space of displayed multiline math in non-math mode
I want to use displayed style for inline math, i.e. \everymath{\displaystyle}, but the line space is too tight when, for example, fractions appear in consecutive lines.
I want to change this via \...
0
votes
1
answer
31
views
Line spacing broken (bottom line falls below the frame or even empty) possibly because of the unit of measure of \vspace and images
Anytime there's an image on page or otherwise not just pure text (which, of course, is spaced by \vspace command) the line spacing gets corrupted.
Take a look at MWE below to see. Note how on Page 1 (...
0
votes
1
answer
33
views
Kindly increase the gap size in an array (between the \overline and the top line)
Is there a simple way to increase the gap size between the \overline and the top line, in the array? More precisely, here is an example.
An array command
$$
\begin{array}{| c | c |}
\cline{1-2}
\...
0
votes
1
answer
72
views
Uneven line spacing in paragraph
I am in the final stage of polishing my book in LyX. In one paragraph I noticed an uneven line spacing. When I copy the whole paragraph to a different section, the line spacing is evened, even if both ...
0
votes
0
answers
15
views
Vertical height between rows [duplicate]
I want to increase the vertical height between rows. How can I do this for the all document?
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
I want to increase vertical height ...
1
vote
1
answer
43
views
Fine tuning leading for end notes chapter with \small fontsize
I'm preparing a book type project for which I'm trying to ensure the number of lines per page fits exactly the height of the typeblock, so that the lines are aligned on the two pages of the spread, ...
0
votes
1
answer
26
views
How to remove weirdly forced spaces between lines in a paragraph?
I am using the following linespacing setup:
\captionsetup{belowskip=0pt}
\skip\footins 0.5\baselineskip
\floatsep \baselineskip
\textfloatsep \baselineskip
\intextsep \baselineskip
\dbltextfloatsep \...
4
votes
1
answer
52
views
Prevent IEEEeqnarray ignoring baselineskip
I have been running into this problem when using \IEEEeqnarray. I have set the default line spacing of my document to be \baselineskip=18pt plus1pt, however for any paragraphs before an equation array ...
1
vote
0
answers
29
views
Increasing line break in latex beamer
As you can see in the image, the line break with \ \ does not have any space between the two texts. On the other hand, the \newline command makes a very big jump.
Is it possible to give the line break ...
1
vote
6
answers
415
views
How to manage tables with many fractions, where I like to give some sufficient spacing for the numerators?
I am working on a table with a lot of formulas (Laplace Transforms of various functions). Using a standard command (\[2mm]), I am able to generate spacings for the denominators. But the numerators ...
1
vote
1
answer
30
views
How to add line-break inside amsmath align section?
I'm trying to replicate the following image inside LaTeX:
I've been successful thus far with aligning everything in the right place, but am still having trouble adding a line break within one of ...
0
votes
1
answer
46
views
Different line spacing in two different paragraphs
I have two paragraphs; one in spanish and the other in english. The problem is that the english paragraph has more line spacing than the other (I would like that both have the line spacing of the ...
0
votes
2
answers
68
views
show spaces between words
I write and compile in Overleaf (Latex). In Microsoft Word there is an option called "Show All", in order to see if there is more than 1 space between words. I would like to ask, if there is ...
1
vote
2
answers
47
views
Displacing character vertically without affecting line breaks
I'm trying to set up margin notes with manicules. I'd like to use the actual unicode character for a manicule, and I'd like to have it offset to the left of the rest of the note, enlarged, and shifted ...
5
votes
2
answers
329
views
Are \onehalfspacing and {spacing}{1.5} Supposed to Yield Different Results?
I am working on a document which requires for a very small portion of the text, that the spacing between the lines be increased. However, and I don't know why, the \begin{onehalfspacing} ... \end{...
1
vote
1
answer
74
views
How to remove all line spacing in ConTeXt
I am trying to remove all spacing between lines (be it from paragraphs, lineheight or line spacing) with setupinterlinespace, but I am not quite successful:
The left illustrates the default, the ...
0
votes
0
answers
115
views
How to elegantly create a blank line between paragraphs
I use
\\ \ \\
( The middle part is \ followed by a space.)
to create a blank line between paragraphs because I could not find an easier way.
Can you help me finding a more easy ( elegant ) way to do ...
0
votes
0
answers
26
views
algorithm is not adapting to \baselinestretch?
The algorithm environment doesn't automatically adapt to renewing the \baselinestretch command like the tabular does. I would like the algorithm header and rules to match the line height similar to ...
1
vote
0
answers
56
views
What is the linespacing used in tufte-book?
When writing a tufte book document, what is the default line spacing used for the main text paragraph and in the margins text?
I couldn't find any related commands when scrolling over the tufte-common....
1
vote
1
answer
42
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 ...
2
votes
1
answer
54
views
Irregular line spacing between references
I can hardly solve an editing problem concerning bibliography: the line spacing between references is irregular in the middle of one page as follows. I wonder if I can find any suggestion here.
My ...
2
votes
2
answers
138
views
left aligning \[ \] $$ $$ formulas
I need do align some (not all) of equations to the left. So also I want to avoid weird formatting of them
so that is what $\displaystyle ...$ does
Interline space is tiny. To increase it, I can use \[...
0
votes
0
answers
22
views
How do I double space the abstract in a overleaf paper? [duplicate]
I know a question identical to this one has been asked before, except the solution doesn't work at all for me. The rest of the paper is affected by the \doublespace command, but not the abstract.
4
votes
1
answer
213
views
Why is the line spacing different between these paragraphs?
In the following two paragraphs, the line spacing seems to be wider in the bottom paragraph, and I can't for the life of my fathom why:
The code for this part plus a little before and after is
{\...
0
votes
2
answers
83
views
Spacing between horizontal lines in a title and spacing in general
I am trying to create a custom title for my document, but the space between my horizontal lines, or the spacing in general doesn't work properly.
Here is a minimal-working-example, which - I hope - ...
3
votes
2
answers
235
views
Why is my itemize line spacing so huge?
My other itemize doesn't have this problem so why does this have it?
Here's the code:
\documentclass[12pt,twoside, a4paper]{report}
\usepackage[utf8]{vietnam}
\usepackage{mathptmx}
\usepackage[margin=...
0
votes
2
answers
65
views
Cryptocode/falign: spacing between lines
I'm using cryptocode to display some crypto-related things in a memoir document, but I'd like to decrease the default spacing, which is huge (especially when using one half spacing in the rest of the ...
1
vote
0
answers
17
views
Multiline \institute has no spacing in Beamerposter footline [duplicate]
I've implemented a custom theme to provide institute information in the footline of my poster. It works fine in practice, but the spacing between lines is way off if the lines don't include characters ...
1
vote
0
answers
23
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 ...
2
votes
1
answer
55
views
Avoiding change line spacing in all display multiline equations
I need to increase the line spacing with the setspace package but I don't want to affect the all display math equations. In other word, I want to set line spacing to 1 for all display math equations.
...
2
votes
2
answers
56
views
Make cell text occupy the height of all the cell
I have this kind of table .
I would like to make the 2nd column text occupy the same as that from the 1st column. That way, the line spacing between the lines needs to be bigger..
1
vote
1
answer
67
views
How to clean up a LaTeX code in Overleaf (new to LaTeX and Overleaf)
I was recently solving a simple integral with LaTeX and I couldn't find a very clean way to do it. This is my work and I would like to know how to clean up the LaTeX both in the code and making how I ...
1
vote
1
answer
49
views
How to modify line-spacing inside table environment?
Context : I am using the table environment to make a table. I'm using adjustbox to control the width of my table. Here is what my code looks like :
\begin{table}[htbp!]
\begin{adjustbox}{width=\...
0
votes
0
answers
18
views
Error while making a new command
I am making a new command which goes something like this
\newcommand{\resumeSubheading}[4]{
\vspace{-2pt}\item
\begin{tabular*}{1.0\textwidth}[t]{l@{\extracolsep{\fill}}r}
\textbf{#1} &...
2
votes
1
answer
42
views
Linespread space independent
I'm trying to set linespread independent of my content. But I don't know how.
I need single space between Professor 1 & Professor 2
Here is MWE.
\documentclass[a4paper,12pt]{report}
\usepackage{...
1
vote
1
answer
60
views
How to keep base-line based distance before (tikz) environment?
I have an environment (tikzpicture) that tries to occupy a height equal to the multiple of the current line height / baselineskip (I need this to be pixel-perfect, so in a multicol-setup the baselines ...
1
vote
1
answer
420
views
How do I use koma-script on Overleaf?
I'm mostly self-taught in LaTeX and currently flailing around trying to use it for a math class. Which is to say, I probably don't know very much of the jargon and I may be approaching things totally ...
1
vote
1
answer
26
views
blank spaces in a new line
I want to add some blank spaces to my margin when i go to a new line.
The second " = " sign should be just below the first " = "
How can i do that?
0
votes
1
answer
57
views
shrink the line spacing with a `marginnote` environment
I am struggling to shrink the line spacing with a marginnote environment. I can do it in a very minimal example, but not in my current full use case. Is it obvious to someone what I have in the full ...
0
votes
1
answer
19
views
Reduce space between lines WITHIN citations in Tufte margin
I successfully reduced the space between lines in marginfigure content by adding \AtBeginEnvironment{marginfigure}{\linespread{0.5}}, but I'm struggling to do the same for citations.
I created a MRE ...
1
vote
1
answer
65
views
Set different line-spacing between main text and footnote
I want to set line spacing: 1.8 for the main text and 1.1 for the footnote. Package parskip seems a good choice with some effective options. However, I can not make the different setting (of line-...