LaTex2Web logo

Documents Live, a web authoring and publishing system

If you see this, something is wrong

Table of contents

First published on Friday, Nov 21, 2025 and last modified on Sunday, Jan 4, 2026

Create Documents Live widgets with LaTeX macros

François Chaplais WebMagic

1 Introduction

2 A Post-It widget

\newenvironment{postIt}[1]{
 \begin{card}
 \begin{header}
 \begin{style}
 \background{black}
 \textcolor{white}
 \end{style}
 #1
 \end{header}
 \begin{body}
 \begin{style}
 \background{lightyellow}
 \end{style}
}
{
 \end{body}
 \end{card}
}
\begin{postIt}{I am the title}
I am the content.

I am a LaTeX2Web \ref{LaTeX2Web-cards/chunks}[chunk] and I can have a variety of content.
\end{postIt}