Is/are there some package/packages to allow the user to typeset some "Warning", "Caution" or other special sentences? In other words, considering this generic MWE:
\documentclass[11pt,a5paper,twoside]{book}
\usepackage{???}
\begin{document}
...
\Warning{Add your warning message here}\
\Info{Add your info message here}\
\Success{Add your success message here}\
\Error{Add your error message here }\
...
\end{document}
Can I obtain in pdf something like:

alertmessagepackage. If you're not bound to using the exact colors and symbols you show in the image in your questio, you may be satisfied with\documentclass{article} \usepackage{alertmessage} \usepackage{lipsum} \begin{document} \alertwarning{\lipsum[1][1-3]} \alertinfo{\lipsum[1][1-3]} \alertsuccess{\lipsum[1][1-3]} \alerterror{\lipsum[1][1-3]} \end{document}. – leandriis Apr 30 '22 at 13:10todonotespackage. – Peter Grill Apr 30 '22 at 17:52