{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

0
votes
1answer
79 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
213 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
340 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 ...
6
votes
1answer
182 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
40 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
1k 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 !
4
votes
0answers
192 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 ...
6
votes
1answer
292 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
144 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, ...
2
votes
1answer
1k 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
57 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
101 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
161 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 ...
6
votes
1answer
405 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
539 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
39 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 ...
0
votes
0answers
91 views

How can I change the left and right margins of the list of algorithms?

I am using the algorithm package and have a list of algorithms. How to change the left and right margin of the lists? I'd like both and right margins to be 1pt wide.
6
votes
1answer
231 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 ...
19
votes
5answers
802 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} ...
4
votes
2answers
229 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
134 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
81 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
65 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
366 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
0answers
359 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
90 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
114 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
125 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
29 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
329 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 ...
8
votes
1answer
345 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 ...
4
votes
1answer
175 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]{% ...
1
vote
2answers
126 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 ...
0
votes
0answers
42 views

Global document margins affecting \includpdf offset

I have a main document and appendices. The margins are set up as follows for odd and even pages: \usepackage{vmargin} \setmarginsrb { 4cm} % left margin ...
2
votes
1answer
93 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
38 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
112 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
127 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
314 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
289 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
172 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
276 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
101 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
141 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 ...
4
votes
1answer
251 views

List of tables and List of figures right margin

In the list of tables and figures, how to set the same right margin for all lines of all the items? As an example, the following MWE: \documentclass{article} \newlength{\largNum} ...
3
votes
2answers
300 views

How to create different margins for odd and even pages?

I'm trying to create a document that has different margins on even and odd pages. This is what I've tried: \documentclass[a4paper,12pt]{article} \usepackage[slovene]{babel} ...
5
votes
1answer
174 views

Change margins in a0poster class

I want to make a poster using the a0poster package. I want to modify the text margins, so the text should be wider. I'm using boxes in a portrait, three column poster, but I have problem trying to get ...
4
votes
1answer
71 views

Unexplained Gap?

I'm trying to make a resume CV document, using a various packages for certain things. I'm not sure if I'm not noticing a conflict in these packages, or I'm being stupid when or comes to margins or ...
4
votes
1answer
185 views

Margin vertical rule on outside margin of twosided memoir

So I have found this code which puts a rule inside the left margin. How can I get the code to switch to the outside margin on a two sided document? I can't locate the original post, as it was on ...
5
votes
2answers
219 views

Custom border for glossary and index pages

I'm preparing a technical book in Latex using KOMA script srcbook class and I would like to add a gray border ONLY to glossary and index pages. The idea is to make them easy to find when the book is ...