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

learn more… | top users | synonyms

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 ...
62
votes
6answers
6k views

Generating smartphone-readable pdf

Often my students want to look at my lecture notes on their phones. Obviously no one wants to do that routinely, but it is often convenient if you do not have a paper copy to hand and you just want ...
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 ...
40
votes
3answers
13k views

LaTeX beamer presentation-package 16:9 aspect ratio?

I'm programming a presentation in LaTeX using the beamer class. However, it defaults to 4:3 aspect ratio slides, while everything I use is 16:9. Is there an easy way to change this using a command or ...
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 ...
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 ...
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 ...
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, ...
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 ...
16
votes
4answers
870 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 ...
15
votes
2answers
1k views

How to convert a png into pdf using LaTeX?

I have a larger png image: width is 5400 pixels and height is 3850 pixels. I need to transform it into a pdf file in SPA3 size, which means 320mm x 450mm. Is there a way to do it with LaTeX? What I ...
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 ...
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 ...
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 ...
14
votes
2answers
3k views

Printing/typesetting two A4 pages from a single-page A3 document in TikZ

I'm currently working on a huge graph using a A3 format, with the landscape option. I don't usually work on A3 pages, but this is not a mistake. I purposefully chose this format because it's made of ...
14
votes
1answer
1k views

Rules of thumb for size of binding correction (BCOR)

I was searching for this for a while now and I keep getting referred to an article about binding correction (probably in german) that seems to be offline. Another tip was to measure the horizontal ...
14
votes
1answer
1k views

LaTeX without pages [duplicate]

Possible Duplicate: Automatically increase PDF page height Is it possible to have LaTeX use a single infinite page? I don't know if the PDF file format even supports this, but I see ...
13
votes
3answers
4k views

a4paper, where should I declare it? In document class or geometry?

I currently have an article document class and I previously changed it to include printing on A4 paper: \documentclass[12pt, a4paper]{article} However, I had to change my margins to meet my ...
11
votes
3answers
2k views

Set page size in mm's

A contact has asked for a documents pages to be set to 130 x 198mm - and so my \documentclass[12pt,a5paper]{book} isn't going to cut it - how do I specify page size in mm?
11
votes
3answers
308 views

Arithmetic in arguments to the geometry package

I'd like to use the geometry package to auto-crop the output of my LaTeX (so that it looks bigger on-screen as I'm editing). I have found a way to remove the margins completely and brutally: ...
11
votes
4answers
495 views

Resize paper to mbox

Is it possible to define a function where the page is resized to exactly the dimension of an mbox? For example, I want to do something like the following: \documentclass{report} \thispagestyle{empty} ...
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 ...
11
votes
1answer
1k views

Which one is it: a4paper or paper=a4?

I'm using XeLaTeX mostly, and I never know what to put into \documentclass[]{}. Usually I use something like \documentclass[a4paper, 11pt]{scrartcl}. But I never know whether it's a4paper or paper=a4. ...
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 ...
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 ...
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 ...
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 ...
9
votes
1answer
3k views

Can \documentclass{minimal} create documents with nonstandard page sizes?

I need to create a document for a square piece of paper. I've been trying to use \documentclass{minimal}, but it doesn't work. This is my code: \documentclass{minimal} \special{papersize=14in,14in} ...
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 ...
9
votes
1answer
6k 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 ...
9
votes
1answer
421 views

Page layout design in KOMA script

This is follow up of the previous question, Document class for designing a book. Majority of respondents suggested that I design the the page layout using the class I was using for writing the text, ...
9
votes
1answer
959 views

Printing on A4 - standard classes vs. KOMA-Script classes

As I'm located in Europe the standard paper size is A4. So far I was normally using either \documentclass[a4paper]{article} or even simply \documentclass{article}. Recently I spotted sections (1.1) ...
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. ...
8
votes
3answers
294 views

Foldable DIN A0 page within normal document

This question is somewhat similar to this question: Insert foldable A3 pages in an A4 document with active references However it's not completely the same. I want to have a foldable DIN A1/DIN A0 ...
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, ...
8
votes
1answer
415 views

How can I use the layout and twoside options of the geometry package?

When I use the geometry package (2010/09/12 v5.6) for a twoside document with one paper size (e.g. A4) and another layout size (e.g. A5), I had expected that I could print a page, turn the paper, ...
8
votes
2answers
2k views

Should I always specify -sPAPERSIZE=a4 when invoking ps2pdf for paper size other than A4?

When I compile a document with paper size other than A4 as follows: \documentclass{scrbook} \usepackage[A6paper]{geometry} \begin{document} something \end{document} using latex-dvips-ps2pdf ...
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: ...
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} ...
7
votes
2answers
2k views

Why does pdflatex/dinbrief produce a US letter page for this input?

I want to write a simple letter using the dinbrief class but cannot get it to produce a DIN A4 page. The minimal example is this: \documentclass[11pt,a4paper]{dinbrief} \usepackage{german} ...
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
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 ...
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 ...
7
votes
1answer
131 views

Why is PDF paper size A4 although KOMASCRIPT option a6paper is used?

I created a PDF with a4paper settings using KOMAscript's scrbook class many times. Everything looks good in PDF and on paper, when I print the file double sided. Trying to create an A6 layout things ...
7
votes
2answers
5k views

Changing standard output presentation page size into A4 size?

I am working on some project and presentations in LaTeX using the beamer package. I am just a beginner in this so I really need your help. My problem is that the default presentation page size is ...
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} ...
6
votes
2answers
5k views

\pageheight just inside layout package?

I've got a comprehension question: are the commands \pageheight and \pagewidth only available if the layout package is loaded? Are there any more simple ways to alter page height and width? I find ...
6
votes
2answers
331 views

Selecting A8 Paper

As I frequently use \documentclass[a4paper,12pt]{article} I though a simple change could select the A8 paper: \documentclass[a8paper,12pt]{article} But I get a warning saying the a8paper option ...
6
votes
2answers
3k views

Printing A6 on A4 paper

Yesterday I encountered a problem with printing an A6 pdf document (which I created using LaTeX). The Printing shop did not have A6 sheets, so they took the print out on an A4, which turned out ...