Stack Exchange Network

Stack Exchange network consists of 175 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}.

0
votes
0answers
7 views

How to increase the space between two equations written in subequation environment?

I have written the attached optimization problem. But, as it can be seen that equations (1c)-(1j) are very close to one another. I want to add a small space between each equation. What is the neatest ...
1
vote
0answers
31 views

How can I get consistent line spacing with highlighted, minted material in a paragraph?

I'm using a lot of inline minted material. To distinguish between code elements and text elements in my document, I'm giving everything a light background color. (The color used below is exaggerated ...
0
votes
1answer
47 views

Vertical spacing between two lines of an item

I encountered a problem regarding the spacing between two lines of an item when wrapping a row of text. Here is a MWE: \documentclass[a4paper, 12pt]{article} \begin{document} \noindent Some text ...
6
votes
1answer
85 views

Starting a new line below a certain word [duplicate]

I would like to start a new line directly below a certain word in previous line. For example, let the first line begins by 'Let A denote ...' and I want to have 'B denote ...' for the second line. ...
4
votes
1answer
68 views

How do I ask LaTex to exactly fill up a page that has columns?

Similar Question #1: How do I ask LaTeX to exactly fill up a page? Similar Question #2: Fill up a page by equations, and then switch to onecolumn I need to create a number of pages that should be ...
4
votes
1answer
44 views

Change default value of the optional argument of \\, also in tikz nodes

I use a lot of \\ in my beamer presentations to force line breaks at nice places, and more often than not, I use \\[5pt] instead of the default value (which feels too cramped). Some trial and error ...
0
votes
1answer
32 views

Enlarging interlinear space to avoid cluttered text at specific lines

I am using the mtpro2 typefaces in a document and I have noticed that where a superscript appears on the vertical relative to a subscript in the line immediately above, the vertical space between the ...
1
vote
0answers
16 views

Setting line spread globally, but not for tables

I use a \linespread of 2 globally to nicely space out a document. But when I'm doing tables, the line spacing affects the table as well, here's an example: Is there a way to set the lines spacing on ...
0
votes
0answers
22 views

Reduce line spacing in table

I have a table produced with this code: \begin{center} \begin{tabular}{ | m{3em} |m{2cm}| m{9cm} | } \hline \textbf{111} & \textbf{2222222} & \textbf{3333333333333}\\ ...
0
votes
2answers
43 views

Avoiding an augmented space

I'm struggling to do something on LaTeX and I dont know if it is possible to do : If I write an expression like \displaystyle \frac{a}{n} in a sentence, that goes to a new line. The space between ...
1
vote
1answer
17 views

First line to always start at fixed location independent of anything that comes before it

I created my MWE with the help of this Q&A. Issue: I think it works great, the only issue is that the length down from the top of the page that the lipsum paragraph starts at in the first page ...
1
vote
1answer
44 views

Why is my title so squeezed? [duplicate]

I print the title of my document like this: \begin{titlepage} \centering \vspace*{\fill} {\huge\bfseries \getTitle} \vspace*{\fill} {\huge\bfseries \getTitleGer} \end{titlepage} And the ...
1
vote
1answer
38 views

How do I “unlink” the rows in one column from the rows in another column?

MWE \documentclass{article} \usepackage{multirow} \pagestyle{empty} \usepackage[left=1.25in, top=1in, right=0.85in, bottom=1in]{geometry} \usepackage[thinlines]{easytable} \begin{document} \begin{...
1
vote
1answer
44 views

controlling spacing between lines in tree of contents

Since yesterday I have learned that doing a hard reset on a git branch also throws away stashed changes. So, I need to recreate some steps that I have inadvertently thrown away. Unfortunately I cannot ...
2
votes
1answer
54 views

Linespacing changes at inline math with superscript

I am using a latex template where the vertical linespacing is increased whenever there is an inline math expression that contains superscripts. Subscripts are fine. I find this to be annoying. Is ...
1
vote
1answer
44 views

Set vertical space after paragraph depending on the following text

I have this code: \documentclass[11pt]{article} \usepackage{amsthm} \usepackage[margin=2.5cm]{geometry} \usepackage[utf8]{inputenc} \usepackage{setspace} \theoremstyle{definition} \newtheorem{...
0
votes
1answer
42 views

Unsucessfully, using BibLaTeX and running XeLaTeX, I tried to reduce the spacing of bibliography header

I tried by the middle of the following questions: How to reduce size of bibliography header Vertical space after Bibliography name Changing the heading style of references section How can I reduce ...
0
votes
1answer
189 views

LaTeX Awesome CV - Space after entries

for some sections, i do not wish to put a bullet/description, however a space is automatically generated regardless if the bullet or description is filled out. i want to make this space only generate ...
0
votes
1answer
102 views

ConTeXt: uniform line height

Returning to this example, I would like to change the "Left 1" \heading to a \subheading while keeping the two "Left 1", "Right 1" headings vertically lined-up. And assuming ConTeXt: uniform handling ...
0
votes
1answer
20 views

Spacing between footnotes similar to spacing in footnote

I add line spacing to my main text with \setstretch{1.18} and to footnotes with \setstretch{1.22}. When there are multiple footnotes on a page I of course want the spacing between the last line of one ...
1
vote
1answer
41 views

How to set particular spacing between first two lines?

I have this code \textbf{An example of description:} \begin{description} \item[enumerate] let you create enumerated lists. \item[itemize] let you create something \item[description] let you create ...
0
votes
1answer
39 views

Change line spacing for a table inside a document [duplicate]

I am writing a document using agujournal2018.cls template. The template could be found here. I have a lengthy table inside my document which do not fit A4 page with double spacing. I want minimum ...
13
votes
2answers
347 views

Tikzpicture with remember picture and overlay inserting vertical space

I am trying to insert additional vertical space at the top, but instead this vertical space is inserted after the first title line: However, if I comment out \TikzDecorations[2], I obtain the ...
2
votes
3answers
894 views

set font size and line spacing

I need a font size of 12 pt and a line spacing of 1.5 lines. I try: \documentclass{article} \usepackage{lipsum} \linespread{1.5} %regulate line spacing \renewcommand{\normalsize}{\fontsize{12pt}{0}\...
2
votes
1answer
111 views

How to set hard line breaks in Texstudio

I am using Texstudio in Ubuntu 18.04 as a Latex editor. I need to set hard line breaks. Can't find any way. The main issue I'm having is that in my editor, I see the soft line breaks (i..e., a new ...
2
votes
2answers
36 views

Too much vertical space after displayed math in tasks environment

Tasks package inserts too much vertical space after displayed math: \documentclass{article} \usepackage{tasks} \begin{document} \begin{tasks} \task \[ X\rule{10cm}{1pt}X \] \task \[ Y\rule{10cm}{...
3
votes
2answers
82 views

change the spacing between lines within a fullcite

I am creating a beamer presentation with references, listed as fullcites. Some of those entries are taking too much space on the slides because the spacing between lines (that belong to the same ...
3
votes
1answer
49 views

How can I change the space between lines in theorem?

I am using the amsthm package. I need to change the space between the lines of the paragraph in the body of the all theorems only in the theorem environment and not in the other parts of my report.. ...
0
votes
1answer
39 views

Tiny, tightly spaced, unnumbered footnotes in beamer presentation (possibly with columns)

For reasons outside my control, I need to put tiny, tightly spaced, and unnumbered footnotes in a beamer frame. The frame possibly contains columns, in which case the footnotes should be at the bottom ...
1
vote
0answers
110 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
177 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
126 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
106 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
24 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
33 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
120 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
32 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
52 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
1answer
56 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
35 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
40 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
1answer
138 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
96 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
34 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)!...
2
votes
2answers
276 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
42 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 ...
1
vote
1answer
607 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
70 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
1answer
40 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
37 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 ...