## The anlhtext Style File

Up: Fine-Tuning Next: Adding Pointers to Other Pages to Every Page Previous: Fine-Tuning

One way to fine-tune a document is to use a special LaTeX style file that contains LaTeX commands that have special meaning to tohtml. This makes it possible to maintain a single document for both hardcopy and hypertext versions of a document.

URL
Gives the URL for a document. In LaTeX, it is set in the current font; in HTML, it becomes an active link whose text is the link name. Usage is \URL{url-text}.
AURL
Gives the URL with a different link text. In LaTeX, gives the URL in the \tt font, followed by the link text. In HTML, just the link text is displayed; clicking the link text jumps to the URL. Usage is \AURL{url}{link text}.
hcite
Includes a link to a URL that appears only in the HTML document. Usage is \hcite{url}.
hcitea
Includes a link to a URL with a specified text string; the URL is used only in the HTML version. Usage is \hcitea{url}{text string}.
href
Refers to a section or subsection by title. For example, if you used \subsection{A sample}, then \href{A sample} would provide a link to that subsection in the HTML. In LaTeX, it sets its argument in the current font. Usage is \href{section title}.

The following have not yet been implemented. Comments are welcome.
htmlhr
Generates an hrule in the HTML. Ignored in LaTeX.
html envirionment
\begin{html} to \end{html} may be used to imbed HTML commands directly; in LaTeX, no output will be generated.
movie
Includes a reference to an MPEG movie file with a given icon.
sound
Includes a reference to a sound file with the generic sound icon.
graphic
Includes an image (gif) file.

Up: Fine-Tuning Next: Adding Pointers to Other Pages to Every Page Previous: Fine-Tuning