LaTex2Web logo

LaTeX2Web, a web authoring and publishing system

If you see this, something is wrong

Collapse and expand sections

To get acquainted with the document, the best thing to do is to select the "Collapse all sections" item from the "View" menu. This will leave visible only the titles of the top-level sections.

Clicking on a section title toggles the visibility of the section content. If you have collapsed all of the sections, this will let you discover the document progressively, from the top-level sections to the lower-level ones.

Cross-references and related material

Generally speaking, anything that is blue is clickable.

Clicking on a reference link (like an equation number, for instance) will display the reference as close as possible, without breaking the layout. Clicking on the displayed content or on the reference link hides the content. This is recursive: if the content includes a reference, clicking on it will have the same effect. These "links" are not necessarily numbers, as it is possible in LaTeX2Web to use full text for a reference.

Clicking on a bibliographical reference (i.e., a number within brackets) will display the reference.

Speech bubbles indicate a footnote. Click on the bubble to reveal the footnote (there is no page in a web document, so footnotes are placed inside the text flow). Acronyms work the same way as footnotes, except that you have the acronym instead of the speech bubble.

Discussions

By default, discussions are open in a document. Click on the discussion button below to reveal the discussion thread. However, you must be registered to participate in the discussion.

If a thread has been initialized, you can reply to it. Any modification to any comment, or a reply to it, in the discussion is signified by email to the owner of the document and to the author of the comment.

Table of contents

First published on Saturday, Nov 23, 2024 and last modified on Monday, May 12, 2025 by François Chaplais.

acronym

François Chaplais

1 Definition

The syntax

\acro{⟨acronym⟩}[⟨short name⟩]{⟨full name⟩}

is fully supported.

2 Usage

There are four kinds of usage.

2.1 Short version

This is the most common usage. This is the use case for the command \ac, for instance. This command is implemented in the following way:

The short form is displayed in the text. This short version is clickable.

If you click on the short form, the long form is displayed in a disctinctive manner, next to the short form. Click on the long form, and it disappears.

This is valid thoughout the whole text. This way, the acronym long form is always available, and there is not need to manage the first apppearence of the acronym differently from its later occurences.

For the same reason, no list of acronyms is produced, since the long form is only a click away.

Note: \acs is treated as if it was \ac.

2.2 Long version

This corresponds to the command \acl. The long form is displayed, period.

2.3 Mixed version

This corresponds to the \acf command. The full name is displayed, followed by the short form in brackets.

2.4 Italic version

This corresponds to the \acfi command. This is the same as the mixed version, except that the long form is in italics.

3 Variations

The following variations are ignored, meaning that they are handled as is if there was no variation:

  • first letter uppercase, as in \Ac

  • plurals, as in \acp

  • article prefixing, as in \iac

  • starred forms

There are two reasons for this:

  • this complicates the code

  • they are designed with ASCII characters in mind, while LaTeX2Web is Unicode (i.e. UTF-8) compliant.

4 Ignored commands

4.1 Acronym environment

The acronym environment is ignored, meaning that acronym definitions may be anywhere in the documents.

4.2 Position related commands

Since the the long form of an acronym is only a click away, LaTeX2Web ignore the commands that set or reset the usage flag of the acronym. this includes:

  • \acresetall

  • \acused

The command \acsu is treated as if it was \ac, and \aclu as if it was \acl.

5 The glossaries version

The glossaries package also has a version of the acronym macros. They are reasonably supported.

I am normally hidden by the status bar