![全页宽度框和图标突出显示段落](https://linux22.com/image/430810/%E5%85%A8%E9%A1%B5%E5%AE%BD%E5%BA%A6%E6%A1%86%E5%92%8C%E5%9B%BE%E6%A0%87%E7%AA%81%E5%87%BA%E6%98%BE%E7%A4%BA%E6%AE%B5%E8%90%BD.png)
答案1
像这样?
\documentclass{article}
\usepackage[most]{tcolorbox}
\usepackage{lipsum}
\newtcolorbox{widebox}[1][]{%
enhanced, breakable, spread sidewards, left*=0pt, right*=0pt, boxrule=0pt, colback=cyan!10, #1}
\begin{document}
\lipsum[1]
\begin{widebox}
\lipsum[1]
\end{widebox}
\begin{widebox}[colback=red!20,overlay unbroken and first={\node[anchor=west] at ([xshift=1cm]frame.west) {\includegraphics[width=2cm]{example-image-a}};}]
\lipsum[1-5]
\end{widebox}
\end{document}