I tried using the answer from Adding a border on each page to create a page border, and it works, but I'm wondering if there's a way to remove the page border from certain pages?

I would ask this in a comment, but unfortunately I don't have 50 reputation :(


1 Answer 1


The following is an expanded version of the answer you quote.

% noborderprob.tex SE 559677

% the following code mainly from SE 404749

% PW added the folowing code
\newcommand{\borders}{\setboolean{borderon}{true}}    % have borders
\newcommand{\noborders}{\setboolean{borderon}{false}} % no borders
% end of addition






% PW modified the \AddToShipoutPicture to output nothing for borderon=false
    \framebox(\strip@pt\Page@FrameWidth, \strip@pt\Page@FrameHeight){}}}




% PW added the following code



\noborders % stop page borders


\borders % start page borders



This starts off with pages having borders. To stop the bordering put \noborders on the page which you want to be borderless. Put \borders on the page where you want bordering to start again.

You must log in to answer this question.

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