Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    Possible approach: Two pass, first pass saves start and end position and pages of each environment, on second pass draw the lines based on these saved positions using the background picture of the shipout hooks. All the environment controls of the typeout is the increase of the left margin. Commented Dec 4, 2021 at 14:07
  • Your example image has no top or bottom margin; where would you want the footnote text to go? Will no pages have these margins? I don't quite understand what good wrapping floats in this sort of environment would be. I imagine you want the floats to appear in the indented level they were defined in which seems to defeat the whole point of floating. Commented Dec 6, 2021 at 23:13
  • @Dan for these cases, the environment should behave like the quotation environment. So footnotes should go at the bottom of the page as usual and floats should be placed depending on the placement specifier h/t/c etc. The margins of pages shouldn't matter much for the behaviour and should be user definable. Commented Dec 6, 2021 at 23:52