Next: , Previous: Setting default types and options, Up: Setting hyperlink types and options


5.5.2 Setting group types

When called with an optional argument, as in

     \hltype[groups]{type}
     \hldesttype[groups]{type}

where groups is a comma-separated list of groups, \hltype and \hldesttype set the type for each group from groups to type. The default type is used for all groups with an empty type (this is the initial setting for all groups, except that the type for the `url' linkgroup is set to ‘url’ by the drivers which support this link type).

There are two special “groups” which can be used inside the groups list. An empty group sets the default type. This allows to set the default type and group types in one command, for example:

     \hltype[eq,]{type}

sets the link type for the `eq' linkgroup and the default link type to type.

Another special group is a star (‘*’) group, which signifies all defined groups. For example, the command

     \hldesttype[*,]{type}

sets the destination type to type for each group, as well as the default destination type.