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

learn more… | top users | synonyms

0
votes
0answers
36 views

Failing to change to a4paper, remains 11in/8.5in

here is my minimal working example: \documentclass[a4paper]{article} \begin{document} test \end{document} From Log: ... ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls" ...
1
vote
1answer
46 views

How do I use a style file to force a4paper without calling the geometry package?

I'm writing a style file for my colleagues to typeset their exam papers. The paper size needs to be A4, but some of my colleagues always forget to invoke the a4paper option in the documentclass. Can ...
0
votes
0answers
19 views

Draw with PStricks on a large paper size

This question already received attention, but I still cannot find a satisfying answer. I need to draw a big diagram in PStricks. For readability, I want to use a single larger page in the middle of my ...
2
votes
0answers
58 views

PDF is always created with A4 paper size

I use MikTex 2.9 and TeXstudio 2.6.2 on a Win 7 64-bit machine. I create my LaTeX documents with the following build settings: MiKTeX is set to letterpaper as default paper size: In my LaTeX ...
2
votes
0answers
18 views

How to get a4paper with package lettre? [duplicate]

Using this example \documentclass[a4paper,12pt]{lettre} \usepackage{fontspec} \usepackage[frenchb]{babel} \usepackage{lipsum} \begin{document} \begin{letter}{Service des réclamations} \nofax ...
3
votes
1answer
56 views

How do I print a book (A6 size), 4 times into an A4 size paper?

I have a latex prepared doublesided pdf, it has 130 pages. I just want a result where I can cut the A4 paper into 4 parts and get 4 separate a6 books. No need to set frames, just cut the paper in ...
2
votes
1answer
35 views

How do I centre the text in this custom paper size example?

I try to use the Swedish G5 paper size (169x239)mm with text width 111mm, text height 165mm, side margins 29mm and top margin 37mm. Why doesn't the text get centred? ...
0
votes
0answers
54 views

How to properly change from A4 to 24x17 cm format?

I have my PhD thesis in a a4paper document book in LaTeX. Just like: \documentclass[a4paper,10pt]{book} The thing is that now I realize I need it in a 24x17 cm. Fortunately, I have all my figure ...
3
votes
1answer
53 views

Set paperheight to (overall) textlength

The page should when the text ends. So, that there is only one "page". Don't worry. It's not for being printed. \documentclass[12pt]{article} % Packages \usepackage{lipsum,anyfontsize} ...
19
votes
5answers
35k 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 ...
4
votes
3answers
3k views

How to make the size of PDF output wider?

Is there a way to make the PDF width and height larger?
5
votes
2answers
8k 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 ...
0
votes
0answers
26 views

book with side by side pages and manual paper size

I have a few questions. 1.i want to set the custom sheet size to 8.27x16.54 inches (so that when you bend the sheet in two it makes a square). I tried many solutions but none seems to work. 2.i want ...
2
votes
1answer
34 views

Lyx A3 page in an A4 document

I need to insert an A3 sized figure in my lyx document (my thesis chapter) is this possible? I have seen some on here around LaTex but not sure how to include it in lyx, I am new to it. Thanks
1
vote
0answers
21 views

Enlarge the text area to an appropriate size to fit in the paper size

Is there a package to automatically enlarge the text area to fit the paper size? Note that the purpose is NOT to put more texts in one page; the purpose is that, with the same amount of texts in one ...
0
votes
0answers
26 views

No page breaks at all [duplicate]

Would it be possible for latex to generate the text of my latex document to a pdf consisting of one single giant, very long page. This pdf would not be for printing, but just for online viewing.
1
vote
0answers
22 views

Wrong paper size at simple business cards template

I have this simple document with business cards, When I compile it, it is a us letter. But when I use package geometry, it will be a4paper. \documentclass[a4paper,11px]{article} ...
2
votes
1answer
54 views

Rescaling column widths in beamerposter package

I'm trying to make a poster with three columns. The left-most and right-most columns should be the same width, and the middle column should be wider than the other two. The poster should be 44 x 36 ...
0
votes
1answer
47 views

How to get 'Scale/Fit to page' behaviour automatically when printing?

I have slides created like this: \documentclass{scrartcl} \usepackage[T1]{fontenc} \usepackage[american]{babel} \KOMAoptions{paper=128mm:96mm}% like Beamer \usepackage[includefoot, left=5mm, ...
4
votes
2answers
64 views

Why does \typearea affect page/paper size?

I'd like to use the \typearea package in order to properly calculate the size of the text block. However, invoking the package sets the paper size at A4, and I want to use a smaller size. Here's a ...
2
votes
1answer
41 views

Set absolute page size without scaling in asymptote

This is not the first time trying to solve this problem, which is why I'm writing a self-answered question, after spending another hour to re-discover a solution. How do I force Asymptote to output a ...
3
votes
1answer
277 views

Thesis template to B5 paper size. What about margins?

I successfully changed the paper size from A4 to B5 of the Thesis template downloaded from http://www.latextemplates.com/template/masters-doctoral-thesis I modified the main.tex file by setting ...
7
votes
1answer
2k views

How can I get US letter output from KOMA-script's scrlttr2 class?

I use KOMA-script for most everything, including correspondence. This is painless when I am using A4 paper, but when I try to use US letter, the problems start. With the scrartcl class, ...
0
votes
0answers
16 views

How to obtain paper size with fixed width along with dynamic height depending on the content? [duplicate]

How does this code need to be modified, in order for the width to be fixed 15cm, and for the height to be whatever needed for everything to fit on one page. In the bottom I want same margin as in the ...
0
votes
0answers
58 views

How can I trim margins, hopefully keeping the textwidth the same?

I started writing a rather large document with the default A4 paper size, two-sided, memoir format. I fear that the page size might need to become smaller than this, and my question is on how to ...
1
vote
1answer
96 views

Make paperheight (page length) same as section length

I'd like a document where each section is followed by a page-break but otherwise is one page. The sections have varying lengths, mainly due to the size of the picture(s) in each one. So far what I ...
13
votes
3answers
220 views

Using crop package with XeLaTeX

When using the crop package with XeLaTeX the cropping of the first page doesn’t work. While the following document compiles fine with PDFLaTeX the result with XeLaTeX is this: As you can see the ...
2
votes
0answers
27 views

Page margins in .Rtex

I'm using ShareLatex to write my thesis (which relies heavily on R) but the page size changes when I set my document to "main.Rtex" instead of "main.tex". I provide a minimal example so you can check ...
3
votes
2answers
318 views

How to make the Question Paper in LaTeX?

\documentclass[11pt,paper=a4,answers]{exam} \usepackage{graphicx,lastpage} \usepackage{upgreek} \usepackage{censor} \censorruledepth=-.2ex \censorruleheight=.1ex \hyphenpenalty 10000 ...
3
votes
1answer
96 views

Looking for template for landscape columnwise cheat-sheet type of document

I want to make a cheat-sheet with geometry formulas which I can use a background on a 1600x1280 screen. I am looking for a template or just the lines of code i have to use to setup my latex document. ...
2
votes
0answers
19 views

Paper Size and Margins in PS/PDF [duplicate]

Actually, I am trying to submit some paper to NSERC (Canada's research fund) and they are asking: paper size = 8.5 x 11 margins (all sides) = 0.75in I tried to use the following code in LaTeX ...
2
votes
2answers
84 views

Is it possible to store the height and width of an imported document in variables and adjust the page to fit it (reverse-engineering layouts)?

For example, let's say that I use the pdfpages package and import a PDF. Is there any way (without using an external scripting language like Python) to access the dimensions of the PDF? Can I pass ...
30
votes
2answers
891 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 ...
5
votes
1answer
563 views

How to print DIN C4-size envelopes?

I would like to print a DIN C4-size envelope with FROMADRESS and TOADRESS (according to DIN). But I haven't found a solution implemented already in scrlttr2. Is there an easy solution?
3
votes
1answer
183 views

How to set margins and page size in pdfLaTeX without geometry?

What is the TeX equivalent of \usepackage[paperwidth=10cm, paperheight=15cm, margin=0mm, bottom=1mm]{geometry} ? I know nothing in TeX and so far, I am playing ...
18
votes
2answers
649 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 ...
1
vote
1answer
111 views

Picture is not fit as want to

Hello I put the image and test below codes but it is not adjusted as I want and it is smaller than expect or bigger. I need the picture cover half of the hight of the page at least. ...
2
votes
3answers
134 views

How to get sane margin sizes suitable for paperback books using memoir?

I'm trying to make a document suitable for printing as a trade paperback. For that reason I'm using the memoir class using statementpaper which sets the page size to 5.5" x 8.5". Here's the basic ...
0
votes
1answer
39 views

Sweave Print Codes without Considering the Width of Paper

I changed my paper size to A3 in order to make certain code chunk displayed without disruption. However, it seems that Sweave is not smart enough to detect the change of paper size and still break ...
0
votes
0answers
245 views

I can't make the document have the proper paper size

I'm using the MikTex 2.9 distribution on Windows 7 and the Texmaker editor. I'm using the sequence Latex -> dvips -> ps2pdf to produce my pdf file but it always come out with the A4 paper size and ...
4
votes
2answers
164 views

How to check paper size?

Is there a way to check what paper size my LaTeX document is set to? I'm aware I can set the paper size using the geometry package, but I want some type of 'check' on this. I don't see anything ...
2
votes
1answer
115 views

How can I set the papersize in in book documentclass?

I need to create a document in book document class with papersize 170 x240, left and right margins 2 cm, top margin 2.2 cm and bottom margin 1.8 cm. I used this: ...
2
votes
1answer
81 views

Specifying statement paper size

I want to create a document that will be printed on "statement" paper (i.e. half of "us letter" paper 8.5" x 5.5"). With metric sized papers it seems clear how to do this using "a5paper". How do I do ...
1
vote
1answer
171 views

Changing a4paper to letterpaper

For starters I am a first time user of LaTeX I am formatting my dissertation using this template: https://www.overleaf.com/2943161npnxys#/8024281/ Unfortunately, the paper size in this is a4 and I ...
74
votes
4answers
29k 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 ...
0
votes
0answers
59 views

Geometry package: Lengths saved by default. Options for save/load/restore

The geometry package: Package lengths are not saved as lengths. Examples: layoutheight, tmargin The following only affect the complete layout: \savegeometry \loadgeometry \restoregeometry ...
1
vote
1answer
98 views

Change Page Size Mid-Document: Fancy Header and Footer Horizontal Width

When changing the paper size within a document, the fancyhdr package does not recognize the alteration of the layout width. This page details how to change page size mid-document. An answer has been ...
1
vote
1answer
301 views

Custom Papersize and Layoutsize (for Springer) using a documentclass (SVMult) and pdflatex

I want a customized paper size, a customized text size and layout. Thus conforming to Springer's style requirements for scientific monographs which are different to conventional sizes like DIN A4. ...
0
votes
0answers
61 views

How to change margins based on paper size?

My document uses US letter: \ProcessOptions\LoadClass[letterpaper,twoside]{report}, with the following margins setup: \geometry{tmargin=25mm, bmargin=25mm}. Now, if I change the paper size option ...
6
votes
2answers
1k views

Centering full-page tikz images - with mid-document paper size change

I just got this question answered: xetex - Centering full-page Tikz image on page without margins with xelatex? - TeX - LaTeX ... and all works there.   However, here is my problem - I ...