2

I use acronym package in my Latex file. Strangely, some of its commands, like \Ac are not defined when I compile my file. The \ac command works fine though.

\documentclass[12pt]{extarticle}
\usepackage[printonlyused]{acronym}
\usepackage{multicol}

\title{Physical Layer Security}

\begin{document}
\maketitle
\Ac{BER} is a metric. 

\section{Acronyms}
\begin{multicols}{2}
    \begin{acronym}     
        \acro{BER}{bit-error rate}
    \end{acronym}
\end{multicols}

\end{document}

And here is the error I see:

! Undefined control sequence. \Ac

1 Answers1

0

You have to use version 1.42 of package acronym or higher for \Ac to work.

To check, take a look into the log file. You should find a line there that reads

Package: acronym 2019/11/11 v1.42 Support for acronyms (Tobias Oetiker)

If you get the error Undefined control sequence. \Ac, it is likely that you will find

Package: acronym 2015/03/21 v1.41 Support for acronyms (Tobias Oetiker)

instead.

gernot
  • 49,614
  • I have the latest version of the acronym package with MikTeX updated this morning and the compilation is not finished. – AndréC Nov 13 '19 at 18:09