{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

2
votes
0answers
245 views

Compiling same project gives different result after 2 months [closed]

Ok, here's the deal. In December I finished writing a long document. I compiled it and went on vacations. I get back and after 2 I months compiled the exact same project with absolutely nothing ...
4
votes
0answers
959 views

Attempts to manually change \linewidth ignored by LaTeX [closed]

I was going to try to answer the question: How can I change the geometry of a page on the chapter header page only, and return to normal on the next page? It didn't seem like it should be too ...
4
votes
1answer
243 views

How can I change the geometry of a page on the chapter header page only, and return to normal on the next page?

Edit: It would appear that I wasn't clear in my reasoning as to why I wanted to do this.. I would like to design a way that I can have a chapter intro page that is full width, so I can fill it up ...
0
votes
0answers
39 views

Weird whole page indented and my goto preamble [duplicate]

The first page of my documents, after the title page is indented, relative to the whole document, ... I can't figure out why. Below I pasted a copy of my preamble. And I a new user of TexWorks, so ...
1
vote
1answer
120 views

LaTeX CV, change pagenumber position

I am preparing my CV in germany using the currvita Package. Unfortunally the pagenumbers on the bottom of the page are not really at the bottom of the page. There is something like 5 cm between the ...
0
votes
1answer
232 views

How to get minipage to fill remainder of width up to right margin?

I'm trying to design a custom question\solution environment for homework assignments (I'm aware of the exam class but I am choosing to try and make my own) and am having problems with the alignment. ...
2
votes
1answer
600 views

margin note left of an equation? [closed]

How is it possible to place a margin note left of an equation? I'm using scrartcl from KOMAScript. I set \reversemarginpar, then I tried with \marginnote from the package marginnote and also with ...
3
votes
2answers
2k views

Set different margins for even and odd pages

I have a class file for my document where I have declared margins: \setlrmarginsandblock{3.5cm}{2.5cm}{*}% with the left one bigger. But I wanted odd pages to have a bigger left margin and even ...
3
votes
1answer
215 views

ifsym package problem

I am using a template from the following web-page: Template of Latex I came up with a problem where I want to use "ifsym" package symbols and I could not get them. Actually, I want to use a symbols ...
21
votes
1answer
1k views

Is there an overview of Beamer's slide (page) geometry anywhere?

I find this classic figure of LaTeX's page geometry very helpful: Source: http://commons.wikimedia.org/wiki/File:Latex_layout.svg Now, I am fiddling with some beamer slides and I could really use ...
9
votes
1answer
908 views

Printing on A4 - standard classes vs. KOMA-Script classes

As I'm located in Europe the standard paper size is A4. So far I was normally using either \documentclass[a4paper]{article} or even simply \documentclass{article}. Recently I spotted sections (1.1) ...
6
votes
1answer
128 views

Is there an option to trim the remaining whitespace to the right?

\documentclass{article} \usepackage[active,tightpage]{preview} \PreviewBorder=12pt \begin{document} \begin{preview} $ \frac{1}{3}=0.333\ldots \Rightarrow 1=3\times\frac{1}{3}=3\times ...
3
votes
1answer
412 views

How to add binding space to memoir twoside

I'm using the LED template to MSc which uses memoir twoside. I need to print it and it requires extra margins for binding. How do I simply add the extra space on the spine side of the page? ...
3
votes
1answer
256 views

Custom vertical page border

I wanted to have a vertical colored bar running on all my pages, to the left of the page, in between the beginning of the sheet and the beginning of the text. Something like: |\| text | |\| text ...
1
vote
1answer
608 views

problems with different margins for odd/even pages and openright does not work

I have two problems. The inner and outer margins on odd pages are different from those on even pages. On even pages the inner margin is a lot bigger. Desired outcome: bigger inner margin on odd ...
3
votes
1answer
8k views

How can I change the margins in LaTeX? [duplicate]

How do I change the margin of all pages? I want the latex page be .25 in margin around all the pages.
3
votes
1answer
440 views

Change behavior of geometry for all pages

I'm using the llncs document class and wanted to change the margin of all pages, using the geometry package. I use the following command: ...
2
votes
1answer
2k views

how to position pdf with \includepdf in book, also depending on even/odd page

I am writing my thesis for which we have specific requirements regarding the paper size. This is what I have at the beginning of my thesis file: documentclass[a4paper]{book} \textheight=175mm ...
2
votes
2answers
508 views

Table out of margin

I created this table using siunitx package since values must to be represented in scientific notation. Unfortunately the table goes out of margin. How can I fix the issue? ...
1
vote
0answers
198 views

CD Booklet: variable margins between pages in pdfpages

I am trying to print a CD booklet, that will be stapled in the center of the pages. To that end I am printing the pages double-sided on a4 paper and cut them. When there are more than a few physical ...
4
votes
1answer
159 views

Enforcing writing across full width of page whilst using the res document class

I am using \documentclass[margin]{res} to display the section titles of my document to the left of the body text and the section{Section_name} command works fine. However, I would like for some ...
14
votes
2answers
561 views

Inserting a line to separate the text and the margin note

How can I insert a vertical line through a whole page to separate the text and the margin notes?
3
votes
2answers
447 views

Bug in Bjornstrup style of fncychap (the second line does not stretch until the end)?

I am using the \usepackage[Bjornstrup]{fncychap}. The problem I encountered is shown in figure . How can I fix it? I tried changing the style file from: 409 \addtolength{\mylen}{-2\myhi} to ...
11
votes
1answer
955 views

Why are odd pages left pages?

I'm typesetting a friend's novel using LaTeX (in my actual document I'm using memoir, but the same happens if I just use book). It's possible I'm going crazy, but I'm sure that it's setting up odd ...
3
votes
1answer
734 views

How to adapt classicthesis layout to B5paper and Linux Libertine

Question says it all: I am using classicthesis with XeTeX to typeset my PhD thesis. I want to use B5 paper size (176 × 250 mm) and the beautiful Linux Libertine font. I'm wondering how to calculate ...
2
votes
2answers
800 views

KOMA-Script unequal left/right margin

I'm using the following header \documentclass[fontsize=11pt]{scrbook} \usepackage{amsmath,amssymb,amsfonts,hyperref} \begin{document} \large %%% Header %%% \title{My Title} \author{John J. Johnson} ...
2
votes
2answers
2k views

Negative top margin

This is the header of a TeX file that I'm currently using: \documentclass{article} \topmargin -0.5in \textheight 9in \oddsidemargin 0in \evensidemargin 0in \textwidth 6.4in \usepackage{amsmath} ...
1
vote
1answer
235 views

geometry options problem

I am using geometry package with \LoadClass[twocolumn]{article}. But when I use geometry, the options for left,right,top,bottom are effecting only in even pages not in odd pages. How can i change ...
4
votes
1answer
136 views

Make text in the margin selectable “columnwise” (marginpar, todonotes)

When including marginpar and/or todonotes marking text in a PDF viewer always selects the body of the text and the note together: Some of us unfortunately have collaborateurs not using LaTeX and ...
3
votes
1answer
107 views

page layout problem

I have a knotty (at least for me) problem to solve. I do apologize, I'm a beginner. I'm trying to find a solution to misalignment. My document is as follows: page 1 xxxxxxxxxxxx xxxxxxxxxxxx ...
8
votes
1answer
5k views

Correct way to set margins

I set the margins of my document in this way using the geometry package \usepackage[left=2.5cm,top=3cm,right=2.5cm,bottom=3cm,bindingoffset=0.5cm]{geometry} Is it a correct way or does there exist ...
2
votes
1answer
706 views

How to avoid text overflowing below bottom margin?

My document contains a title page followed by some text. In order to create my title page, I have to change the page margins on the title page using \newgeometry, and after the title page I return to ...
3
votes
2answers
685 views

How to change page margins but keep the placement of the pagemark?

I use the package geometry to adjust the page margins for my needs. However, the first page should be different. To accomplish this, I used \newgeometry, \restoregeometry which works fine, except that ...
5
votes
1answer
82 views

Can parcolumns be made to expand into the margins?

I recently started using parcolumns instead of block quotes. I do this since I have a non-English source text in the right column and the English translation in the left column. Is it possible to ...
6
votes
1answer
115 views

How to put stuff in the margin every first line with the listings package?

I am writting a book and I use the listings package to type some matlab code. I would like to highlight every code block with an arrow or whatever hanging in the margin at the first line. Moreover The ...
3
votes
1answer
1k views

Place image on a new page without top margin?

I have an article: \documentclass[a4paper,12pt,oneside]{article} Now in a section I have a figure: \begin{figure} \centering \includegraphics[scale=0.65]{images/rlexample.png} \caption{---} ...
12
votes
2answers
952 views

How to create twoside book with oneside margin?

I want to make a twoside book with oneside margin such: odd pages: even pages: full header, with margin figure(or table): I used tufte-book class, but cannot set margins as i need. It's margins ...
1
vote
1answer
485 views

Page margin, header and footer configuration

This is how my letter looks like \documentclass[a4paper, 11pt]{letter} \usepackage{fontspec} \usepackage{fancyhdr} \newcommand{\DocumentTitle}{Motivation Letter} \newcommand{\Author}{John Smith} ...
10
votes
2answers
715 views

How can I create a decoration that runs down one side of each page?

Hi I'm writing an ebook in org-mode that includes a separate .tex file for styles. What I'd like to do is create a box that contains the current chapter and section name on a background image that ...
2
votes
1answer
315 views

Adjust margins for BibTeX using LyX

I'm working on my thesis. Most of the new chapters etc start with a 2" margin on the first page. However, the Bibliography is supposed to start with an 1" margin. I left the document's default margins ...
9
votes
3answers
298 views

Why is there extra whitespace to the left of this standalone document when using siunitx?

I'm using the standalone document class. Here is a minimal working example: \documentclass{standalone} \usepackage[siunitx]{circuitikz} \begin{document} Hello world \end{document} The problem ...
1
vote
1answer
282 views

Change marginpar for each page

I want to be able to change the marginpar and right values for each page, depending if the page has notes or not. MWE: \documentclass{article} \usepackage[top=3cm, bottom=3cm, left=3cm, right=8cm, ...
3
votes
1answer
2k views

changing margins for a page with tables

I have a document with a table that is rather large. I have already decreased the size of the font but it still bleeds into the right margin. I would like to decrease the margins on that page so it ...
2
votes
1answer
451 views

Extend page “width” or “margin” for todonotes comments or other package comments to sit in

Basically, I would like to know how to achieve margin/width extension, similar to what Word/OpenOffice does when users insert comments. I am using the todonotes package and am collaborating on a ...
4
votes
2answers
429 views

Does \documentclass{book} by default take care of gutter for inner side of page?

I'm hoping to create a book at the site lulu using LaTeX instead of Microsoft Word, and they say: Leave at least .5" margins on all your pages. Most books will require a gutter of .2" to .3". I ...
6
votes
1answer
101 views

Without playing with “border” option of “standalone”, how to remove the top white space?

Without playing with border option of standalone, how to remove the top white space? \documentclass[preview]{standalone} \usepackage{amsmath} \begin{document} \abovedisplayskip=0pt \[ F(V, T) = ...
2
votes
1answer
124 views

How to remove indents for the initial list but indent all nested lists?

I'm trying to use enumitem to modify my lists so that they're flush to the left side of the paper but so that any nested lists are properly indented. This is what I've tried: ...
7
votes
1answer
457 views

Standard way of handling oversize pages?

In a book project, using \geometry{letterpaper}, there are occasional places where an oversize diagram has to be included — one much wider than a normal page — without being reduced or spread across ...
2
votes
1answer
179 views

left side margin in landscape the rest of paper is normal.

I need to type an exam, but the first page must have its left side margin, from top to bottom, be in landscape, but the rest of the exam is normal. The left side margin will run the entire length of ...
1
vote
1answer
984 views

Change \textwidth after first page in scrlttr2

I am looking for an automated mechanism to change the effective \textwidth at the first pagebreak of a letter in scrpage2. I've tried \afterpage and \nextpage (ideally they would be set within ...