Text Formattingline spacing

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Jan Borowiec
Posts: 5
Joined: Sun Aug 09, 2020 9:31 pm

line spacing

Post by Jan Borowiec »

Hi,
The program:

Code: Select all

\documentclass[12pt,a4paper]{book}
\usepackage{xcolor}
\usepackage{lipsum}
\usepackage{setspace}
\renewcommand{\baselinestretch}{1.5}

\begin{document}
\lipsum[1]
{\setstretch{0.5}\color{blue}
\lipsum[2]
}
\lipsum[3]
\end{document}
gives under Ubuntu 18.04 a correct - expected result, while under Linux Mint 20 Uliana the spacing between lines remains unchanged. Unfortunately I'm working under Mint. what could i do to get around this? Thank you for an advice.
Greatings Jan Borowiec

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

line spacing

Post by Stefan Kottwitz »

Hi Jan,

I don't have both operating systems here. Can you perhaps post the two different PDFs as attachment here, and both .log files too?

Stefan
LaTeX.org admin
Post Reply