If you see this, something is wrong
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.
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.
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.
First published on Wednesday, Aug 27, 2025 and last modified on Thursday, Sep 11, 2025 by François Chaplais.
I am normally hidden by the status bar
Footnotes are created using the following syntax.
\footnote{text content}In print and PDF, footnotes are placed at the bottom of the page (hence the name) to avoid intruding in the flow of the text. The problem here is that there is no such such thing as a page in the web.
The “not intruding” behavior of footnotes is handled as follows in LaTeX2Web. Footnotes are indicated by a blue bubble icon. When you click on it, the text of the footnote is inserted in the flow of the text. Click on the footnote, and it disappears. Here is a footnote .
Because it is inserted in the flow of the text, a footnote can only include running text.
Quotations enclosed in a quote environment. Since a quotation is just ordinary content put out of context, it can include quite a few things, notably LaTeX2Web terminal objects. Here is a lorem quote.
I remember this quite clearly.
- Lorem ipsum eu, aliqua, veniam elit et sunt ut qui, culpa veniam magna in nostrud aliqua amet ullamco laborum. Enim deserunt laboris et in in dolor, ut minim, laborum, ea amet, culpa consectetur labore, quis commodo sunt. Proident velit dolor dolor esse ut officia laboris excepteur consectetur, duis cupidatat consequat ut officia excepteur sed ullamco.
- Lorem ipsum in anim cillum labore cillum duis incididunt, dolor consequat, aute dolore fugiat ut dolor incididunt ut nisi deserunt. Dolore esse tempor labore ex consectetur dolore ut sed ea adipiscing cillum aliqua et commodo in veniam do esse. Qui eu aute est, qui voluptate labore deserunt sed sed, in voluptate dolor aute, laborum mollit anim exercitation in.
The syntax is simply
\begin{quote}
... content ...
\end{quote}LaTeX lets you insert code inside your documents. Code can be in running text, or as a distinct code block.
To insert code insinde running text, you must use the \verb command. It is used as follows.
\verb command is insertedFor instance the \verb chunk of code that has been used above is encoded in LaTeX as \verb§\verb§.
Code blocks are enclosed in a verbatim environment. Code blocks in LaTeX2Web use syntax highlighting as provided by highlight.js. To specify the language to be used for syntax highlighting, use an optional parameter for the \begin{verbatim} declatation. To highlight LaTeX code, you would declare \begin{verbatim}[LATEX. The language name is case insensiive. Here is how we created the previous code block that what used to explain how to create quote environment.
\begin{verbatim}[LATEX]
\begin{quote}
... content ...
\end{quote}
\end{verbatim}Clicking on the top right button in a code block copies the code to the clipboard.
In LaTeX, you can create margin notes using the \marginpar command. The syntax is below.
... running text ...
\marginpar{text of the margin note}
... running textIn practice, the concept of “margin” is ambigous in web content, notably on mobile devices, where space is scarce. The solution used by LaTeX2Web consists in placing the margin note inside the running text, while being visually separated. Here is an example.
Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, “and what is the use of a book,” thought Alice “without pictures or conversations?”
So she was considering in her own mind (as well as she could, for the hot day made her feel very sleepy and stupid), whether the pleasure of making a daisy-chain would be worth the trouble of getting up and picking the daisies, when suddenly a White Rabbit with pink eyes ran close by her.
There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself, “Oh dear! Oh dear! I shall be late!” (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on, Alice started to her feet, for it flashed across her mind that she had never before seen a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity, she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge.
In another moment down went Alice after it, never once considering how in the world she was to get out again.
Note: to produce a horizontal rule, use the command \rule.
Summary 1
Footnotes are created using the \footnote command. Quotations are declared by using the quote environment.
Inline code is created by using the \verb command, and code blocks are created inside a verbatim environment.
To set aside some content in running text, use the \marginpar command.