I have a document with a set of paragraphs where each paragraph has a label/caption.
I need an unusual behavior:
- The label should be on the same line as the first line of the paragraph
- The paragraph should be indented, but the label should be not indented (ie. placed on the left of the paragraph some distance)
- If the label is larger than the indent, it should bump the first line a bit to fit (and there should be a space between the two)
So far I'm doing this with a description list env:
\begin{description}[leftmargin=3em,style=nextline,itemsep=1ex]
This works really well, but there's one problem: I can't use wrapfig, because wrapfig doesn't play with lists.
Is there a way to do the same thing without the environment description so that I can use wrapfig too?

insbox. – Bernard Mar 26 '21 at 23:50insboxis complicated (and has to be adapted differently for the different list environments). Faking adescriptionis certainly possible, but I'm not sure how well this plays withwrapfigeither. Can you please create a minimal example? – Skillmon Mar 27 '21 at 10:48\tabto, like this. It's not particularly elegant as there needs to be a\tabtoon each line, but I actually generate that TeX with a script so that's not an issue, if it can't be done more elegantly. Sorry, I'm not very experienced with TeX. – kralyk Mar 27 '21 at 11:24