{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
2answers
388 views

How can I determine the actual inner and outer margins

I somehow have the feeling this is a dumb question, but I just can't find anything :-( How can I determine the actual values of the inner and outer margins of my document, or still better: the right ...
5
votes
2answers
3k views

Margin notes on both left and right?

I've been trying to put margin notes in both the left and the right margins at the same time. My attempts have gone something like: Lorem{\reversemarginpar\marginpar{Left}} ipsum ...
8
votes
2answers
229 views

Page number in the margin and separator

I want to produce this kind of header. My first attempt includes the use of fancyhdr package but still I can't figure out how it is possible to move the page number in the margin and put the | bold ...
3
votes
1answer
216 views

KOMA-Script: Adjust text region based on header height

I'd like to put an image into the headline using scrpage2, but the text runs through the image, because the height of the headline seems not to be adjusted. The KOMA-Script documentation doesn't seem ...
0
votes
0answers
48 views

Dimensions of the pages [duplicate]

I have used the simple dimensions top, bottom, left and right to scale all pages of my document with the geometry package. Suppose I want a few pages with different scaling and a few pages with ...
4
votes
1answer
507 views

First page bottom margin problems — fancyhdr / geometry

Can anyone please help me understand why the bottom margin on the first page spills over if I only use the geometry definitions inside the square brackets of \usepackage[]{geometry}; however, placing ...
0
votes
1answer
289 views

Bad margins while printing

I'm using geometry package like this: \usepackage[landscape]{geometry} \newgeometry{twocolumn, left=0.25cm, right=0.25cm, top=0.8cm, bottom=0.4cm} and fancyhdr package like this: ...
7
votes
3answers
1k views

My footer disappears when I increase headheight

I have created a custom simple layout with the fancyhdr package. Because the header I must use is somewhat big, LaTeX instructed me to increase the headheight to at least a minimum value. The problem ...
8
votes
1answer
794 views

How to get XeLaTeX do proper hyphenation and full justification?

I want to use XeLaTeX to design a paperback (11x19cm) using Adobe's Garamond and Myriad as custom fonts. It is entirely written in German. However, both hyphenation and full justification are a mess: ...
3
votes
1answer
635 views

How can I integrate matplotlib plots with pgfplots?

The python plotting library matplotlib will by default add margins to any plot that it generates. They can be reduced to a certain degree through some options of savefig(), namely bbox_inches='tight' ...
4
votes
1answer
232 views

Headings run into the right margin

I am using TexMaker to prepare my PhD dissertation and this is actually my first real experience with LaTeX! I am using titlesec to customize my headings. However, for some reason, some of the ...
0
votes
1answer
183 views

Problems shrinking margins with fncychap and memoir class

Hullo all. I am typing/editing a doc using the memoir class and Bjornstrup fancy chapter headings. Whenever I try to adjust [shrink] the margins using the geometry package, 'odd' things happen: the ...
2
votes
2answers
955 views

What would the equivalent \setlength commands be for letter and A4 paper?

If one were type setting a business letter on A4 paper he might use: \setlength{\textheight}{215mm} \setlength{\textwidth}{160mm} \setlength{\oddsidemargin}{0pt} \setlength{\topmargin}{-20pt} ...
0
votes
0answers
56 views

table of content, list of figures, list of tables in oneside in a twoside thesis [duplicate]

I am writing my thesis in twoside documentclass, but I want to put the table of contents, list of figures, list of tables and other frontmatter in oneside. I have been searching the google for many ...
39
votes
1answer
713 views

different type areas on even/odd pages

in some (very rare) cases, it might be desirable to have the type area, particularly the text width, be different on even and odd pages. Let's say we're typesetting a textbook that's supposed to have ...
1
vote
2answers
302 views

Custom geometry for a first chapter page?

On normal pages I have header and no footer. On first chapter page -- I have footer (with page number) and no header. Hence I need: \newgeometry{top=2cm, bottom=1.2cm, left=1.5cm, right=1.7cm} for ...
4
votes
1answer
2k views

Odd-even margin

I am writing a book and I need to set the odd/even margin on the binding side. \usepackage[top=2cm, bottom=2cm, left=1cm, right=1cm, headsep=14pt]{geometry} I need left = 2.1cm for odd pages and ...
2
votes
1answer
127 views

Typesetting the same content in every margin

I'm creating a class for meeting notes and I'm hoping to put the word 'Notes' and possibly lines for people to write on once the meeting notes have been printed out. How would one get the class to ...
1
vote
0answers
411 views

How to remove right margin space in modern cv? [closed]

I am new to LaTeX and am preparing my resume using moderncv template. I changed most of the settings to suit my requirements except that I was unable to get theenter code here huge right side margin ...
2
votes
1answer
158 views

Changing margins removes page number

I've used \newgeometry \restoregeometry to change the margins of one page so I can fit two images onto it. However as a result of this, the page number for that page has disappeared. The page is still ...
0
votes
1answer
508 views

Problem setting margins in memoir

I'm trying to setup the layout of my thesis and margins seems to be a little off what I'm expecting, I'm using memoir and I'm trying to setup all the variables of page layout so nothing wont go ...
5
votes
2answers
895 views

Why does the \marginpar not appear on the left page?

I am working on a book right now and the margin notes are not appearing on the left-side pages. I tried using mparhack but it made no difference. Is my geometry, fancy style or another package ...
2
votes
0answers
248 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
1k 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
247 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
121 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
240 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
616 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
225 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
939 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
130 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
432 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
274 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
636 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
9k 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
460 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
535 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
207 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
163 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
593 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
464 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
1k 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
759 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
837 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
237 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 ...