如何安排字体较小的幻灯片并对齐

如何安排字体较小的幻灯片并对齐

我正在尝试找到一种方法来使字体变小并排列它们

\documentclass[11pt] {beamer}

\begin{document}

\begin{frame}
\frametitle{ the title of elepants}
\begin{itemize}
\item  {\footnotesize how the animal survive}
\item  {\footnotesize response }

\small Elephants are large mammals of the family Elephantidae in the order Proboscidea. Three species are currently recognised: the African bush elephant (Loxodonta africana), the African forest elephant (L. cyclotis), and the Asian elephant (Elephas maximus). Elephants are scattered throughout sub-Saharan Africa, South Asia, and Southeast Asia. Elephantidae is the only surviving family of the order Proboscidea; other, now extinct, members of the order include deinotheres, gomphotheres, mastodons, anancids and stegodontids; Elephantidae itself also contains several now extinct groups, such as the mammoths and straight-tusked elephants.
All elephants have several distinctive features, the most notable of which is a long trunk (also called a proboscis), used for many purposes, particularly breathing, lifting water, and grasping objects. Their incisors grow into tusks, which can serve as weapons and as tools for moving objects and digging. Elephants' large ear flaps help to control their body temperature. Their pillar-like legs can carry their great weight. African elephants have larger ears and concave backs while Asian elephants have smaller ears and convex or level backs.


\end{itemize}
\end{frame}

\end {document} 

答案1

如果您希望演示文稿中的所有项目列表都使用较小的字体(因为它们被定义为默认字体),那么只需添加到序言中,例如:

\setbeamerfont{itemize/enumerate body}{size=\footnotesize}
\setbeamerfont{itemize/enumerate subbody}{size=\scriptsize}

考虑到这一点,并考虑到@Sigur 评论他指出贡萨洛·梅迪纳回答解决文本对齐问题,其 mwe 为:

\documentclass[11pt] {beamer}
\setbeamerfont{itemize/enumerate body}{size=\footnotesize}
\setbeamerfont{itemize/enumerate subbody}{size=\scriptsize}
\usepackage{ragged2e}

\begin{document}

\begin{frame}
\frametitle{The title of elephants}
text
\begin{itemize}
\item   how the animal survive
\item  response

\justifying
Elephants are large mammals of the family Elephantidae in the order Proboscidea. Three species are currently recognised: the African bush elephant (Loxodonta africana), the African forest elephant (L. cyclotis), and the Asian elephant (Elephas maximus). Elephants are scattered throughout sub-Saharan Africa, South Asia, and Southeast Asia. Elephantidae is the only surviving family of the order Proboscidea; other, now extinct, members of the order include deinotheres, gomphotheres, mastodons, anancids and stegodontids; Elephantidae itself also contains several now extinct groups, such as the mammoths and straight-tusked elephants.

All elephants have several distinctive features, the most notable of which is a long trunk (also called a proboscis), used for many purposes, particularly breathing, lifting water, and grasping objects. Their incisors grow into tusks, which can serve as weapons and as tools for moving objects and digging. Elephants' large ear flaps help to control their body temperature. Their pillar-like legs can carry their great weight. African elephants have larger ears and concave backs while Asian elephants have smaller ears and convex or level backs.
\end{itemize}
\end{frame}

\end{document}

在此处输入图片描述

相关内容