{margins} is about dealing with (above all, changing) the margins of (whole) pages and, conversely, the width and height of the textblock and its positioning on the page. Popular packages are {geometry} and {typearea}. For changing the "margins" in the middle of a page, use {indentation} instead.

learn more… | top users | synonyms

5
votes
1answer
184 views

Unreasonable orphans in lines (classicthesis)

I am using classicthesis in Lyx, and I run into some weird orphans. From what I can see, there are no reasons for them to occur (see image for two examples). I am using this package in my ...
3
votes
3answers
221 views

Default layout is not as expected

I just started to learn LaTeX after seeing some amazing examples of scientific articles produced using it; I was also told that, unlike some other other text programs, LaTeX automatically produces ...
3
votes
1answer
288 views

Overlapping text in the res class.

I'm writing a resume using \documentclass[50 pt, margin]{res} and I got the res.cls from http://www.rpi.edu/dept/arc/training/latex/resumes/. I'm new to LaTeX (this is my second document) and when I ...
3
votes
1answer
79 views

Use of the color package changes the height of the text block

Here is the packages in my documents: \documentclass[12pt,twoside]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{color} \renewcommand{\baselinestretch}{1} ...
0
votes
1answer
86 views

Different margins within one document

having the following code, how is it possible to insert another page, which would have different margin paramaters as opposed to those seen in the code? Basically, the first page is cover page with ...
2
votes
1answer
118 views

Different margins for document title only

I am trying to follow the formatting requirements for a specific conference which state that the document title must have 1.5 inch left and right margins while the rest of the paper must have 1 inch ...
3
votes
1answer
167 views

Center align caption on margin

I am trying to align figure caption on the outer margin with koma-script, but no matter what I tried the option centeredbeside does not work. \documentclass[captions=centeredbeside]{scrbook} ...
7
votes
1answer
203 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 ...
0
votes
1answer
126 views

Oneside book with centered pages

I'm writing a document using the book class, with the option oneside. Since the document is not meant to be printed but to be viewed online, I'd like the text to be centered in the page (i.e. with ...
1
vote
1answer
430 views

Footnotes too close to the text in KOMA scrartcl class

I use the scrartcl KOMA class and I find the footnote too close to the bottom of my text. How can I change it? I would like to have more space between them and have more text on a single page. I ...
1
vote
2answers
848 views

bug in svjour3 class file asymmetric margin

I am trying to prepare a manuscript for submission to the Empirical SE and for some reason, I am finding that the generated pdf has asymmetric margins. That is, the left margin is way more smaller ...
7
votes
1answer
308 views

Full-width figure, odd/even pages + margin

situation I'm using the memoir class, two-sided. I left place for margin notes. Thus the text block is not at the center of my "sheet of paper" and this non-central position is different for odd and ...
0
votes
1answer
48 views

Equation formatting (alignment) [closed]

According the question I have written the file but I got something wrong. Can you please check? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &\begin{aligned} ...
3
votes
1answer
4k views

Lyx - change margins for one page or one paragraph

Is it possible in LYX to change the margins for one page or one paragraph only ? I am trying to insert logos that need to be closer to the sides of page. Thanks !
5
votes
1answer
324 views

Longtabu total width, fixed left margin

I'm trying to make a longtabu that is wider than the textwidth at a certain moment. I've tried different things always ending up with a different problem: First possibility: If I use the adjustwidth ...
7
votes
1answer
451 views

Set margin background colour for all chapter pages

Problem The \setupbackgrounds macro has the ability to change the background colour of the margins, from the top of the page to the bottom: \setupbackgrounds[footer,header,text][rightmargin][ ...
6
votes
2answers
210 views

Eliminate topspace and bottomspace in ConTeXt

Background Looking to put the page number flush to the bottom of the page using ConTeXt. The key lines in the Minimum Working Example (MWE) below are: \setuplayout[ topspace=\zeropoint, ...
3
votes
1answer
7k views

How to make a caption (via \captionof and extra margins) adhere to minipage margins?

I made use of the caption-package to define a custom layout of the captions. Their width is set to 0.8\columnwidth. As far as I understood the problem, this measure is not used when the caption is set ...
5
votes
1answer
87 views

How to nicely do margin figure that goes into text block and wraps?

I want to create something like this: However, when I look at how I did it I feel dirty all over: \documentclass[10pt]{memoir} \usepackage{wrapfig} \usepackage{lipsum} \usepackage{graphicx} ...
2
votes
1answer
160 views

Problem with geometry and headers

I am trying to setup the margins such that from the top of the header text and the bottom of the footertext there is exactly 1.5cm space. I was not able to achieve this so far and I would highly ...
1
vote
1answer
253 views

How to obtain golden ratio for KOMA article class

I use \documentclass[11pt,captions=nooneline]{scrartcl} and I would like to know how I can achieve better margins than default. Apparently, the typerea package can help but I find the documentation ...
7
votes
1answer
914 views

Page Layout in plain tex

I'm trying to start using plain tex (in fact, the pdftex that comes with texlive2010) to write a document but I'm having some trouble with the page layout. My question is at which point is it decided ...
2
votes
0answers
544 views

center align 2x2 plot of subfigures [duplicate]

I've got a 2x2 plot of subfigures that is too wide to fit within the margins of a page. Latex left aligns it and the right hand side goes off the page. I would like to center align the whole thing ...
0
votes
0answers
42 views

Variable header height [duplicate]

I want to create invoices with LaTeX, and they need a header (containing some company information and maybe a logo) which must be repeated on every page. My problem is that I do not know the header ...
6
votes
1answer
375 views

Headers with vertical rule with Koma-Script

I am trying to obtain the following headers with scrbook: numbers half-way into the margin, a a rule that extends up to (touches) the upper edge of the page, running heads should be within text ...
20
votes
5answers
2k views

Different margin on first page

To meet the conditions of our corporate design I need other margins on the first page of each document. The normal page layout is given by \usepackage[left=3cm,right=2cm,bottom=3cm,top=2cm]{geometry} ...
5
votes
2answers
544 views

How to set colored ruled margins for some pages?

How this can be done for ALL pages is explained in this thread: How to set colored ruled margins for different pages? But I would like to know if it is possible to color the margins only for some ...
2
votes
1answer
178 views

How to prevent offsetting a margin?

I have basic class file and I would like to use fancyhdr. Here is the markup of some-class.cls: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{some-class}[2013/07/29] ...
0
votes
1answer
135 views

Text missing from top of page: margins?

When building and viewing LaTeX > PDF on TeXnic Centre, I am having run-over paragraphs missing the first line of text. (by run-over I mean paragraphs that move onto a new page due to a pagebreak ...
5
votes
1answer
87 views

Is there any other margin I must set to reduce margin to zero?

I have basic class file and I would like to set margins of an a4paper to 0mm. Here is the markup of some-class.cls: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{some-class}[2013/07/29] ...
1
vote
1answer
2k views

Insert pages from a PDF file to fit at the entire page using \includepdf

I want to insert every page of a PDF file so I used: \documentclass{customized_class} \begin{document} \usepackage{pdfpages} \includepdf[fitpaper,pages={-}]{filename} \end{document} This works fine ...
3
votes
1answer
668 views

Correct \newgeometry retaining preamble settings

I am writing a 350-400 page document using the report document class. The entire document uses the oneside flag as per regulations however I need the document to switch to twoside at a certain point. ...
4
votes
1answer
176 views

wrong twoside margin

I am using the twoside margin in a book classes but I have inverse margins. On odd pages left margin is wider than the right one and viceversa on even pages. It is a subclasses, I attached it below, ...
3
votes
1answer
263 views

Full width table with caption in refman doc

The refman document class has a big left margin for text. Only the headings are on the normal left margin. Perfect for what I'm doing. But I have a wide table (float) that must be centered on the ...
2
votes
1answer
250 views

Setting \textwidth when using newlfm

I want to set the width of the text in a letter that uses the newlfm package. Take the following basic example: \documentclass[a4paper,12pt]{newlfm} \usepackage[english]{babel} ...
2
votes
0answers
30 views

Bottom margin overflow while using a figure and a table [duplicate]

I'm using Markdown and Pandoc to create LaTeX PDF Documents. In the progress I encountered a margin overflow. I could reduce the problem to a small example file. The problem seems to occur when the ...
2
votes
1answer
829 views

Geometry package causes LaTeX to raise strange error

I'm trying to submit my PhD thesis and everything is OK but the page layout. When I try to use geometry package by issuing \usepackage[top=3cm, bottom=3cm, left=3.5cm, right=2.5cm]{geometry} but it ...
9
votes
1answer
670 views

Mdframe environnment on multiple page : top margin

I am using mdframedd for examples in my report. The frames are split on several pages. My problem is that on the second page the frame doesn't have any top margin. And this is very ugly. Here is my ...
5
votes
1answer
270 views

\marginpar trick: not considered as float

I've found on the net a useful trick that does exactly what the title says. This is the code: \newcommand{\mymarginpar}[1]{% ...
2
votes
2answers
184 views

Margin in output document generated by asymptote

In the following figure, generated using asymptote, I am getting a PDF file while compiling in a LaTeX document. Labels and angles in crystal structure using Asymptote The problem is, there is huge ...
2
votes
1answer
137 views

Side Margin of a Paper

In many journals it is said to maintain "81/2-by-11 double-spaced typed pages". This means how many inch margin? That is what is the value of x in \usepackage[margin=xin]{geometry}?
1
vote
0answers
41 views

How to change LaTex paper left, right, top and botton margins? [duplicate]

I just want to change the paper left, right, top and botton margins in LaTex because I think the default margins isn't enough.
8
votes
2answers
170 views

Add a marker to the left of the text

I want to mark certain points in my text by adding a marker 0.5cm outside the left margin of the text (at the hight of the point that is to be marked out). The marker is drawn with tikz but could ...
7
votes
1answer
289 views

In the geometry package, what's the practical use of setting heightrounded=true?

In the geometry package, what's the practical use of setting heightrounded=true? The documentation says sth about avoiding cases of "underful vbox", but I don't see why I need to worry about it. When ...
1
vote
2answers
685 views

Page width problem in CV (Koma-script)

I am trying to compile my CV using the scrartcl document class. I am struggling a lot to reduce the margin on the right side of the page. If e.g. the university name is too long, it will follow on the ...
5
votes
2answers
367 views

How big should margins be on a typographically (and visually) pleasing CV?

Given that neither Why are default LaTeX margins so big? nor LaTeX template for resume/curriculum vitae explicitly touches on this topic, I'd like to close a gap in my understanding: How big ...
1
vote
1answer
270 views

How to to set a padding around the page body, draw a frame/border around it, and then add some margin?

What if I want to set a padding around the page body (on all pages), draw a frame/border around it, and then add some margin? The geometry package doesn't seem to have an option for this among its ...
2
votes
0answers
471 views

Margin Changes in the Table of Contents (memoir class)

The upper margin is supposed to be 1" throughout my document. In the table of contents it changes from 1" to less than 1". How may I make it consistent? Note: I am using the pwasu.sty style file from ...
4
votes
2answers
126 views

Setting Margins like in the attached file

I need you help because the command about setting margins are driving me crazy. I need to produce an output like the file here http://www.dmi.unict.it/~difazio/PROVA_Bontempi.pdf Please, could ...
4
votes
1answer
225 views

Double Spacing and Margins conflicting

I've got \usepackage{setspace}, and I'm having issues with my margins. When I use \doublespacing it adds a blank line before the first line of text on each page. Is there any way to have double ...