我正在使用该acro
包处理论文中的首字母缩略词,但是,我不想看到一些首字母缩略词的全名。如何才能在第一次调用首字母缩略词时不显示其全名?
MWE:我只想看到紫外线,而不是紫外线 (UV)
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{acro}
\DeclareAcronym{N}{
short=N,
long=Number
}
\DeclareAcronym{UV}{
short=UV,
long=Ultraviolet
}
\begin{document}
The first acronym I want to see the long name for the first time \ac{N}.
However, the second one, I don't want to see the long form
when I call it \ac{UV}
\printacronyms
\end{document}
答案1
您可以将缩写标记为已使用:
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{acro}
\DeclareAcronym{N}{
short=N,
long=Number
}
\DeclareAcronym{UV}{
short=UV,
long=Ultraviolet
}
\begin{document}
The first acronym I want to see the long name for the first time \ac{N}.
However, the second one, I don't want to see the long form
when I call it \acuse{UV}\ac{UV}
\printacronyms
\end{document}