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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
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