删除缩进并挂在 beamer 中的 itemize 环境中

删除缩进并挂在 beamer 中的 itemize 环境中

我正在使用\setlength{\itemindent}{-1em}\itemindent=-13pt减少投影仪中项目前的水平空间,但问题是第二行的挂起。

\documentclass{beamer}
\begin{document}
\begin{frame}
    \frametitle{test}
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the 
    \begin{enumerate} \setlength{\itemindent}{-1em}
        %\itemindent=-13pt
        \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum 
        \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum 
        \begin{enumerate}\setlength{\itemindent}{-2em}
            \item  Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum            
            \item  Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum           
            \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum 
        \end{enumerate}
        \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum 
    \end{enumerate}
\end{frame}
\end{document}

在此处输入图片描述

答案1

您可以调整\leftmargini

\documentclass{beamer}
\begin{document}
\begin{frame}
    \frametitle{test}
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the 
    \setlength{\leftmargini}{0em}
    \setlength{\leftmarginii}{0em}
    \setlength{\leftmarginiii}{0em}    
    \begin{enumerate} 
        \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum 
        \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum 
        \begin{enumerate}
            \item  Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum            
            \item  Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum           
            \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum 
        \end{enumerate}
        \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum 
    \end{enumerate}
\end{frame}
\end{document}

在此处输入图片描述

相关内容