Generallinespread in minipage

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
d82k
Posts: 7
Joined: Tue Mar 25, 2008 1:33 pm

linespread in minipage

Post by d82k »

Hi!

how do i change the linespread inside a minipage enviroment???

I have tried this:

Code: Select all

{\linespread{1}
\begin{minipage}{0.8\textwidth}
{\scriptsize
\begin{ttfamily}
my text
my text
my text
\end{ttfamily}
}
\end{minipage}
}
but doesn't work...

Thankyou for your help
dk

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

linespread in minipage

Post by Stefan Kottwitz »

Hi dk,

I recommend to use the setspace-package instead of \linespread, look here for reasons.

Stefan
Post Reply