我正在使用该\usepackage[printonlyused,nohyperlinks]{acronym}
包。我想在定义中包含一个数学字符。这是我的定义方式:
\acro{L1AC}[$\mathcal{L}_1$-AC]{$\mathcal{L}_1$ Adaptive Control}
我将其称为\ac{L1AC}
。一切正常,只是花括号 L 的首字母缩写显示为箭头(见下图)。有什么想法吗?
这是我正在使用的最小模板:
\documentclass[gpscopy,onehalfspacing,11pt]{scrartcl}
\usepackage[printonlyused,nohyperlinks]{acronym}
\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}
答案1
这是扩张不及时的问题。定义一个健壮的命令\mathcal{L}
:
\documentclass{article}
\usepackage{amsmath}
\usepackage{textcase}
\usepackage[printonlyused,nohyperlinks]{acronym}
\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}