I have this text:
\begin{flushleft}
\fontsize{16pt}{16pt}\selectfont\textit{some text}\\
\fontsize{16pt}{16pt}\selectfont\textit{some text}
\end{flushleft}
and I would like to have a filled box with a semi-transparent color (eg. white or light gray) underlying this text. I've found several examples for beamer, but this is for a report, I assume that beamer is different from report in this sense in Latex.
I appreciate some support to do this, thanks in advance,
Best Answer
With just
tikz
With
tcolorbox
Here is an environment version with transparency:
This breaks across pages too.