I want to write a LaTeX document, and I want to have document rules (colored margins distinguishing sections and/or even/odd pages).
Here is a model of what I have in mind:
How can this be accomplished?
I have seen this question which is the most relevant question to what I have in mind, however it doesn't quite accomplish my goal.
I have also searched around in Google, and the best I have come up with is used "framed" package, which again, does not accomplish this task. I am sure that this can be done, though.
Best Answer
Here is a possible solution based on the following packages:
tikzpagenodes
background
Notice that two compilation runs are necessary to successfully color the margins.
Code:
Result (just the first two pages are displayed):