Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using the powerdot class to make my first presentation in LaTeX (LyX). I have a figure whose caption contains a lot of text. Currently the text rolls off the slide. I can manually change the font size, but I'd like powerdot to shrink the text to fit. I have seen that beamer has a similar option.

share|improve this question

2 Answers 2

up vote 1 down vote accepted
  • You could use the caption package for typesetting captions with a certain width, such as by

    \captionsetup{width=\textwidth}
    

    So the caption would be wrapped at the right margin and continued on the next line. This should be better than scaling the font size, which can result in a hardly consistent design.

  • If scaling is really needed, it can be done using \resizebox of the graphicx package.

share|improve this answer

use package caption with a smaller text font:

\documentclass{powerdot}
\usepackage[english]{babel}
\usepackage{graphicx,caption,blindtext}
\begin{document}

\begin{slide}{foo}
\begin{figure}
\rule{0.5\textwidth}{3cm}
\captionsetup{font=scriptsize}
\caption{\blindtext}
\end{figure}
\end{slide}

\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.