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

learn more… | top users | synonyms

31
votes
3answers
9k 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 ...
67
votes
5answers
11k 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 ...
24
votes
3answers
2k 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
2k 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 ...
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 ...
98
votes
5answers
5k 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 ...
18
votes
4answers
26k 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 ...
22
votes
5answers
4k 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 ...
17
votes
4answers
1k 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 ...
5
votes
2answers
8k 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? ...
18
votes
3answers
7k 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 ...
17
votes
2answers
537 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 ...
7
votes
1answer
483 views

How can i change the paper size in tikzposter?

Right now the only allowed paper sizes in tikzposter are a0paper, a1paper, or a2paper. Is there a way to manually set the size of the poster in inches or other units?
7
votes
1answer
1k views

\documentclass[10pt, a4paper]{article} not working properly

I'm using \documentclass[10pt, a4paper]{article} in my TeX file. It all works fine, except, the lower bound of each page is cut off. So some text is either cut off, or at least the text reaches the ...
9
votes
3answers
7k 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} ...
5
votes
2answers
2k 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} ...
3
votes
1answer
412 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 ...
13
votes
1answer
12k views

Proper page size for slides

I'm just going to use the standard article class to create my slides manually. The question is, what pagesize is appropriate, and why? Should I take into account my projector's resolution and/or the ...
12
votes
1answer
1k 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 ...
10
votes
1answer
2k 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. ...
8
votes
2answers
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} ...
5
votes
1answer
3k 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 ...
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
3answers
235 views

Default layout is not as expected

I just started to learn LaTeX after seeing some amazing examples of scientific articles produced using it; I was also told that, unlike some other other text programs, LaTeX automatically produces ...
2
votes
2answers
1k 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
130 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
1k 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
3k 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, ...
12
votes
4answers
5k 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} ...
24
votes
0answers
621 views

Customizing the height of the pages

The question I would like to control the height of the pages of the PDF documents I produce with LaTeX. Starting with a LaTeX document and two parameters: a given page size (heightPage and ...
8
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: ...
6
votes
2answers
929 views

How to make an image for backgrounds with exact A4 dimensions?

In order to make a background image that fits the page perfectly, I have tried two things. The first is to use a document class where the dimensions of the page can be set to that of A4, which ...
11
votes
3answers
6k 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 ...
8
votes
1answer
4k 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 ...
11
votes
1answer
998 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 ...
8
votes
1answer
231 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
1answer
2k 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 ...
4
votes
2answers
3k 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) ...
3
votes
1answer
568 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} ...
2
votes
2answers
12k views

How to adjust a table to fit on page [duplicate]

I have the following latex table: \begin{table}[ht] \centering \begin{tabular}{rlrrrrrrr} \hline & X & MASHvstRap & MASHvsBEEML & tRapvsBEEML & frequency & Mash\_mean & ...
10
votes
1answer
10k 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, ...
9
votes
1answer
2k 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
865 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 ...
4
votes
1answer
4k views

Landscape, A3/A4 paper with XeTeX

With pdflatex, it seems easy to get a landscape document, on A3 paper. One only needs to add [landscape,a3paper] or [landscape,a4paper] to the document class options. With xelatex, however, these ...
4
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?
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
3answers
378 views

Is there any recommended package for converting A4 size PDF page into A3 size page?

Currently I'm able to generate required output file using pdflatex in A4 page size. To reduce printing cost, I'd like to convert this A4 size PDF into A3 page as mentioned in the diagram below. Is ...
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
7k 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 ...