Prev Up Next
Go backward to 8.1 Cross-references
Go up to 8 Moving information around
Go forward to 8.3 Links into your document

8.2 Links to external information

You can place a hyperlink to a given URL (Universal Resource Locator) using the \xlink command. Like the \link command, it takes an optional argument, which is typeset in the printed output only:

  \xlink{anchor}{URL}
  \xlink{anchor}[printed reference]{URL}
In the HTML-document, anchor will be an active hyperlink to the object URL. In the printed document, anchor will simply be typeset, followed by the optional argument, if present. A starred version \xlink* has the same function as for \link.

If you need to use a ~ in the URL of an \xlink command, you have to escape it as \~{} (the URL argument is an evaluated argument, so that you can define macros for common URL's).


Otfried Schwarzkopf, September 2, 1997

Prev Up Next