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
1answer
29 views

Why xapptocmd is reducing the vertical space between \partname and \parttile?

Running this example: \documentclass[ 10pt, a5paper ]{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xcolor} \definecolor{ultramarine}{RGB}{0,32,96} \RequirePackage{xpatch}...
6
votes
2answers
38 views

Correct spacing before and after a Theorem

I would like to develop a small environment for a "theorem" very similar to what amsthm provides. Unfortunately, I cannot use this package for legacy reasons within the document. But I struggle to get ...
0
votes
0answers
20 views

Customize the space between lines

I am working on my PhD thesis and needs to reduce the space between lines. I tried the suggested ways such as: \def\HS{\rule[-1cm]{0pt}{1.1cm}} or \vspace*{-\baselineskip}did not work. Does anyone ...
0
votes
1answer
30 views

Shift text down and induce overlap with next line

I'm quite new to LaTeX, and I've got a following question: I'd like to shift text in a single line without shifting any other part of my document. More specifically, I want it to overlap with the ...
2
votes
1answer
33 views

line spacing in title is too narrow

I have a template for my thesis and the line spacing is too narrow for the department title. It looks like in the image. https://drive.google.com/file/d/1W-FLfpB5vv6mOEUvCVu4_zYiOL2MWq3N/view?usp=...
0
votes
0answers
7 views

Ho to reduce the line space in the Glossaries (Acronym) using \printglossary

How can I remove the excessive gap between the two Acronyms in the List of Abbreviations using \printglossary as shown in the picture below? I am writing my thesis and all the Acronyms will take a ...
0
votes
0answers
13 views

The title is not appearing in full column. And also having issue in spacing

I am using the double column template provide by ASME journal. Using that template I am getting my title of the paper and authors information on the left side of the two columns. How to overcome this? ...
1
vote
1answer
48 views

Tikz/pgfplots Reduce distance between Tick labels line break

I'm pretty desperate with a problem I have right now. I'm trying to create a lollipop plot that has different categories on the y-axis and occurrences on the x-axis. According to the below code. Note ...
2
votes
1answer
36 views

How to automatically prepend space to every line which starts after automatic line-break?

What I need is very first line in the document and every line that follows explicitly-specified break (\\) to have 0 mm space (no space) between its first character and left margin of the page (which ...
0
votes
0answers
31 views

\linespread in LaTeX article class

I am employing LaTeX to draft a scientific manuscript for publication. The journal specifications are that main text be double-spaced (\linespread{2}) and that references and figure/table captions be ...
1
vote
2answers
52 views

How to make a single line in latex to have more line space?

In the following code, due to the shape of Q in "Qualification", the upper side of "L" in "Language" stick with the underline of "Further Qualification". Would it be possible to make the line space of ...
2
votes
1answer
25 views

I could not use spacing inside the node

How do I use \ begin {spacing} {1} \ textbf {About Courses}} \ end {spacing} within a node? \documentclass[margin=10pt]{standalone} \PassOptionsToPackage{usenames,svgnames}{xcolor} \usepackage[...
0
votes
0answers
19 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
48 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
63 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
89 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
81 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
46 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
35 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
20 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
66 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
45 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
46 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
52 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
72 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
53 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
48 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
344 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
109 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
24 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
44 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
43 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 ...
14
votes
2answers
426 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
2k 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
228 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 which are not just on the screen, but also written to the file.
2
votes
2answers
40 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
96 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
74 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
49 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 ...
2
votes
0answers
157 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
210 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
179 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
122 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
26 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
146 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
1answer
48 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
77 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)...