If you see this, something is wrong
First published on Saturday, Sep 20, 2025 and last modified on Sunday, Feb 22, 2026 by François Chaplais.
Documents Live lets you organize content in tabs. Each tab content is a chunk. The appearence of the tab group can be classical tabs or “pill” tabs.
A tab group is defined by a tabGroup. Inside, each tab is defined by a tab environment.
Documents Live lets you organize content in tabs. Each tab content is a chunk. The appearence of the tab group can be classical tabs or “pill” tabs. Here we have tab style.
Chunks are simple Documents Live components which are terminal objects types. Theses objects cannot include other Documents Live objects.
Every chunk can be styled. Styling is not encouraged for the tab styled tab groups.
Each tab is enclosed in a tab environment. The tab itself has two parts.
\caption command.
To style a tab group as pill, append the opening statement \begin{tabGroup} with the optinal parameter pill.
Documents Live lets you organize content in tabs. Each tab content is a chunk. The appearence of the tab group can be classical tabs or “pill” tabs. Here we have pill style.
Chunks are simple Documents Live components which are terminal objects types. Theses objects cannot include other Documents Live objects.
Every chunk can be styled. The pill style is adapted to custom styling.
Each tab is enclosed in a tab environment. The tab itself has two parts.
\caption command.
Documents Live lets you organize content in tabs. Each tab content is a chunk. The appearence of the tab group can be classical tabs or “pill” tabs. Here we have pill style.
This tab has been given a border.
Chunks are simple Documents Live components which are terminal objects types. Theses objects cannot include other Documents Live objects.
Every chunk can be styled. The pill style is adapted to custom styling.
This tab has been given a border and a light yellow background.
Here is the general syntax for Documents Live tabbed content. In this example, the pill style is chosen.
\begin{tabGroup}[pill]
\begin{tab}
\caption{text of the first tab button}
... content of first tab ...
\end{tab}
\begin{tab}
\caption{text of the second tab button}
... content of second tab ...
\end{tab}
\end{tabGroup}Summary 1
Tabbed content is defined by a tabGroup environment. The tab group can have two styles.
tab (which is the default)
pill which lends itself more to tab styling.
Each tab is defined by a tab environment. The text of the tab button is defined with the \caption command. The rest is the the tab content.
The content of a tab is a chunk which can be styled.