79

You can use pdfpages. In the example below, test2.pdf has 178 pages, and ceil(sqrt(178)) = 14. The purpose of the delta option is actually to add additional white space between each page. By setting it to negative values I guess the effect is that each page overlaps a bit. So it doesn't actually crop anything, but one gets the same effect -- less white ...


55

The correct parameters to set are \pdfpageheight and \pdfpagewidth: \pdfpageheight=11in \pdfpagewidth=8.5in However, this won't work in the "latex+dvips+ps2pdf" cycle. A code for both cases is \usepackage{ifpdf} \ifpdf \pdfpageheight=11in \pdfpagewidth=8.5in \else \special{papersize=11in,8.5in} \fi The geometry way is better: \usepackage[pass,...


53

The article class has an option for A4 (210 mm x 297 mm) paper: \documentclass[a4paper]{article} other possible options for page size are: a5paper - A5: 148 mm x 210 mm, that is half of A4, basically b5paper - B5: 250 mm x 176 mm letterpaper - Letter: 215.9 mm x 279.4 mm legalpaper - Legal: 215.9 mm x 355.6 mm


52

If you're willing to just scale the entire table down, then this is fairly straight-forward, put it in a box and scale the box to \textwidth. \documentclass{article} \usepackage{graphicx} \begin{document} test \begin{table}[ht] \centering \resizebox{\textwidth}{!}{\begin{tabular}{rlrrrrrrr} \hline & X & MASHvstRap & MASHvsBEEML & ...


50

A4's are indeed quite large for normal reading. With the geometry package you can either specify the page size manually, or use a6paper which is readable on a phone. It's also a good idea to modify the margins, you don't need page numbers so they can be quite small. Another idea is to change the typeface to one more fit for screens. Together all there ...


46

By request in the comment section, I have been exhorted to share specifics on my comment: I had a similar situation in our organization in that they, one day, insisted that every report had to be times-roman font (not my beloved Palatino), but allowed that figures could have other fonts. So I submitted my report, where each page of my Palatino manuscript ...


37

Further to the answer of Silex, I would like to add that in such cases the microtype package might come in handy. For example, the following result is obtained by simply loading microtype without any options:


33

The default page size in a beamer presentation is 12.8cm x 9.6cm (a 4:3 aspect ratio) with a font size of 11pt. The page size is set using geometry using the following additional default settings: \RequirePackage[% papersize={\beamer@paperwidth,\beamer@paperheight}, hmargin=1cm,% vmargin=0cm,% head=0.5cm,% might be changed later headsep=0pt,% ...


31

Use the preview package with tightpage,active options to only display elements you want as single pages. You need to wrap the tikzpicture in preview environments or declare it as \PreviewEnvironment{tikzpicture}. The standalone class gives you exactly this functionality in a very short form: \documentclass[class=minimal,border=0pt]{standalone} \usepackage{...


29

As already mentioned in https://tex.stackexchange.com/a/97506/2975 you can use \resizebox or better adjustbox to scale the table to a specific width, e.g. \textwidth which is the width of the text on the page. This however might make your table text very small and hard to read. \documentclass{article} \usepackage{adjustbox} \usepackage{lipsum}% example ...


28

A couple of scientific journals by Wiley (those at least I wrote or maintained the LaTeX classes for) use a hybrid format of 210 mm by 279.4 mm: as wide as A4, as high as letter. Thus it can be printed or copied in both worlds without loss. You can do this by putting \setlength\paperheight {279.4mm}% \setlength\paperwidth {210mm}% into your class code. ...


26

You could adapt the LaTeX source of the thesis to typeset it on A0 paper in four columns, each of which has the width of one A4 sheet. For better typesetting, i.e. a smaller number of characters per line, you could even increase the number of columns. \documentclass{article} \usepackage[a0paper, margin = 2.5cm]{geometry} \usepackage[english]{babel} \...


24

a4paper specified in document class will be passed to geometry. So there is no difference in your case if you specify the option in \documentclass{article} or \usepackage{geometry}. However if other packages need to know document format, you need to specify a4paper in the document class.


23

The default is that the text width and the text height are 0.7 of the paper width and height. This means that textwidth = 0.7 paperwidth = 1675.8pt textheight = 0.7 paperheight = 4788pt The left and right margins are, for one sided document, equal to each other; this gives leftmargin = rightmargin = .15 paperwidth = 359.1pt The vertical spaces are ...


23

The a4paper option of the standard classes don't actually set the PDF page size, just the size which is used to set the text. That's why you should always use geometry if your class doesn't do that automatically. Most other classes do that by default as you see. So no, there's nothing wrong and you aren't really missing anything. If your page size in KOMA-...


23

You can use the standalone class which will produce a pdf with no border. If you want a small border you can add [border=<length>] class option. Notes: As LionelMANSUY mentioned in the comments it is usually preferable to use keepaspectratio, but if specific dimensions of both height and width are required, using `keepaspectratio may conflict with ...


22

The best strategy is Choose the paper format you'll be using more frequently at install time (TeX Live allows to choose between Letter paper and A4, and probably also MiKTeX). For the documents where a different paper size is needed, write \documentclass[letterpaper]{article} % or whatever \usepackage[pass]{geometry} With this call, geometry will only do ...


22

See page 6 of the geometry package manual: \documentclass{book} \usepackage[paperwidth=130mm,paperheight=198mm]{geometry} \begin{document} text \end{document}


22

The question of page size parameters is quite complicated. LaTeX2e introduced the parameters \paperwidth \paperheight and the document class options to set the paper size. Previously the pagination parametes were tailored for US Letter paper and in Europe it was common to use document style options such as a4.sty. This has actually no influence on the ...


22

PDF isn't really a good format for reading on mobile devices, since they have varying screen sizes and PDF has completely fixed formatting. The best solution is probably to provide an e-book in EPUB format. EPUB is designed for reflowable content, meaning that an EPUB reader can optimize text for a particular display device. You can generate them from ...


21

Use geometry: \usepackage[pass]{geometry} In this way the package will not make any modification to the standard settings, and will only tell the compiler the physical page size. A more complicated way, that requires knowing the page dimensions, but that can be useful with non standard page sizes, is to say \pdfpageheight=210mm \pdfpagewidth=148mm This ...


21

The geometry package might be useful here \usepackage[paperheight=11in,paperwidth=8.5in]{geometry} MWE: \documentclass{article} \usepackage[paperheight=11in,paperwidth=8.5in]{geometry} \begin{document} hello world \end{document}


20

There was a solution given by Veytsman and Ware in Tugboat 32 (2011) 261 in an article titled "Ebooks and paper sizes: Output routines made easier" to be found at https://www.tug.org/members/TUGboat/tb32-3/tb102veytsman-ebooks.pdf (Access to the content is restricted to members of the TeX Users Group until the end of 2012.) Their idea is not to make one ...


19

The tikzposter class loads geometry, so you can use its syntax to specify different paper sizes: \documentclass{tikzposter} \geometry{paperwidth=4in,paperheight=3in} \usepackage{lipsum} \begin{document} \lipsum[1] \end{document} 10.2cm is 4in and 7.6cm is 3in


17

Thanks for all your helpful comments. I'll try to compose an answer from them and the article that is now reachable again (thanks @diabonas for noting that). The way I see this now, binding correction depends too much on the actual binding to make any good guess without having a similar book at hand as @doncherry noted. However, Markus Kohm, the author of ...


17

Since memoir provides its own set of page layout macros, it's best to use them rather than resort to something like geometry. Also, using a4paper followed \setstocksize{297mm}{210mm} is superfluous, since a4paper has those dimensions exactly. In fact, if you choose the document class option a4paper with memoir, it executes \stockaiv, which is defined as \...


17

The syntax paper=a4 is exclusive of the KoMa-Script classes, that is, scrartcl, scrbook, scrreprt and scrlettr. No other class or package that I know of accepts it: the only notable exception is, of course, the package typearea, which is part of the KoMa-Script bundle, to which the paper size options given to the KoMa-Script classes are deferred. However, ...


16

The pdfpages package provides exactly this functionality. Assume that you have a document that has been created in LaTeX on A6-sized paper (the example below creates a 29-page document, mya6doc.pdf say): \documentclass{book} \usepackage[english]{babel}% \usepackage[a6paper]{geometry}% http://ctan.org/pkg/geometry \usepackage{lipsum}% http://ctan.org/pkg/...


Only top voted, non community-wiki answers of a minimum length are eligible