Latex Beamer 剪切文本
下面简单的Latex描述不会产生 在幻灯片中我希望它是这样的。
\begin{frame}
\frametitle{Previous Work}
\begin{itemize}
\item [Hummer 1992] - First work in this area was conducted by Hummer
\item [Goldreich et at. 2002] - Theoretical work that focused more on the power characteristics of embedded systems
\end{itemize}
\end{frame}
问题是,方括号内的文本被截断。所以它应该看起来 像这样:
Hummer 1992 - First work in this area was conducted
by Hummer
Goldreich et al. 2002 - Theoretical work that focused more on
the power
但它看起来像这样:
r 1992 - First work in this area was conducted by Hummer
l. 2002 - Theoretical work that focused more on the power
知道我如何解决这个问题。
谢谢!
The following simple Latex description does not result
in the slide I want it to be.
\begin{frame}
\frametitle{Previous Work}
\begin{itemize}
\item [Hummer 1992] - First work in this area was conducted by Hummer
\item [Goldreich et at. 2002] - Theoretical work that focused more on the power characteristics of embedded systems
\end{itemize}
\end{frame}
The problem is, that the text within the square brackets is cuts off. So it should look
like this:
Hummer 1992 - First work in this area was conducted
by Hummer
Goldreich et al. 2002 - Theoretical work that focused more on
the power
But it looks like this:
r 1992 - First work in this area was conducted by Hummer
l. 2002 - Theoretical work that focused more on the power
Any idea how I can sort this out.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
正如 progo 所说,description 环境比 itemize 更适合。
此外,您可以使用描述环境的可选参数来改进对齐方式,指定最宽标签的宽度:
输出:
(来源:texblog.net)
顺便说一句。如果您想知道如何摆脱“默认”投影仪警告,请查看此 有关投影仪警告的博客文章。
As progo said, the description environment fits better than itemize.
Additionally, you could improve the alignment using the optional parameter of the description environment, specifying the width of the widest label:
Output:
(source: texblog.net)
Btw. if you would like to know how to get rid of the "default" beamer warnings have a look at this blog post regarding beamer warnings.
itemize
环境不适合与长“项目符号”一起使用。使用description
环境可以做得更好(正如我检查的那样,它也适用于投影仪),但它不会按照您想要的方式对齐名称和描述。总有
表格
可以完全满足您的需求。The
itemize
environment is not meant to be used with long 'bullets'. Using thedescription
environment does a better job (which also works in beamer as I checked), but it won't align the names and descriptions as you would like to sketch out.There's always the
tabular
for doing exactly what you want.