How do I color a page within the margin and still being able to write text on the page? I would like to make something like this.enter image description here

2 Answers 2


You can e.g. use eso-pic:



enter image description here


If you are using OpTeX, you can use \pgbackground tokens register and create \hrule with desired dimensions shifted by \voffset and \hoffset:


\setbox\bgbox=\vbox{\LiGreen\hrule height\dimexpr\vsize+3pt width\hsize}
\pgbackground={\kern\voffset \moveright\hoffset\copy\bgbox}



You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .