Fonts & Character SetsAcronyms List

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
ddouglasgs
Posts: 5
Joined: Thu Oct 01, 2009 2:04 am

Acronyms List

Post by ddouglasgs »

Hi,

could someone help me with this acronyms list? I need to use this following acronym:

\acro{P&I}{Process \& Instrumentation}

It compiles, but when I use in the body's text(\ac{P&I}) an error is generated, because of the reserved character "&". So what should I do?

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Acronyms List

Post by gmedina »

Hi,

I assume that you are using the acronym package; in this case, you can use the optional argument of the \acro command, as the following example suggests:

Code: Select all

\documentclass{report}
\usepackage{acronym}

\begin{document}

\ac{PI}

\begin{acronym}
\acro{PI}[P\&I]{Process \& Instrumentation}
\end{acronym}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply