LaTeX forum ⇒ Presentations and PostersSet line spacing for a single frame

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

Set line spacing for a single frame

Postby asafw » Wed Jun 08, 2016 7:44 pm

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

User avatar
Johannes_B
Site Moderator
Posts: 3597
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Jun 08, 2016 8:15 pm

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: 36
Joined: Sun Jun 10, 2012 12:33 pm

Postby asafw » Thu Jun 09, 2016 8:02 pm

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!

  1. \documentclass{beamer}
  2. \usepackage{lipsum}
  3. \begin{document}
  4. \vspace*{10pt}
  5. \fbox{\begin{minipage}{0.9\textwidth}
  6. \lipsum[1]
  7. \end{minipage}}
  8. \end{document}

User avatar
Johannes_B
Site Moderator
Posts: 3597
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Jun 09, 2016 9:13 pm

  1. \documentclass{beamer}
  2. \usepackage{lipsum}
  3. \usepackage{setspace}
  4. \begin{document}
  5. \vspace*{10pt}
  6. \fbox{\begin{minipage}{0.9\textwidth}
  7. \setstretch{.3}
  8. \lipsum[1]\par
  9. \end{minipage}}
  10. \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.


Return to “Presentations and Posters”

Who is online

Users browsing this forum: No registered users and 1 guest