{paper-size} is about dealing with (above all, changing) the paper size. A popular package is {geometry}.
19
votes
3answers
3k 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 ...
14
votes
3answers
461 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 ...
43
votes
5answers
4k 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 ...
17
votes
4answers
807 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 ...
13
votes
4answers
483 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 ...
11
votes
2answers
852 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
3answers
3k 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 ...
7
votes
4answers
5k 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
...
6
votes
1answer
550 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}
...
3
votes
2answers
2k 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?
...
0
votes
2answers
543 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
680 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
566 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
1k 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 ...
11
votes
1answer
612 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 ...
5
votes
1answer
1k 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
434 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}
...
9
votes
1answer
920 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 ...
6
votes
1answer
1k 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 ...
5
votes
1answer
338 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
1answer
959 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, ...
3
votes
2answers
1k views
1
vote
2answers
1k 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) ...
19
votes
5answers
828 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 ...
8
votes
2answers
3k 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
468 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
466 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
934 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
405 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?
3
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 ...
2
votes
1answer
158 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
441 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
0answers
58 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 ...
1
vote
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 ...
0
votes
1answer
169 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}
...
0
votes
2answers
620 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
...
