Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\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?

share|improve this question
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 '-' ? –  user494461 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
add comment

1 Answer

up vote 5 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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