有没有办法强制文本(在幻灯片中beamer
)不溢出到下一行,无论它是否适合页面?
答案1
如果你将内容装箱\mbox
(比如说),它不知道长度,因此不会破裂/包裹:
\documentclass{beamer}% http://ctan.org/pkg/beamer
\begin{document}
\begin{frame}
\frametitle{This is a the frame title}
Here is some text that will flow from this line into the following line.
\mbox{Here is some text that will NOT flow from this line into the following line.}
\end{frame}
\end{document}