# Using Math mode in the package acronym

I am using the \usepackage[printonlyused,nohyperlinks]{acronym} package. I want to include a math character in the definition. This is how I defined it:

\acro{L1AC}[$\mathcal{L}_1$-AC]{$\mathcal{L}_1$ Adaptive Control}


And I referred to it as \ac{L1AC}. Everything works, except the acronym of curly L shows up as an arrow (see picture below). Any ideas?

Here is a minimal template of what I am using:

\documentclass[gpscopy,onehalfspacing,11pt]{scrartcl}

\renewcommand{\acsfont}[1]{{\scshape \MakeTextLowercase{#1}}}

\usepackage{amsmath}

\begin{document}
\justifying

\chapter{Glossary}
\begin{acronym}[ANOVA]
\acro{L1AC}[$\mathcal{L}_1$-AC]{$\mathcal{L}_1$ Adaptive Control}
\end{acronym}

\chapter{Some Chapter}
to assess the application of the so-called novel \ac{L1AC} \cite{hovakimyan2010} as applied to closed-loop control in anesthesia using

\end{document}


• @darthbith, of course. I'll do that right now. Sep 16, 2014 at 19:34
• @darthbith, I updated the question. Sep 16, 2014 at 19:40
• Unfortunately, I don't know the answer to your question, but now that you've posted the MWE, I hope someone will be able to help you quickly! I'll delete my comment :-) Sep 16, 2014 at 19:50
• @darthbith, thanks for the tips :-) Sep 16, 2014 at 19:53

It's a question of untimely expansion. Define a robust command for \mathcal{L}:

\documentclass{article}

\usepackage{amsmath}
\usepackage{textcase}
\renewcommand{\acsfont}[1]{{\scshape \MakeTextLowercase{#1}}}

\DeclareRobustCommand{\mL}{\mathcal{L}}

\begin{document}

\begin{acronym}[ANOVA]
\acro{L1AC}[$\mL_1$-AC]{$\mL_1$ Adaptive Control}
\end{acronym}

Here I use the acronym \ac{L1AC}

And again \ac{L1AC}

\end{document}