梅威瑟:
\documentclass{beamer}
\usetheme{Madrid}
\begin{document}
\begin {frame}{Upper gastro-intestinal endoscopy }
\begin{itemize}
\item[Esophagus] Four columns of grade IV esophageal varices were noted. Red colored signs present
\item [Stomach] Fundus of stomach showed altered blood. Body and antropyloric area of stomach was normal
\item [Duodenum] Normal
\item [procedure] Endoscopic variceal ligation done
\end{itemize}
\end{frame}
\end{document}
为什么此代码中的 beamer slide 无法正确调整文本?文本溢出左边距。请提出建议
答案1
itemize
确实适用于各种类型的项目符号,description
可以更好地适应大标签:
\documentclass{beamer}
\usetheme{Madrid}
\begin{document}
\begin {frame}{Upper gastro-intestinal endoscopy }
\begin{description}
\item[Esophagus] Four columns of grade IV esophageal varices were noted. Red colored signs present
\item [Stomach] Fundus of stomach showed altered blood. Body and antropyloric area of stomach was normal
\item [Duodenum] Normal
\item [procedure] Endoscopic variceal ligation done
\end{description}
\end{frame}
\end{document}