3

From the code below, I wanted to be able to align the text in the enumerate environment like this:

enter image description here

Thanks for your help.

Here is the code that I have so far:

\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}
3
  • 1
    Do you want to align all second lines of the enumerate environment at the same point?
    – Bernard
    Mar 10, 2016 at 22:21
  • @Bernard, Hello. Yes, I would like to align all second lines of the enumerate environment. Thanks.
    – Joe
    Mar 10, 2016 at 22:22
  • 1
    Consider the beginning of your two items do not have the same length.
    – Bernard
    Mar 10, 2016 at 22:34

1 Answer 1

6

You may be better served with a tabularx environment.

enter image description here

\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}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .