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

learn more… | top users | synonyms

23
votes
3answers
5k 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 ...
54
votes
5answers
7k 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 ...
14
votes
3answers
882 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 ...
20
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 ...
16
votes
4answers
754 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
4answers
15k 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 ...
12
votes
3answers
5k 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 ...
20
votes
5answers
2k 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
2answers
3k 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} ...
90
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 ...
6
votes
1answer
910 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} ...
4
votes
2answers
4k 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? ...
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
813 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
2answers
764 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. ...
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
3answers
3k 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. ...
11
votes
1answer
817 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 ...
6
votes
2answers
1k 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} ...
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
503 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 ...
7
votes
1answer
4k 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
852 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 ...
6
votes
1answer
2k 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
1k 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
5k 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 ...
6
votes
1answer
668 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 ...
5
votes
1answer
944 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 ...
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 ...
5
votes
2answers
562 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
3k 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
64 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 ...
2
votes
1answer
269 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 ...
2
votes
1answer
721 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 ...
1
vote
1answer
756 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
1answer
544 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 ...
0
votes
1answer
208 views

How should I express my length calculation to minimize rounding errors?

I have an input file as follows. % Test.tex \documentclass{article} \usepackage{pstricks} \psset { linewidth=0.01 } \newcommand\All{0.1} \newcommand\Left{-\All} \newcommand\Right{\All} ...