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
Page Layout ⇒ framebox around entire page
NEW: TikZ book now 40% off at Amazon.com for a short time.
framebox around entire page
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}
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}
-
- Posts: 2
- Joined: Thu Aug 20, 2009 10:29 pm
Re: framebox around entire page
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}}
\put(a,b){\line(x,y){len}}