Updated Answer
Since v2.0 acro
has a concept of endings. It handles the plural forms this way and allows the definition of additional endings. With acro
v3 a new ending is declared as follows:
\DeclareAcroEnding{possessive}{'s}{'s}
This defines a command \acropossessive
which can be used to define new acro
commands. It also defines a number of acroynm properties and options to set the endings individually for certain acronyms or to change the defaults generally.
Here is a complete example that also shows how to define suitable commands for acro
v3.0:
\documentclass{article}
\usepackage{acro}
\DeclareAcroEnding{possessive}{'s}{'s}
\NewAcroCommand\acg{m}{\acropossessive\UseAcroTemplate{first}{#1}}
\NewAcroCommand\acsg{m}{\acropossessive\UseAcroTemplate{short}{#1}}
\NewAcroCommand\aclg{m}{\acropossessive\UseAcroTemplate{long}{#1}}
\DeclareAcronym{MP}{
short = MP ,
long = Member of Parliament ,
long-plural-form = Members of Parliament ,
long-possessive-form = Member's of Parliament
}
\DeclareAcronym{cd}{
short = CD ,
long = compact disc
}
\begin{document}
first: \acg{cd}; \acg{MP}
short: \acsg{cd}; \acsg{MP}
long: \aclg{cd}; \aclg{MP}
\end{document}
Original Answer:
Since v2.0 acro
has a concept of endings. It handles the plural forms this way and allows the definition of additional endings:
\ProvideAcroEnding{possessive}{'s}{'s}
This defines a lower level command \acro_possessive:
which can be used to define new acro
commands and defines a number of options to set the endings individually for certain acronyms.
Here is a complete example that also shows how to define suitable commands for acro
.
\documentclass{article}
\usepackage{acro}
\ProvideAcroEnding {possessive} {'s} {'s}
\ExplSyntaxOn
\NewAcroCommand \acg
{
\acro_possessive:
\acro_use:n {#1}
}
\NewAcroCommand \acsg
{
\acro_possessive:
\acro_short:n {#1}
}
\NewAcroCommand \aclg
{
\acro_possessive:
\acro_long:n {#1}
}
\ExplSyntaxOff
\DeclareAcronym{MP}{
short = MP ,
long = Member of Parliament ,
long-plural-form = Members of Parliament ,
long-possessive-form = Member's of Parliament
}
\DeclareAcronym{cd}{
short = CD ,
long = compact disc
}
\begin{document}
first: \acg{cd}; \acg{MP}
short: \acsg{cd}; \acsg{MP}
long: \aclg{cd}; \aclg{MP}
\end{document}
Note that several endings can't really be applied to an acronym. If we were to define
\NewAcroCommand \acpg
{
\acro_possessive:
\acro_plural:
\acro_use:n {#1}
}
we'd get CDs's…
Acro version 3.2
Here comes an example using acro version 3.2. I have added a couple of options just so you can see what acro
is capable of:
\documentclass[12pt]{article}
\usepackage[version=3]{acro} %list of abbreviations
\acsetup{
first-style = long,
list/display = used,
pages/display = first
}
\DeclareAcronym{afm}{
short = {AFM},
long = {Atomic Force Microscopy},
tag = {abbrev},
}
\DeclareAcronym{ofet}{
short = {OFET},
long = {Organic field effect transistor},
tag = {abbrev},
}
\DeclareAcronym{A}{
short = {A},
long = {Area},
tag = {nomen},
first-style = short,
}
\DeclareAcronym{L}{
short = {L},
long = {Length of channel},
tag = {nomen},
first-style = short,
}
\begin{document}
\section{Some of my best Abbreviations}
\ac{afm} is a good technique.
\newline
\ac{L} is used in the calculation.
\printacronyms[name=Abbreviations, include=abbrev, heading=section*]
\printacronyms[name=Nomenclature, include=nomen]
\end{document}
Acro version 2.1
After struggling with acro v3, I've learned that my not up-to-date TeX distribution only comes with acro v. 2.10. You should definitely check, which version you're running, first.
For version 2.1 you could do it like this:
\documentclass[12pt,twoside,openright]{book}
\usepackage{acro} %list of abbreviations
\DeclareAcronym{afm}{
short = {AFM},
long = {Atomic Force Microscopy},
class = {abbrev},
first-style = long,
}
\DeclareAcronym{ofet}{
short = {OFET},
long = {Organic field effect transistor},
class = {abbrev},
first-style = long,
}
\DeclareAcronym{A}{
short = {A},
long = {Area},
class = {nomen},
first-style = short,
}
\DeclareAcronym{L}{
short = {L},
long = {Length of channel},
class = {nomen},
first-style = short,
}
\begin{document}
\chapter{Some of my best Abbreviations}
\ac{afm} is a good technique.
\newline
\ac{L} is used in the calculation.
\printacronyms[include-classes=abbrev,name=Abbreviations]
\printacronyms[include-classes=nomen,name=Nomenclature]
\end{document}
Best Answer
As explained in section 4.3 Plural Forms of the
acro
manual you can set a custom plural ending for a short form. In this case just set it empty: