{paper-size} is about dealing with (above all, changing) the paper size. A popular package is {geometry}.

learn more… | top users | synonyms

28
votes
3answers
6k views

Change paper size in mid-document

My document should be letterpaper and my attachments should be a4paper. I had high hopes for the \newgeometry command from the geometry package, but the documentation says \newgeometry is almost ...
58
votes
5answers
8k views

How can I create a pdf document exactly as big as my tikz picture?

I often create pictures in tikz that I want to either send to someone, or include in an email. The problem with that is that there is a big white space around and and especially below my pictures. To ...
23
votes
3answers
1k views

Automatically increase PDF page height

I'd like to emulate HTML's infinite page height using LaTeX/XeTeX, i.e. have the PDF pages grow higher until a manual \newpage is issued. This could be emulated by setting a very large page height ...
15
votes
3answers
1k views

Standalone package creates a page with a fixed width

Recently I found the standalone package. I am using it to create figures and such in external files. But everytime content is created the width of the page seems to be fixed, it does not shrink to the ...
92
votes
5answers
4k views

Put entire thesis on one A0 poster?

The question Is there any way to automatically scale and put an entire document on an A0 page? The thesis for which this is to be done is available as LaTeX code, as well as PDF output. Of course I ...
16
votes
4answers
869 views

Is there a way to make “page” size match document length?

Many PDFs are never printed but are read in electronic form, where, for at least some readers and reading styles, it would be advantageous to have a single page through which the reader could ...
16
votes
4answers
18k views

LaTeX - how do I force PDF page height/width?

I am attempting to finish my LaTeX project, and I can't seem to get the PDF to compile to the right size no matter what I do. In my .cls file I have this set: \paperheight 11in \paperwidth 8.5in ...
11
votes
2answers
1k views

What's the absolute largest paper size permissible with pdflatex?

I've had occasion to typeset extraordinarily large matrices, which I didn't seriously expect anyone to expect in detail (without a computer) or print, but I needed it to be obvious that they were ...
14
votes
3answers
6k views

Fitting page size to a tikz figure

Sometimes I'm using tikz as a plotting tool, without embedding the figure in a document. In this case, I normally, want to include the resulting PDF in a different TeX file (yes I know I could include ...
4
votes
2answers
5k views

Beamerposter scale parameter, text font size and title font size

I want to create a poster with beamerposter with pagesize 240cm (width) x 120cm (height) with two columns. Will the following line of code produce what I need? ...
21
votes
5answers
3k views

Wrong A4 measurements?

I noticed that the paper size invoked by a4paper is not working right in my examples: \documentclass[a4paper,11pt,oneside]{article} \begin{document} Test \end{document} I checked with Preview.app ...
7
votes
3answers
4k views

MiKTeX “default papersize” setting

Now MiKTeX has the following setting: I have it set to A4 (A4size) all the time. But I don't really understand what this setting is supposed to do. When I compile \documentclass{book} ...
11
votes
1answer
896 views

What is bleed, and how do I achieve it?

I am going to print business cards that I've created using LaTeX, and when I contacted the print company and asked what they needed for the print, they answered that they needed a "pdf with the ...
6
votes
1answer
1k views

Multiple copies of short page on one sheet of paper

Suppose you have a short document (including a fancy header) which occupies only a small part of a DIN A4 page, like in this example: \documentclass[a4paper, 12pt]{article} ...
8
votes
1answer
1k views

geometry package - paperwidth and paperheight aren't accurate

recognize this simple example: \documentclass[]{article} \usepackage[paperwidth=612.0pt, paperheight=792.0pt]{geometry} \begin{document} Hello World \end{document} I compiled it with pdflatex. ...
5
votes
2answers
2k views

How to specify size of binding and trim/crop

If i want to print a document on a standard size paper (for example A4), and then bind it and trim it, what is the best way to tell LaTeX what the binding space and the trim size is? How do I figure ...
3
votes
2answers
1k views

Problem with setting correct custom page size with 'geometry' in xelatex

I'm trying to set the page size using the geometry package as shown in the following MWE, compiled with xelatex test.tex: \documentclass[12pt]{article} \usepackage[b5paper,pass]{geometry} ...
2
votes
2answers
951 views

Is there a package to divide pages of A4 to 2 pages of A5 each?

When I read a pdf book in my iPod touch using iBook software in landscape mode, I must zoom in each page manually. It means if I proceed to each page, I must zoom in until the left-right margins get ...
1
vote
1answer
53 views

page margins not respected after A3 page insertion in A4 document

I am inserting an A3 page in an A4 document but the margins are not respected (and neither does a page number appear), after the A3 page. Test code below: ...
1
vote
2answers
881 views

How can I create PDF & EPS exactly as big as my PSTricks picture but without using pdfcrop?

This question is made to accompany the existing question: How can I create a pdf document exactly as big as my tikz picture?. Constraints: It is not allowed to use pdfcrop by any means whatsoever. ...
20
votes
2answers
2k views

Default margins for geometry package

I want to explicitly specify sizes of my document. For this purposes I use geometry package. I do the following (I found the solution here): \documentclass{article} \usepackage[paperwidth=2394pt, ...
15
votes
2answers
331 views

How to have a precise control on the size of each page?

I would like to produce a pdf document whose pages have various lengths and fixed widths. An easier situation The easiest case would be for instance: the first page has a length of 10cm all the ...
10
votes
3answers
4k views

What are LaTeX templates for A5 booklets?

I am trying to produce a A5 size booklet. You might have seen these old small A5 size math books, with large size text in every page. They are very comfortable on the eyes to read and handy to hold. ...
10
votes
1answer
2k views

Compiling a BIG matrix

I have a large matrix (say, 100x100) in LaTeX code and I want to view it in a human-readable form. Obviously compiling the TeX code (of the matrix and nothing else) is the best way (much better than ...
7
votes
4answers
5k views

Page size too small when using beamer class

When I use the beamer class, the resulted pdf document has very small pages: What can I do in order to create A4 sized slides? The beginning of the latex document is: ...
11
votes
1answer
875 views

Can I make the page as big as my picture?

This is the reciprocal to How can I create a pdf document exactly as big as my tikz picture?. My understanding of all the answers there is that they extract a picture from a TeX document and strip ...
7
votes
1answer
165 views

Is there a bleed correction in KOMA?

I'm preparing a book (text only) using the scrbook class of the KOMA-Script that in the end should have A5 sized pages. To do that, I have to prepare a PDF that has slightly larger pages, since the ...
7
votes
2answers
2k views

How to choose font size given the paper size

How do you choose what font size to use given the paper size in use? For example, I found somewhere that for a European standard the following is recommended: \documentclass[a4paper,11pt]{article} ...
7
votes
1answer
1k views

Pocket book size for novel (10.8 x 17.5 cm)

Since a time I only use LaTeX for my writing requirements, for maths, histories, scripts, but this time I want to send a novel to a service like bubok or lulu or whatever that prints books to have it ...
5
votes
1answer
2k views

pdflatex: fit-page-to-contents or scale-contents-to-fit-page

I have a problem which can be solved one of two ways: Typeset a given chunk of TeX in an "infinitely wide" space, then scale the result so that its width is the width of the page. Typeset a given ...
3
votes
1answer
528 views

What kind of “magic” does preview package do to produce a tight paper size?

Actually the following method, that looks like reinventing the wheel, has been discarded once I have known the existence of preview package. % WithoutPreview.tex \documentclass{article} ...
3
votes
2answers
2k views

hyperref: Height of page (\paperheight) is invalid (0.0pt) [closed]

I am getting the following annoying warning from hyperref: hyperref.sty: [hyperref] Height of page (\paperheight) is invalid (0.0pt), usi\ ng 11in. (page 1) I am using a thesis class (thesis.cls) ...
9
votes
1answer
1k views

Why does setting the paper size with KOMA-Script require TikZ?

Maybe I am just too tired, but I simply can't explain what is going on. The file \documentclass[a5paper]{scrbook} \usepackage{lipsum} \begin{document} \lipsum \end{document} produces A4 sized ...
8
votes
1answer
6k views

Using 'Letter' paper with pdflatex

Apparently, the LaTeX distribution and its associated classes and drivers, as well as files in one's Linux distribution can all affect the page size that is ultimately used for the output of dvipdf, ...
6
votes
1answer
3k views

Customizing Page Size in Memoir

How do I customize the size of the output pages in the memoir class? For example, how could I change the page size to 6x9 (while preserving the margin proportions and headers/footers I use) in the ...
3
votes
2answers
2k views

How to make the size of PDF output wider?

Is there a way to make the PDF width and height larger?
2
votes
1answer
2k views

How to define a custom PDF page size without margins and header/footer? KOMAscript

I want to create a PDF file with pdflatex which has a custom page size: \pdfpagewidth=680.6pt \pdfpageheight=441.0pt and which will be used completely for typesetting (no margins, no header or ...
10
votes
3answers
6k views

Changing the paper size

I have been using the currvita.tex template located here with TeXShop. Unfortunately, the output is not 8.5" by 11". Is there some way I can change either TeXShop settings or the TeX document to ...
7
votes
1answer
739 views

\pdfpageheight does not work in XeTeX?

The XeTeX reference manual says that this engine understands \pdfpageheight and \pdfpagewidth. However, is seems to ignore the requests to change paper size in the middle of the document. Consider ...
6
votes
1answer
1k views

Whats the appropriate paper size command with xelatex these days?

i am trying to use xelatex from the mactex 2012 package to build a paper at DIN A4 paper size. using any of the following commands does not do the trick, it keeps set at 21,59 × 27,94 cm which is ...
6
votes
2answers
2k views

pdfpages package and layoutsize (geometry package)

I tried to include a PDF page using the pdfpages package — this works well for a standard case, f.e. (t.pdf is the first page of the PGF manual): \documentclass{scrartcl} \usepackage{geometry} ...
6
votes
2answers
614 views

What is the smallest paper dimension that can be used in (La)TeX?

I want to know what is the smallest paper dimension (in big point) that can be used in (La)TeX?
4
votes
3answers
4k views

Print two-sided B5 book on A4 “corners”

I have a B5 thesis to print and the printing houses proposed me to print and bind it on A4 paper and then make two cuts. I've used the crop package but the problem is for twoside document, you can ...
3
votes
0answers
69 views

Output a document containing a single vertical-infinite page [duplicate]

Possible Duplicate: Automate Fixed Width Page, length > some minimum length, but only as long as needed Is there a way to output a document containing a SINGLE page (that contains the ...
3
votes
1answer
837 views

How to specify a very long page?

I want a long page length, and even though the PDF output shows the long page, I can only get text placed on a portion of it. I used code from this question about repeating a long block of text until ...
2
votes
1answer
328 views

Slight discrepancy in left/right margins

This is what I'm using: \usepackage[paper=a4paper,twoside=true,lmargin=4cm,rmargin=4cm,bindingoffset=0cm]{geometry} For some reasons, when I print out my document, there seems to be a slight 1-2mm ...
1
vote
1answer
1k views

Change paper format for scrbook class (using package typearea)

I try to use scrbook class, and play with basic options - paper size. I know that is based on KOMA script and for these reasons I should use package typearea instead package geometry. See MNWE: ...
1
vote
0answers
113 views

\includepdf in A3 format [duplicate]

I am creating an A4 document and I need to insert a longtable in A3 into this document. I have created a document for this: \documentclass{book} \usepackage[margin=2cm,landscape,a3paper]{geometry} ...
1
vote
1answer
2k views

How to make document custom page dimensions?

I have seen the options such as a4paper, a5paper, letterpaper, etc... to go in the square brackets after \documentclass, but what I want is 8.25 inches width by 10.75 inches height for one document ...
1
vote
2answers
2k views

How to remove 1 inch paddings without using \hoffset and \voffset?

I usually do the following to remove 1 inch padding. \documentclass{minimal} \usepackage{pstricks} \paperwidth=72.27pt \paperheight=72.27pt \voffset=-72.27pt \hoffset=-72.27pt \parindent=0sp ...