{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
186 views

Different margins in title and chapters

I am struggling here with adapting school template for my document. The problem is that I need different margins on the title and on the chapter pages. Here is the code. On the title page is all easy. ...
1
vote
1answer
53 views

Using \extrawidth in exam class results in unwanted margin changes (per page)

I'm trying out the Exam class after seeing good things about it on this site following the guide: Using the exam document class by Philip Hirschhorn . However, I've run into some problems with the ...
4
votes
0answers
211 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 ...
4
votes
0answers
288 views

Tikz Nodes in margin gets overwritten by page-wide tikz environments

I'm trying to improve the typesetting of openly licensed books created by my company. We do the typesetting of all our books with LaTeX. The design of these books requires coloured environments that ...
3
votes
0answers
73 views

Animation on paper

I started writing my thesis and someone proposed that I could put small markings on the edge of the pages so that when someone flips the pages an animation would be shown. I would like to have the ...
3
votes
0answers
42 views

Condensing everything to force fit a page?

I have a math exam I can use three pages of notes for and I was thinking, is there a way to type a document in LaTeX that will auto adjust to fit three pages or should I just play with the font sizes ...
3
votes
0answers
118 views

Funky pdfscreen margins

You can set the margins on pdfscreen to 0pt, but when the vertical size is < 1.2in there remains a gap at the top of the page. \textheight has the correct value, and it is possible to write all the ...
3
votes
0answers
60 views

NIH class tweaks

I need to change a few settings from the NIH document-class to make my document more similar to NIH's most recent sample (ugly, I know). Having been told to leave the .cls file well alone, I'm going ...
3
votes
0answers
453 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. ...
3
votes
0answers
212 views

pgfplots trim to axis area even with extra ticklabels

I have a plot with extra x tick labels on top in pgfplots that i wish to display in a figure at the top of my page. I wish to have the top of the actual axis rectangle directly at the top, with the ...
2
votes
0answers
55 views

Typesetting with “odd-shaped” margins

I am considering a poster presentation that I would like to design using nonstandard margin shapes. Current standard essentially puts elements inside a rectangle determined by page size, header and ...
2
votes
0answers
27 views

Reducing textheight and increasing footskip does not work on first page after front page

I want to add a graphic to the bottom of all my pages apart from the front page. I am reducing textheight and increasing footskip using \addtolength{} but it does not have any affect on the first page ...
2
votes
0answers
56 views

extending captions for A3 pages

Im writing my Thesis in A4 format and sometimes I need to use A3 pages for bigger images. I managed to create a single A3 page within the A4 document and I extended the header up to the right margin. ...
2
votes
0answers
45 views

How to increase margins using a .cls file

Sorry if this an easy question (relatively new to Latex!), however I'm getting a bit confused by this pre-done .cls file which I am trying to understand. I'm trying to decrease the margins in the A4 ...
2
votes
0answers
43 views

Manually specify margins in the TOC and Title Page

I have just began my journey into latex. I'm writing my thesis with a given template. The template is big and I do not manage to extrapolating from it a minimum working examples, too many things, I'm ...
2
votes
0answers
170 views

Page layout: problems setting margins and placing footer

I am having trouble setting the correct margins for my page, especially the bottom margin in combination with a footer which includes only my page number. I feel like I'm close to making it work but I ...
2
votes
0answers
48 views

Page layout not in accordance with pdf printout

For my thesis, the rule for page layout is determined as: \usepackage[lmargin=1.5in, rmargin=1.0in,tmargin=1.0in,bmargin=1.0in]{geometry} But when I compile to produce PDF and take a print out and ...
2
votes
0answers
161 views

How to place todonotes in left and right margin?

I want to place todonotes not only on the left or the right margin. I want to use both at the same time, and that the notes should decide by themself where to place. E.g. when the note points to a ...
2
votes
0answers
99 views

beamer column footnote produces format lose.

Using the following code \documentclass[demo]{beamer} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @misc{A01, author = {Author, A. and Buthor, B. and Cuthor, C.}, year = ...
2
votes
0answers
317 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 ...
2
votes
0answers
79 views

Inconsistent margins using columns in beamer

Compare the two slides generated by the following code. \documentclass[t]{beamer} \usepackage{lipsum} \begin{document} \begin{frame} \lipsum \end{frame} \begin{frame} \begin{columns}[T] ...
2
votes
0answers
605 views

Decrease top margin of some chapters

I'm finishing my thesis in LaTeX, using class "book". I use a 1.5 line stretch with \renewcommand{\baselinestretch}{1.5}. Everything is ok, but I'd like the Abstract chapter (\chapter*{Abstract}) to ...
1
vote
0answers
62 views

How to get simple margins of 2cm?

I have been trying for several days to get simple margins like a Word Document. I have started to learn latex 1 month ago, so Im not very familiar with its strange margins !! Anyways, I would like to ...
1
vote
0answers
26 views

Problem with enumerate and margins

I have a problem with the automatic enumeration and thus I need some help. Specifically, adding the code \begin{enumerate}[label=\bfseries Πρόβλημα \arabic*.] \item Αν $a,b,c$ είναι θετικοί ...
1
vote
0answers
31 views

How remove margin in a paragraph that continues in two pages with different margin?

I've created a document whose margins have different odd and even pages. I want to write a paragraph with no margin in two pages runs. If I use the command \newgeometry new paragraph starts at the ...
1
vote
0answers
47 views

control margins with geometry or fullpage

Is there a better way to set \topmargin -1.5cm \textwidth 15.5cm \textheight 23.5cm \oddsidemargin 0.7cm \evensidemargin 1.2cm perhaps using \usepackage{geometry} or \usepackage{fullpage}? What are ...
1
vote
0answers
41 views

Horizontal placement of graphic in left and right margins

I want to place small graphics in the outer margins of my 2-sided document. I've been using, e.g., \marginpar[{\hfill \includegraphics[scale=.3]{figures/ivy-univ.png}\hspace{8 pt} }]{ ...
1
vote
0answers
40 views

How to change the default top margin for an invoice?

Here is what I've got: \documentclass{letter} \newcommand*{\BottomLeftX}{1.0in+\hoffset+\oddsidemargin}% ...
1
vote
0answers
51 views

Unequal margins for two column document

I am trying to create a conference paper using template provided here: http://iel.ucdavis.edu/code/ASME/conf-1.7b.html But, when I compile the document, the right margin(for the document) is much ...
1
vote
0answers
92 views

KOMA-Script/Twoside > Extra right margin on odd and even page :-S

I'm trying to use KOMA-Script with scrbook class but whatever I do, I always have an extra margin on the right of every page. Does anyone have an idea to strip of this space ? Here are some ...
1
vote
0answers
233 views

Changing margin size with \addtolength command

I am trying to make the margin narrower and use the command \addtolength{\hoffset}{-0.5cm} and \addtolength{\voffset}{-0.5cm} I have used the package calc, but there is still an error message saying ...
1
vote
0answers
178 views

Typesetting Classicthesis without margin notes

I am using classicthesis-v4.1 Lyx template for my thesis. I know that it is not advisable to make many changes in classicthesis.sty but I don't want to use the margin notes option in it. I tried the ...
1
vote
0answers
76 views

How to force natbib citation to respect general page margins

When citing with double surnames in 'Harvard style' with the natbib package, it sometimes happens to have the start of the citation at the end of one line. It seems that natbib doesn't allow ...
1
vote
0answers
34 views

Margins- table how do i put the table inside the margins

This is my code, i don't know how to write a tabel on my own yet, so i used an online maker to do this, how do i make sure that the table won't go over my textwidth? \begin{table}[h] ...
1
vote
0answers
168 views

A5/B5 papersize book with margin notes

I am trying to make a diary that will have a book-like page structure with side notes in A5/B5 paper size. I was able to create the style I want, but it can only be applied using an article ...
1
vote
0answers
69 views

Marginal enumeration not in the margins

Based on an answer to one of my previous questions, I implemented the following code which is supposed to enumerate examples discretely in the margins of my document: \documentclass{memoir} ...
1
vote
0answers
94 views

Spacing within a box, relative to the page

I am attempting to place a textbox precisely 75mm from the top edge of a page (to correspond with a cut-out on the cover). On printing this out, I noticed I was getting positioning problems, so got ...
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 ...
0
votes
0answers
38 views

Remove margin text from classic-thesis

How can I remove the margin text from classic-thesis style?
0
votes
0answers
41 views

Twoside margin width. How to take into account binding?

I came here to understand why latex had this "odd" habit to set the outer margin wider than the inner in two sided documents. As many have asked before me, I expected the inner margin to be wider to ...
0
votes
0answers
23 views

Indenting in a description environment margin problem

I have a problem with the solution in this post if I don't want bold text for the items. I changed the code as described below. But the text of the item (e.g. Animal1:) is now in the left margin of ...
0
votes
0answers
25 views

Bottom margin seems optional to LaTeX - text alignment doesn't always go to bottom

I apologize, if I'm missing something simple here, but I'm attempting to meet graduate school dissertation formatting requirements after (almost) finishing a PhD and I'm running into bottom text ...
0
votes
0answers
44 views

Changing margin widths

For my thesis I HAVE to have the following margins when the document is printed off: Top=2.5cm Bottom=2.5cm Left=3.2cm (this is to fit a spiral bind) Right=2.5cm Any help on how ...
0
votes
0answers
67 views

Em dash out of right margin

I am almost sure this question was already asked somewhere (I couldn't find it). Still why my em dash and the word proceeding it are typeset out of margins? the source is proliferation---nextword ...
0
votes
0answers
39 views

Increase algorithm distance to margin

I've been using \vspace to increase or decrease the vertical distance of figures to the margin, but I found out it doesn't work inside and algorithm evironment. Is there an alternative or workaround ...
0
votes
0answers
32 views

marking conditional versions with line in margin #2

I faced with a problem how to mark a new or a corrected text for my co-authors. A time ago Matthew Leingang asked a similar question and got the receipt. The receipt didn't work for me, however. Can't ...
0
votes
0answers
105 views

Reduce whitespace or margin before listofalgorithms command

I'm at my wits end on this one. I have a list of algorithms page that I want formatted the same way as my ToC and ToF. What I have currently is pretty close except that the List of Algorithms title ...
0
votes
0answers
83 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, ...
0
votes
0answers
180 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, ...
0
votes
0answers
101 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.