将标签添加到 itemize 会导致投影仪幻灯片的右侧边缘溢出

将标签添加到 itemize 会导致投影仪幻灯片的右侧边缘溢出

梅威瑟:

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

相关内容