将 \item 从左边移动一点?

将 \item 从左边移动一点?

我想把这个item词从左边稍微移动一下?例如,

在此处输入图片描述

将前两个项目向右移动一点。我该怎么做?

 \documentclass{beamer}
 \begin{document}

\begin{frame}{Consenus \& Distributed}
 \begin{itemize}
 \item[Distributed]  topology
 \item[Consensus]    criterion   
 \end{itemize}
\begin{itemize}
\item One aim, not the same.
\item Consensus filtering is a special case of distributed filtering 
 \end{itemize}
\end{frame}
\end{document}

答案1

你应该使用description而不是itemize

 \documentclass{beamer}
 \begin{document}

\begin{frame}{Consenus \& Distributed}
 \begin{description}[Distributed]   %% [Distributed] is the longest label
 \item[Distributed]  topology
 \item[Consensus]    criterion
 \end{description}
\begin{itemize}
\item One aim, not the same.
\item Consensus filtering is a special case of distributed filtering
 \end{itemize}
\end{frame}
\end{document}

在此处输入图片描述

答案2

你可以这样做:

\documentclass{beamer}
\begin{document}
\begin{frame}{Consenus \& Distributed}
\begin{itemize}
\setlength{\itemindent}{1em}
\item[Distributed]  topology
\item[Consensus]    criterion   
\end{itemize}
\begin{itemize}
\item One aim, not the same.
\item Consensus filtering is a special case of distributed filtering 
\end{itemize}
\end{frame}
\end{document}

相关内容