从下面的代码中,我希望能够像这样在枚举环境中对齐文本:
感谢您的帮助。
这是我目前拥有的代码:
\documentclass{book}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}
\item Pre-Emphasis - increase amplitude of higher modulating frequencies.
\item De-Emphasis - attenuate those frequencies by the amount that were boosted by the pre-emphasis.
\end{enumerate}
\end{document}
答案1
您可能在某个tabularx
环境中能得到更好的服务。
\documentclass{book}
\usepackage{tabularx}
\begin{document}
\noindent
\begin{tabularx}{\textwidth}{@{}l@{ }l@{ -- }X@{}}
1. & Pre-Emphasis & increase amplitude of higher modulating frequencies\\[1ex]
2. & De-Emphasis & attenuate those frequencies by the amount
that were boosted by the pre-emphasis
\end{tabularx}
\end{document}