LaTex2Web logo

Documents Live, a web authoring and publishing system

If you see this, something is wrong

Table of contents

First published on Monday, Oct 28, 2024 and last modified on Wednesday, Jan 15, 2025 by François Chaplais.

C.3 Sentences and Paragraphs

François Chaplais

1 Sentences and Paragraphs

1.1 Making Sentences

1.1.1 Quotes

Supported

1.1.2 Dashes

Supported

1.1.3 Spacing

Spacing command are implemented in math mode.

They are ignored in paragraph mode, except for non breaking spaces ~.

\frenchspacing and \nonfrenchspacing are ignored.

1.1.4 Special characters

LaTeX special character escaping is supported.

1.1.5 Logos

LaTeX and TeX logos are rendered ony in math mode.

1.1.6 Misc.

\today is implemented using the following format: Tuesday, May 7, 2024.

Emphasis is supported as well as text weight commands

\mbox is ignored as being a layout command.

1.2 Making Paragraphs

Paragraphs are detected following the definition of the LaTeX guide; moreover they are semantically encoded in the HTML <p> markup.

1.2.1 Indentation

\noindent is supported. \indent and \par are not currently supported.

1.2.2 Style parameters

These are defined in CSS for the whole document.

1.3 Footnotes

Footnotes work differently on the web than in print, because there is no page bottom. Footnotes are implemented in LaTeX2Web the following way:

  • in the normal view, the footnote content is hidden and replaced by a dagger character that is a link. When the link is clicked, the text of the footnote appears next to the dagger mark. Clicking on it makes the footnote disappear.

  • syntaxically, in the command \footnote[num]{text}, the num argument is ignored, because footnote are not numbered anyway.

Footnote styling is not implemented as it is not relevant.

Footnotes are implemented only in paragraph mode.

1.4 Accents and Special Symbols

1.4.1 7 bit accented characters

We maintain and enrich when possible a database of 7-bit LaTeX encoded accented characters with their UTF-8 conterparts.

1.4.2 Special symbols

Special symbols which are not produced by a combination with an accent, are replaced by their HTML entities.