我想把这个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}