Difference between revisions of "Command/definesynonyms"

From Wiki
Jump to navigation Jump to search
m (cleanup)
Line 65: Line 65:
  
 
<texcode>
 
<texcode>
 +
\subject{Abbreviations}
 
\placelistofabbreviations
 
\placelistofabbreviations
 
</texcode>
 
</texcode>
  
or
+
or with automatic chapter
  
 
<texcode>
 
<texcode>
 
\completelistofabbreviations
 
\completelistofabbreviations
 
</texcode>
 
</texcode>
 
  
 
== Example ==
 
== Example ==

Revision as of 19:55, 29 November 2010

\definesynonyms

Syntax

\definesynonyms[...][...][...][...]
[...] singular
[...] plural
[...] command
[...] command


Description

The first bracket pair contains the singular form of the synonym, and the second contains the plural form. The third bracket pair contains a command.

For example the command \abbreviation is defined by:

\definesynonyms[abbreviation][abbreviations][\infull]
\setupsynonyms[style=cap]

Now the command \abbreviation is available and can be used to state your abbreviations:

\abbreviation{ANWB}{Dutch Automobile Association}
\abbreviation{VVV}{Bureau of Tourist Information}
\abbreviation{NS}{Dutch Railways}

If you would type:

The Dutch \VVV\ (\infull{VVV}) can provide you with the tourist
information on Hasselt.

You would obtain something like this:

The Dutch VVV (Bureau of Tourist Information) can provide you with the tourist information
on Hasselt.

If you want to put a list of the abbreviations used in your document you can type:

\subject{Abbreviations}
\placelistofabbreviations

or with automatic chapter

\completelistofabbreviations

Example

See also