{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

3
votes
1answer
492 views

Header and Footer offset in Exam Document Class

I am using the exam document class and I want to implement a layout where the headers and footers span over both the text body and the margins. I tried using the \fancyhfoffset command from the ...
0
votes
0answers
97 views

How to put a symbol always in the right margin, even in twoside mode, like line numbers of lineno?

I discovered the package lineno which in twoside mode of the class article can force to put the line numbers on the right. I really like that because I want me QED symbol to do the same. Currently, ...
3
votes
1answer
294 views

How to use one-sided pages formatting in classicthesis without shifting title page?

I'm using the classicthesis package with the template provided on latextemplates.com (http://www.latextemplates.com/template/classicthesis-typographic-thesis) to write my MSc thesis. I am required to ...
5
votes
1answer
223 views

Specification of the Layout for Q-A Reference Cards (Flashcards, Visual Cards)

I'm relatively new to LaTeX and I've used Microsoft Word so far for virtually all work with documents. For college, to use own question-and-answer reference cards, I decided once to split a portrait ...
1
vote
1answer
289 views

“Package xkeyval Error: value `no' is not allowed.” while working baposter

I faced the same problem as the author of an older question - I got following message in my log: ! Package xkeyval Error: value `no' is not allowed. See the xkeyval package documentation for ...
4
votes
3answers
959 views

Problem with margins using amsart and geometry packages

I do not want different margins on even and odd sides, I just want the usual page setup from the amsart package. However, consider: \documentclass{amsart} \usepackage{geometry} \usepackage{lipsum} ...
2
votes
1answer
241 views

Knitr plotting outside margin

I like the look of plots that extend beyond the margins \documentclass{article} \usepackage{lipsum} \usepackage[demo]{graphicx} \begin{document} \begin{figure} \centering ...
1
vote
1answer
130 views

Bottom margins for two title pages are not equal

For thesis it is needed two title pages but in my code page layouts are not equal. Problem is in the bottom of the page. the part of the code is: It is the cls file. Update: the problem is with the ...
8
votes
5answers
476 views

Fixed Sized Grids

I'm trying to create a latex document that is split up into grids that will match up with the dimensions of perforated paper. The dimension of each block is height: 38mm and width: 70mm. This should ...
0
votes
1answer
458 views

ClassicThesis to B5paper [duplicate]

I'm using ClassicThesis v.4.1. for my Thesis. The thesis should be published in B5 size. How do I adapt classicthesis (A4) to B5? I have tried ...
0
votes
1answer
210 views

Problems with the title and the margin in LyX

I have prepared my document and when I created the PDF I realized the problem I got with one title and the right margin. This is out of the margin. How can I fix this? (I am new with LyX)
4
votes
1answer
61 views

Location of the numeration in the text

I been looking to see how to put the location of the numeration of the different sections to one side of the margin, something like this. As you can see the numeration is "before" of the beginning ...
0
votes
1answer
97 views

problem with longtable in landscape orientation in a twocolumn mode document

I have some trouble formatting a long table in landscape orientation using a predefined document class (provided by a journal editor): - the standard page size is shrunk: the height of the page (width ...
2
votes
1answer
239 views

Header and margins

I would like to set a thicker header line I want to have a larger margin from the top and the bottom of the page. I have a problem with the header, which takes the name of my section which is two ...
3
votes
1answer
235 views

Lost control with \marginpar

I want to include marginal notes only on the left side of a large document. (For your information, I have included all the packages listed in the preamble of the document in the following minimal ...
3
votes
1answer
2k views

What do headheight, headsep, etc. do in the vmargin package?

In the vmargin package, the \setmarginsrb command sets margins, among other things, with this syntax: \setmarginsrb{left margin}{top margin}{right margin}{bottom margin}% ...
0
votes
1answer
82 views

Problem with margins

I need to set margins. The odd pages should have left margin 3.5 cm and right margin 2.5 cm. The even pages should have left margin 2.5 cm and right margin 3.5 cm. I tried to do it but for example by ...
4
votes
2answers
1k views

in Beamer, how to remove left margin/indent of a description list

I have a two column frame with a plot one the left, and a description list on the right \begin{columns} \begin{column}{.4\textwidth} \begin{center} ...
5
votes
1answer
168 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
198 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
250 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 ...
0
votes
0answers
226 views

Picture and caption going out of margins using wrapfig

I'm using wrapfig to put a picture side-by-side with text. It happens that it going after the margins and I want it to stick inside them. here's the code, \documentclass[12pt,a4paper,titlepage,final, ...
3
votes
1answer
68 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
79 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
106 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
131 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
190 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
112 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
350 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
664 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
268 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
45 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
270 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
392 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
188 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
5k 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
80 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
133 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
226 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
726 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
543 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 ...
0
votes
0answers
108 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
322 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
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
426 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
163 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
110 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
80 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] ...