I'd love to typeset a document where the inner margin follows a sinuous path. For example, like the one below (done in Scribus).
I tried wrapping the text around a curvy image set at the appropriate location, but that didn't work, obviously, since images are always rectangular, right?
I checked in the documentation of package geometry
if one could define a \rightmargin
that would be dependent on some other variable (like line-number), but I didn't find anything.
Google and tex.stackexchange searches for any number of combinations of relevant-sounding terms yielded nothing.
I'm ready to use luatex
or whatever (ideally, I'd like to use microtype
too). Any help much appreciated!
EDIT: Ideally the solution wouldn't require manual tuning, apart from giving the initial shape of the "curvy" margin. Indeed, I'd like to use it for a little book of about 60 pages. The problem with \shapepar
(or \cutout
, or even \parshape
for that matter) is that it has to be fine-tuned for each individual paragraph, knowing beforehand the length of the text and the paragraph's position on the page (also, a paragraph split over two pages seems to be pretty tough to handle).
\parshape
macro, which lets you use nearly arbitrarily shaped margin shapes. If you search this site for\parshape
, you'll get quite a few hits.shapepar
package; here is an example tex.stackexchange.com/a/139744/21891.shapepar
package documentation, it doesn't seem to be able to flow text from one page to the next, actually only applying paragraph by paragraph.flowfram
but you don't seem to be able to use shaped paragraphs with the kind of frame I think you probably need. (But I do not really understand the documentation very well and I've only tried using it for a bit this evening. Hence it is worth your looking, I think.)