Tuesday 23 January 2007, 10:51
Abbreviations and Acronyms
To make a list of acronyms use the following package in the preamble:
\usepackage{acronym}
Then you add the list where on want in your document, usually at the end. For example:
\section{Acronyms}
\begin{acronym}[TDMA]
\acro{CDMA}{Code Division Multiple Access}
\acro{GSM}{Global System for Mobile communication}
\acro{NA}[\ensuremath{N_{\mathrm A}}]
{Number of Avogadro\acroextra{ (see \S\ref{Chem})}}
\acro{NAD+}[NAD\textsuperscript{+}]{Nicotinamide Adenine Dinucleotide}
\acro{NUA}{Not Used Acronym}
\acro{TDMA}{Time Division Multiple Access}
\acro{UA}{Used Acronym}
\acro{API}{Application Programming Interface}
\acro{lox}[\ensuremath{LOX}]{Liquid Oxygen}%
\acro{lh2}[\ensuremath{LH_2}]{Liquid Hydrogen}%
\end{acronym}
Now the tags \ac, \acf, \acs, \acl
- "The \ac{API} provides all methods for the client." gives the following output:
The Application Programming Interface (API) provides all methods for the client.
- "The \acf{API} provides all methods for the client." gives the following output:
The Application Programming Interface (API) provides all methods for the client.
- "The \acs{API} provides all methods for the client." gives the following output:
The API provides all methods for the client.
- "The \acl{API} provides all methods for the client." gives the following output:
The Application Programming Interface provides all methods for the client.
If you get, let's take only the first example, API!:
The API! (API!) provides all methods for the client.
the reason is that you have not give the description for this abbreviation. The second reason could also be that you need to compile twice your report since the first time will updates the files and the second will actually print the proper result.
[no comment] :: [no trackback]


