I have a feathered graphic which extends beyond its bounding box. It blends into the background, and is not supposed to interfere with main text setting. Unfortunately, text set before the graphic is occluded by it.
Here's a MWE:
\documentclass{tufte-book}
\usepackage{graphicx}
\usepackage[export]{adjustbox}
\begin{document}
Ultrices mi tempus imperdiet nulla. Mauris commodo quis imperdiet massa tincidunt nunc pulvinar. Risus viverra adipiscing at in tellus. Et sollicitudin ac orci phasellus egestas tellus rutrum. Elit eget gravida cum sociis. Ut tristique et egestas quis. A scelerisque purus semper eget duis at. Nunc aliquet bibendum enim facilisis. Consectetur lorem donec massa sapien faucibus et molestie.
\begin{figure}[h!]
\includegraphics[width=6\linewidth, max width=\linewidth, trim={\linewidth\real{2.5} 11cm \linewidth\real{2.5} 10.5cm}]{image.png}
\caption{Sem et tortor consequat id porta nibh}
\end{figure}
Eget arcu dictum varius duis at consectetur lorem donec. Pulvinar sapien et ligula ullamcorper. Facilisis sed odio morbi quis commodo odio. Magna sit amet purus gravida quis blandit turpis. Platea dictumst quisque sagittis purus. Curabitur vitae nunc sed velit dignissim sodales ut eu. Eleifend donec pretium vulputate sapien nec.
\end{document}
I've seen similar questions (here, and here) asked with quite simple methods of addressing the actual layout obstacle, and so there doesn't seem to be a general solution yet. I also understand that LaTeX doesn't have a layered output, and so a creative approach may be required.
[h!] is set for the purpose of this demo, but context to figures is generally quite important and so I'd really prefer not forcing [t] position to circumvent the issue. I also don't want to reduce the feather, as the bounds become quite obvious below this level.


flowframand more specialist packages for various use cases. There are general solutions but not general enough to answer your question in general! I'm guessing something like: put the image in the background and put an empty box where the image is might work. But you can't do that with a float. Don't make it afigureif you don't want it to float. – cfr Jul 02 '23 at 03:21flowfram. – Liam Jul 02 '23 at 03:28capt-ofpackage allows captions outside floats. – Cicada Jul 02 '23 at 08:15