我有一段文本,这些文本被格式化为列,我经常对其进行编辑。当我将文本添加到第一列时,列的外观不平衡,我必须手动将文本剪切/粘贴到下一列以改善美观。我可以以某种方式自动执行此操作吗?我不想必须指定列数(和宽度)。我希望编译器根据我输入的文本计算出列之间单词的最佳(最均匀)分布。以下是 MWE:
\documentclass[gray]{beamer}
\usetheme{default}
\begin{document}
\begin{frame}{Product Concept}
\begin{columns}[t]
\begin{column}{.3\textwidth}
\small
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the
\end{column}
\begin{column}{.3\textwidth}
\small
1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap
\end{column}
\begin{column}{.3\textwidth}
\small
into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
\end{column}
\end{columns}
\end{frame}
\end{document}
答案1
与普通文档不同,演示文稿通常需要手动控制分栏和分页,但是您可以multicols
根据需要使用:
\documentclass[gray]{beamer}
\usetheme{default}
\usepackage{multicol}
\begin{document}
\begin{frame}{Product Concept}
\begin{multicols}{3}
\small
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the
1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap
into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
\end{multicols}
\end{frame}
\end{document}