Page LayoutCustom page format

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
TeXtExTeX
Posts: 2
Joined: Thu May 28, 2009 8:38 pm

Custom page format

Post by TeXtExTeX »

Hello everybody!

I want to build a simple one page document with specific format,
e.g. 9 x 12 cm without margins. How can I do this? I haven't found a working way in the internet while searching an hour.

Thank you for your support. :-)

Greetings,


TeXtExTeX

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
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Custom page format

Post by Stefan Kottwitz »

Hi,

did you find the geometry package? Have a look at its documentation.

Stefan
LaTeX.org admin
TeXtExTeX
Posts: 2
Joined: Thu May 28, 2009 8:38 pm

Custom page format

Post by TeXtExTeX »

Danke Stefan!

By using this package I could solve my problem with the following line:

Code: Select all

\usepackage[paperwidth=9cm,paperheight=12cm,top=0cm,left=-0.5cm,right=0cm,bottom=0cm]{geometry}
Greetings,


TeXtExTeX
mungerilal
Posts: 2
Joined: Tue Jun 02, 2009 3:14 pm

Re: Custom page format

Post by mungerilal »

Does the geometry package work with 'latex'? For me it only works for 'pdflatex'. I cant get the page to resize on the dvi output.
Thanks,
User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Custom page format

Post by Stefan Kottwitz »

Hi mungerilal,

the geometry packages is working with latex too. Could you post a minimal working example showing the problem with the page dimensions?

Stefan
LaTeX.org admin
Post Reply