Presentations and PostersSet line spacing for a single frame

Beamer, Powerdot and KOMA-Script presentations, Conference posters (a0poster, baposter, tikzposter)
Post Reply
asafw
Posts: 37
Joined: Sun Jun 10, 2012 12:33 pm

Set line spacing for a single frame

Post by asafw »

Hi there,

I would like to set the line spacing differently for only a single frame. I found examples online which show how to modify different options for a single frame using minipage environment, but I don't have enough experience to change these to my needs..

Thank you very much,
Asaf

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Set line spacing for a single frame

Post by Johannes_B »

With the information given, it is quite hard to say something specific. I guess you are talking about beamer, but i am not sure. Maybe you want the change for a table, which would require a completely different solution. Please share a minimal working example with us.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
asafw
Posts: 37
Joined: Sun Jun 10, 2012 12:33 pm

Set line spacing for a single frame

Post by asafw »

Hi,

Sorry -- here is an example. I'd like to control the line spacing instead of the text width in what's below..
I hope this suffices..

Thank you!

Code: Select all

\documentclass{beamer}
\usepackage{lipsum}
\begin{document}
\vspace*{10pt}
\fbox{\begin{minipage}{0.9\textwidth}
\lipsum[1]
\end{minipage}}
\end{document}
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Set line spacing for a single frame

Post by Johannes_B »

Code: Select all

\documentclass{beamer}
\usepackage{lipsum}
\usepackage{setspace}
\begin{document}
\vspace*{10pt}
\fbox{\begin{minipage}{0.9\textwidth}
	\setstretch{.3}
	\lipsum[1]\par
\end{minipage}}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply