[Tex/LaTex] way to force text to NOT wrap to the next line

beamerwrap

Is there a way to force text (in a beamer slide) not to overflow to the next line, regardless of whether it fits into the page or not?

Best Answer

If you box the contents inside \mbox (say), it doesn't know the length and therefore doesn't break/wrap:

enter image description here

\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}
Related Question