General(Fixed)Problem: Special character inside an acronym.

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
djjorgen
Posts: 3
Joined: Wed Oct 08, 2008 5:57 pm

(Fixed)Problem: Special character inside an acronym.

Post by djjorgen »

Hi!

I tried to post this earlier but nobody replied to the post, so here's my second attempt.

I'm having a problem with the acronym package.
I want to create an acronym of the term "Command & Control"
but the character "&" is giving me an error when im building the document.

I have tried:

\ac{C&C}
\ac{C\&C}
and
\acro{C&C}{Command & Control}
\acro{C\&C}{Command \& Control}

but this is not working.
Can somebody please assist me? I'm new to Latex.

Jørgen
Last edited by djjorgen on Thu Oct 23, 2008 11:33 am, edited 1 time in total.

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

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

(Fixed)Problem: Special character inside an acronym.

Post by phi »

Hi,

the character & is invalid in acronym names. Try:

Code: Select all

\acro{C+C}[C\&C]{Command \& Control}
\ac{C+C}
djjorgen
Posts: 3
Joined: Wed Oct 08, 2008 5:57 pm

Re: Problem: Special character inside an acronym.

Post by djjorgen »

Thanks a lot, it worked!
U made my day! :D
Post Reply