刪除縮排並掛在投影機的逐項環境中

刪除縮排並掛在投影機的逐項環境中

我正在使用\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}

在此輸入影像描述

相關內容