Using the memoir package, I would like to have a vertical line on my margin like this:
Some leading content ... vertical space ... ---------------------------------- XYZ | Content A | | Content B | | Content C | | ... | | Content N *** page break *** | Content A1 | | Content B1 | | Content C2 | | ... | ...
I would like the content XYZ to be in a margin note or paragraph (
marginpar, and the vertical line to follow the margin of the page, with the content A being in a page the width of that area.
The content will span multiple pages, and be somewhat complex - with e.g. multiple tables that may themselves span pages, and justified content. In essence, the body of the document will be Content * - so I would like to have that be the body of the page.
So on my TODO list I have the following:
- Set the margin of the page to be larger (
- Add lead-in content that is set at the standard margin position;
- Add a vertical line along the page margin that spans multiple pages;
- Add margin paragraphs (for "XYZ").
I had in fact figured this out before, but have since forgotten and lost how I worked it out, so am posting in part to preserve the solution but also because I'm sure just about everybody reading this will know better than I how to achieve the objective. I will post my own solution once I re-discover it.
Though I will post my answer with more details, here are my initial thoughts:
longtableor equivalent to solve 1, 2, 3 and 4 had crossed my mind, instead of mucking around with page dimensions and such, but as mentioned the "Content *" will include tables and such. It can be worked around I am sure, but it struck me as less elegant than setting the page dimensions accordingly.
Otherwise problems 2, 3 and 4 seem to be mostly an implementation issue with
memoir, notwithstanding the vertical line - I cannot recall if that
If the other can be achieved, I am tempted to use the
textpospackage to solve problem 2.
Vertical rules using the e.g. 'background' package to solve problem 3.