Next: , Up: Overriding LaTeX hooks


4.2.1 Some special inline hooks

I explain the following inline hooks separately from the rest (see Further inline hooks) because they are good illustrations for how the whole thing works. They are in no way more important than the rest.

— Macro: \tabletermHook

Default: #1

The term of a two-columns table. With “term”, the first column of the table is meant. In the Texinfo source, it's the text after the @item.

— Macro: \sampHook

Default: \lnqHook\texttt{#1}\rnqHook

This is an example of the texi2latex-specific macros \lqHook, \rqHook, \lnqHook, \rnqHook. They insert left and right quotation marks of the global document language. The second pair represents the “nested” variants for inner quotations or restrained markup. For example, if the language is American English (the default), these four commands result in “, ”, `, and ', respectively.

— Macro: \abbrevwordHook

Default: #1

The abbreviation in an @abbr macro. It's the first argument in Texinfo.

— Macro: \abbrevdescHook

Default: ` (#1)'

The meaning description in an @abbr macro. It's the second argument in Texinfo.

— Macro: \acronymwordHook

Default: \mbox{#1}

The acronym in an @acronym macro. It's the first argument in Texinfo.

— Macro: \acronymdescHook

Default: \footnote{#1}

The meaning description in an @acronym macro. It's the second argument in Texinfo.

— Macro: \urlHook

Default: #1

This hook influences three Texinfo macros: @indicateurl, @url (deprecated), and the URL part of @uref. This is one of the rare cases where texi2latex differs from Texinfo's behaviour: Texinfo prints URLs in typewriter text, but texi2latex uses the standard font.

It doesn't affect email addresses though. This is done with \emailHook, see Further inline hooks.