Page Layoutframebox around entire page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
john.m.roach
Posts: 2
Joined: Thu Aug 20, 2009 10:29 pm

framebox around entire page

Post by john.m.roach »

background--
i'm trying to create a document class to reproduce a hideous word template. it has a large header with 10 or so fields of data with lines like a table, a large footer, and a frame around the whole page.

approach--
i started with article.cls, added quite a few user variables, and modified oddhead & oddfoot to get the header and footer defined.

problem--
i have no idea how to attack the frame around the page problem... i could do it by adding a large row to the table i have in the header and then giving a large negative value to \headsep, but that seems like a pretty ugly option. any other ideas?

Thanks in advance,

-john

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

framebox around entire page

Post by frabjous »

The framed or boxedminipage packages might do the trick.

If not, you can create the document without a frame, then insert the result into another document through pdfpages using the frame option:

\includepdf[frame,pages=-]{mypdf.pdf}
john.m.roach
Posts: 2
Joined: Thu Aug 20, 2009 10:29 pm

Re: framebox around entire page

Post by john.m.roach »

got it! thanks for the help frabjous. i ended up putting something like the following into the header def in the documentclass definition.

\put(a,b){\line(x,y){len}}
Post Reply