\documentclass[a4paper,10pt]{article}
\begin{document}
\begin{itemize}
\item Enfranchise
\item Talisman
\item Noxious : Abrasive
\item Billowing : Replete
\item Tangent : Abasement
\end{itemize}
\end{document}
我想要的是对齐单词Abrasive
、Replete
和Abasement
,而不在其他地方引入任何其他额外的间距(align
似乎在新行之间这样做?)
答案1
这是你想要的吗?请注意,该eqparbox
包需要两次编译。
\documentclass[a4paper,10pt]{article}
\usepackage{eqparbox}
\begin{document}
\begin{itemize}
\item Enfranchise
\item Talisman
\item \eqmakebox[A][l]{Noxious :} Abrasive
\item \eqmakebox[A][l]{Billowing :} Replete
\item \eqmakebox[A][l]{Tangent :} Abasement
\end{itemize}
\end{document}
答案2
我使用具有特定宽度的隐形盒子(
calc
包,\widthof
命令)。
\documentclass[a4paper,10pt]{article}
\usepackage{calc}
\begin{document}
\section*{\textbackslash framebox}
\begin{itemize}
\item Enfranchise
\item Talisman
\item \framebox[\widthof{Billowing:}][l]{Noxious:} Abrasive
\item \framebox[\widthof{Billowing:}][l]{Billowing:} Replete
\item \framebox[\widthof{Billowing:}][l]{Tangent:} Abasement
\end{itemize}
\section*{\textbackslash makebox}
\begin{itemize}
\item Enfranchise
\item Talisman
\item \makebox[\widthof{Billowing:}][l]{Noxious:} Abrasive
\item \makebox[\widthof{Billowing:}][l]{Billowing:} Replete
\item \makebox[\widthof{Billowing:}][l]{Tangent:} Abasement
\end{itemize}
\end{document}