I want a custom border for my document. I was thinking of doing something like this, creating a border with a graphics tool(only the outer frame) and then placing it in the beginning of the document, so it cover the entire page as a border.

When I type something now, would it be inside the frame or outside?

I need help in creating my own borders for the page.

  • You can either use the textpos or tikz package to position the image at an absolute position on the page. You might need to put that code in the header or footer, so that it is added on every page Commented May 13, 2011 at 18:16

1 Answer 1


You can use the background package to add a frame to every page of your document; the package internally uses PGF/TikZ to place the background material and offers you great control over the attributes. A little example that places a blue frame in every page of the document:


  \begin{tikzpicture}[ultra thick]
    \draw(0,0) rectangle (1.1\textwidth,1.15\textheight);



\chapter{Chapter title}


Of course, you can use your own material as frame.

  • 3
    @Gonzola: \ifthenelse{\isodd{\thepage}} isn't well because \thepage can be IV. or page IV or ... --- better \value{page} Commented May 13, 2011 at 19:02

You must log in to answer this question.

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