I don't even know if this is possible, but if it is, could the examples be expanded to include custom box commands?
This block was taken from the tcolorbox documentation. I can't figure out how to make the ::: syntax work with arguments (title={#1}). I've spent maybe 2-3 hours on this now. If it's possible to make such a thing then an example could be nice.
\newtcolorbox{mybox}[1]{colback=red!5!white,
colframe=red!75!black,
fonttitle=\bfseries,
title={#1}}
\begin{mybox}{Hello there}
This is my own box with a mandatory title.
\end{mybox}
If it would be possible to create a command for a custom awesomebox, an example of that would be welcome as well (currently it only re-exports the predefined awesomebox styles). Here's an example from the awesomebox documentation (which I couldn't get to work neither).
\begin{awesomeblock}[magenta]{5pt}{\faCertificate}{magenta}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet
libero quis lectus elementum fermentum.
\end{awesomeblock}
I don't even know if this is possible, but if it is, could the examples be expanded to include custom box commands?
This block was taken from the tcolorbox documentation. I can't figure out how to make the
:::
syntax work with arguments (title={#1}
). I've spent maybe 2-3 hours on this now. If it's possible to make such a thing then an example could be nice.If it would be possible to create a command for a custom awesomebox, an example of that would be welcome as well (currently it only re-exports the predefined awesomebox styles). Here's an example from the awesomebox documentation (which I couldn't get to work neither).