CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/alertmessage


latex-alert-message - available on CTAN

Alert messages for - Inspired by Bootstrap alerts

 - Example rendering


Clean installation

To install the package properly, download the TDS archive. Then extract the archive into the texmf folder and install the package as following:

sudo unzip alertmessage.tds.zip -d "$(kpsewhich -var-value TEXMFLOCAL)"
sudo texhash

The package will be available from anywhere on your computer.

Use the package without installation

You can use the package without installation by putting the package file and the images in the root directory of your project.

Download the latest release as a full example project or look at the example.tex.


Include the package in the header of your file:


And simply call the methods you need. There are four panels availables for information, warnings, errors or success messages.

\alertinfo{Lorem ipsum dolor sit amet.}
\alertsuccess{Lorem ipsum dolor sit amet.}
\alertwarning{Lorem ipsum dolor sit amet.}
\alerterror{Lorem ipsum dolor sit amet.}

The panel will adapt its size according to the length of the text (as you can see in the example).


Feel free to open issues or create pull requests.

If you want to modify the package for personal use, you can manually edit the package file.

If you want to create a TDS archive to share your modifications with your friends, use the TDS generation script.

If you want to deploy your modifications on the CTAN by yourself, please take a different package name.


  • v1.1 TDS archive to facilitate the installation process.
  • v1.0 macros for information, warnings, errors or success alerts.

Download the contents of this package in one zip archive (112.2k).

alertmessage – Alert messages for

Some macros to display alert messages (informations, errors, warnings and success messages).

Version1.1 2015-08-04
LicensesThe Project Public License 1.3
MaintainerPierre Dupuis
TDS archivealertmessage.tds.zip
Contained inTeX Live as alertmessage
MiKTeX as alertmessage
Guest Book Sitemap Contact Contact Author