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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.