What if I want to set a padding around the page body (on all pages), draw a frame/border around it, and then add some margin?
geometry package doesn't seem to have an option for this among its basic options because it doesn't separate padding and margin.
(I'm asking this question about the whole page body, rather than about a box explicitly coded in the sources.
I'm dealing with LaTeX.)
What I want to achieve -- each page is printed like this:
>outer margin< | >left< >mpwidth< >text body< >right< | >outer margin< | ...... | | Text text | | marginpar Text text | | Text text | | ...... |
Then, I'd also like to change the color of the frame depending on the text (with a command from the text). The frame/border style could be fancier than just a plain rule/line. The piece inside the frame is like a complete customizable page layout: a custom left margin width, a custom right margin width, and a custom marginpar width. This doesn't cross the frame. The frame is at a fixed distance from the edge of the paper ("outer margin").