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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [line-spacing]

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

0
votes
1answer
44 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
24 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
35 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
26 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
31 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
61 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
71 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
71 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
30 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
74 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
105 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
49 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
30 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
27 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
42 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
24 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
18 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
40 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
74 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
80 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
20 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
55 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
56 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
95 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
79 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 ...
2
votes
1answer
50 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
93 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} \...
2
votes
1answer
45 views

Tabularx environment and linespread

I use the command include{} to import .tex files from other sources, and in one of them is used a tabularx environment. While my main/base .tex file, which is where the other .tex's are imported into, ...
0
votes
0answers
31 views

Extra line space above section title after inserting numbered list

Apologies if this question has been answered before (this is my first time using LaTeX so not 100% sure about any of the terms/what to search for to problem-shoot) but every time I insert a numbered ...
1
vote
2answers
39 views

How to split the right hand side of the equation because it is crossing the page

The equation that I want to split is $$\frac{\partial (r^2 A_{t, r})}{\partial r}+(\alpha^2 r^2- \frac{4M}{\alpha r})^{-1} \frac{\partial A_{t, \phi}}{\partial \phi}= -2q\delta(r-\frac{(4M)^{\frac{1}...
0
votes
0answers
42 views

Matching a word template's font size and spacing

I have a MS Word template for a proposal, but as I hate working with Word, I would like to transform it to LaTeX. I've been playing around with the fancy header class, and so far I've managed to get a ...
1
vote
1answer
35 views

Dynamically set line & paragraph spacings relative to current font-size

I am writing my PhD thesis using the basic report class because my advisor asked me to keep it simple and avoid KOMA-classes/memoir for now. At the moment, I am using the setspace package to set my ...
1
vote
1answer
338 views

Reduce space between equations and text

I am writing some sentences which contain numbered displayed equations in the middle, like this one: | Consider the relationship: | | EQUATION (1)| |where x is ... and y is ...
0
votes
1answer
52 views

How to remove double spacing from table

The following code is making my tables within my document double spaced. Any suggestions on how to fix? It is a multicolumn table with some specific formatting: \documentclass[poms,nonblindrev]{...
2
votes
1answer
35 views

Longtable Caption Spacing

I am writing a thesis, using a customized document class that I haven't created, but seems to function similarly to article. I have been using longtable for my tables, but am struggling to make the ...
2
votes
1answer
67 views

Why does LaTeX add an unneeded space under this table?

The space between the last row and the bottom rule is too much. Why is this happening? How can I remove such space? My source code: \documentclass{report} \usepackage{amsmath,array,booktabs,multirow}...
1
vote
1answer
88 views

Linespace in figure caption

I have defined my own caption format in my document. It works fine, just as expected. However, there is one Figure where the linespace does not look nice because of the formulas pushing the lines ...
0
votes
0answers
53 views

What is the default space between lines in latex?

I'm trying to make all my document with a default layout. So, to make the space between itens in a list, I'd like to know what is the default space between lines in latex in a text (1pt, 1.5em etc)? ...
1
vote
1answer
70 views

Inconsistent linespacing of main text around block quotes

I am facing a strange problem. In the main text of my document I have set the linespacing to 1.5 using the \usepackage[onehalfspacing]setspace . The main text has consistent linespacing, except around ...
2
votes
1answer
73 views

Doing block matrices with array environment

I am used to writing block matrices using the array environment, when these matrices are decomposed in four blocks, controlling vertical spacing and using \hfill, etc.. Now I wanted to draw a matrix ...
1
vote
0answers
46 views

How to have a line number in latex [closed]

I am writing my thesis using overleaf. Sometimes I need to paste some paragraph from one chapter and paste it on another chapter of my thesis. By doing so, I find that the pasted paragraph has no line ...
0
votes
1answer
50 views

Allow line breaks in .tex file for readability without extra white space in document

I want to be able to have line breaks in my .TeX file without producing extra white space in my final document. For example, from something I'm currently writing, I have \documentclass[12pt]{report} ...
3
votes
2answers
152 views

Change linespacing on a single row of a table

I'd like to change the linespacing for a single row of a table. My whole document uses \linespread{1.3} but on this table it seems too much. Actually, I like it in all rows except the first. I figured ...
1
vote
1answer
79 views

mdframed and parskip

This seems pretty easy: how can I get a paragraph skip in an mdframed, same as outside the box? Is it somehow `disabled', and if so, is there a reason for that? Here is how it's set up, in a ...
1
vote
2answers
120 views

Two-line labels in ganttchart

Is there any possibility to set up ganttchart with two-lines labels? \begin{ganttchart}[inline]{1}{12} \gantttitlelist{1,...,12}{1} \\ \ganttbar{two\\lines}{1}{2} \end{ganttchart}
1
vote
2answers
42 views

Different node sizes conflict in TikZ tree

For the given tree set in TikZ I have the issue that nodes with different heights (here one line vs. two lines ) are conflicting with the separation distance. Here is the graphic which shows the ...
1
vote
0answers
59 views

how to tell Latex to ignore empty lines [duplicate]

This is a problem I had for long time. I use software to generate Latex (SW). It adds lots of empty lines. Which ends up using extra white space between a text and the displayed equation that follows....
1
vote
1answer
98 views

Ensuring consistent line spacing with ascenders, descenders and accents

This is basically a follow-up question to Consistent Line Spacing in Customized Titles. It appears to me that \strut can only work in macros taking one- or two-line (in the output) arguments, so I am ...