0
\begin{align*}
P2P &- Peer-to-Peer Network\\
%.....
\end{align*}

I have a Abbreviation page in my PDF. For aligning all the '-' I am using align*. All the content inside align shows up in italics. How do I make the content inside align appear normal and not italic?

3
  • 3
    amsmath provides \text{...} for text-related content, which this clearly is. You may also consider tabular as an alternative.
    – Werner
    Commented Feb 12, 2013 at 7:54
  • How do I align inside a \text after every '-' ?
    – epsilon8
    Commented Feb 12, 2013 at 7:56
  • To have a list of acronyms you might also consider the nomencl package.
    – mafp
    Commented Feb 12, 2013 at 8:07

1 Answer 1

5

Environment align(*) is a math-related environment. You should use a tabular environment: with the header as below, you will probably get what you want.

\begin{tabular}{l@{ --- }l}
P2P & Peer-to-Peer Network\\
%.....
\end{tabular}

If your list becomes longer than one page, consider using package longtable or similar.

You must log in to answer this question.

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