I find the glossaries package very useful for defining acronyms and then have LaTeX worry about when to write out the full name and acronym (the first time it appears), and subsequently only the acronym. I would, however, like one additional feature: the option to print only the full name (without the acronym) if the term appears only once. I would like this to be done automatically, since I usually do not know which terms I will only mention once beforehand.
As an example, the code snippet
\Gls{SEM} is an analysis technique, and so is \gls{xps}. \Gls\{XPS} ...
Should render the following text:
Scanning electron microscopy is an analysis technique, and so is X-ray photoelectron spectroscopy (XPS). XPS ...
assuming that the glossary entries were defined earlier in the document. The imporant point is that \Gls{SEM} does not render any (SEM) after the full definition, since it is only used once.
Can that be done?
glossaries, too. Maybe we can convince @NicolaTalbot ... – mafp Mar 11 '13 at 00:42acropackage provides this functionality with itssingleoption. – cgnieder Mar 11 '13 at 09:19