Here in the MWE:
\documentclass[table]{standalone}
\usepackage{lipsum, graphicx, polyglossia, enumitem, amssymb, pifont, booktabs, cancel, animate, ulem, ragged2e}
\usepackage[most]{tcolorbox}
\graphicspath{ {/home/sandip/Downloads/} {images/} }
\linespread{2}
\newtcolorbox{highlightbox}{%
enhanced,
colframe=black,
boxrule=2mm,
coltext=white,
colback=black}
\newtcolorbox{mybox}[2][]{%
enhanced,
before upper=\setlength{\parskip}{\bigskipamount},
colframe=black,
boxrule=2mm,
bottomrule=8mm,
colbacktitle=black,
fonttitle=\bfseries\centering,
coltitle=white,
colback=yellow!10!white,
coltext=black,
watermark zoom=1,
watermark color=black,
watermark opacity=.05,
clip watermark,
watermark text={\rotatebox{65}{Watermark}},
title=#2,#1}
\newcommand{\xxbody}{
\lipsum[2,4]
}
\newcommand{\xxheading}{%
Heading
}
\begin{document}
\begin{mybox}{\LARGE \xxheading{}}
\xxbody{}
\end{mybox}
\end{document}
In folder ./images, I have several image files.
I want to place all of them around the text randomly with random rotations. But at the same time, I do not want them cluttered around together.
The images are tiny icons and placing them around the text randomly improves the visual appeal of the document, at least, in my view :)
How do I do that?
The question here and here have something similar. But there is no text involved.


\seq_rand_item:Nfromexpl3. – Skillmon Oct 03 '21 at 12:00