{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

4
votes
0answers
35 views

Geometry package unexpected interaction with global twoside option and baselinestretch

The gif animation is obtained with the following tex code (by commenting out and restoring the corresponding parts of the preamble) and demonstrates that if twoside option is supplied as a global ...
4
votes
0answers
374 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 ...
3
votes
0answers
39 views

linebreaking of name-year citation style in arxiv version

I was trying to submit a manuscript to the arXiv using the imsart package: see here. I am using the name-year citation style, and it works well in my own tex compiler. However the version that the ...
3
votes
0answers
126 views

Changing top margin for second page only? \vspace inserts extra whitespace

I am trying to format a LaTex template for pandoc output from .md to pdf. The document is for lengthy university papers requiring very specific layout. The majority of the paper has 1 in margins all ...
3
votes
0answers
232 views

How to set a binding offset with tufte-book class?

I'm typesetting a book using the tufte-book class. For printing I need to set a binding offset (say, 0.5in). However, I can't seem to get this to work using the geometry package settings as one would ...
3
votes
0answers
163 views

Equal horizontal margins in memoir and article class - not equal if you get out the ruler

I am trying to get equal horizontal margins in a memoir class document. But I can't get the margins to be exactly equal, and this problem doesn't seem to be limited to the memoir class. All of the ...
3
votes
0answers
107 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
64 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
175 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
332 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
129 views

How to set proper paper margins?

I am trying to send a paper to a conference with specific margin requirements. I use the geometry package to define the margins. \usepackage[papersize={8.5in,11in}, left=1in, right=1in, top=1in, ...
2
votes
0answers
48 views

Why is my text going over the margin?

I have written a paragraph of text and one line is protruding out into the right margin. I am completely baffled, can anyone help? My text is thus "... cohomology of the base manifold. These ...
2
votes
0answers
30 views

Small adjustments in formatting to make my work fit on an integer number of pages

Suppose I am doing some work which does not have very tight formatting restrictions. My work goes a little bit over 2 pages, but, if I change the margins from 1 inch to .97 inches, the work fits on 2 ...
2
votes
0answers
50 views

Trying to print to 11x17 as a book, but scale pages with booklet, margin problems

I'm trying to print a book to be bound in signatures for a finished size of 6x9 inches. My printer duplexes but only prints 11x17. I used the booklet package and set source to 6x9, but when the ...
2
votes
0answers
51 views

List spacing being ignored in parcolumns enviroment

I am trying to make a 2 column resume using parcolumns but I am having a problem where any changes I make to the itemize or description environments are ignored if they are inside the parcolumns ...
2
votes
0answers
78 views

braces marks with \framed & \tikz

I'm trying to mark some paragraphs with boxes, braces, brackets or parentheses coupled with notes in margin… My first test was using \makebox & minipage according to this discussion as you can see ...
2
votes
0answers
94 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
225 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
146 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
75 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
70 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
401 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
56 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
168 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
497 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 ...
1
vote
0answers
20 views

Minted. Code highlighting right margin

I use minted for Python code, but with the long lines, instead of adapting to the document text width, it expands to the right without any kind of margin, and the code that doesn't fit, just does not ...
1
vote
0answers
33 views

How to make a new figure environment that does additional stuff?

Currently I have a document in which most caption of figures and tables is placed in the margin, using mcaption. But for some figures and tables I need the full width (textwidth and margin). Both ...
1
vote
0answers
18 views

Flexible space above and below an environment

I have used the amsthm package to define a new environment as follows: \newtheoremstyle{examplestyle} % name of the style {10pt} % space above {10pt} % space below {\normalfont} % font of body ...
1
vote
0answers
43 views

Adjust Margins in {res} while maintaining layout

I am composing a resume based on the style file and example CV from "Latex template for creating a CV/Resume", which I found at ...
1
vote
0answers
42 views

Caption settings before and after loading caption package

Why do captions look so different after the mere loading of the caption package? What are the default settings for a caption BEFORE loading the caption package? I would prefer to be able to load most ...
1
vote
0answers
22 views

Inconsistent slide margins in frame with allowframebreaks option in Beamer

When I create a long beamer frame which is automatically splitted into slides by using allowframebreaks option, it has a little bigger vertical margin for the first slide. I would like to make it more ...
1
vote
0answers
28 views

openright reseting

I have a rather larger document, where I use "openright": \documentclass[12pt,twoside,a4paper,openright]{report} I then have a few of my pages in the middle of the document where I use: ...
1
vote
0answers
36 views

Extra right margin depending on textwidth

It seems that the right (outer) margin is changed from what I request, depending on textwidth. MWE: % !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode ...
1
vote
0answers
35 views

Margins for the whole slide in Beamer?

I want to make a Beamer presentation with white margins at the edges, so the whole slide would be affected by these margins (including the color bars for my Berlin beaver theme, for example). So there ...
1
vote
0answers
53 views

How can I adjust the external header/footer margin in memoir class?

I am working in a memoir class document, with a template I found on the internet and customised a bit. I would like to change the number's and header's place, putting it further from the edges of the ...
1
vote
0answers
36 views

Change template parameters

I have this overleaf template: Template If i have a long chapter name it seems cut This is the result How can insert a new line? i tried with \\ and \newline command and i get this: Or how i can ...
1
vote
0answers
52 views

How to change margin for first page of Bibliography Only

I need the top margin to be 2 inches on the first page of my Bibliography and all subsequent pages in the Bibliography to have 1 inch top margins. I am using Bibtex to manage my references and using ...
1
vote
0answers
58 views

how do I force a latex project to the height/width of Springer's LNCS style?

I have a little paper and for the submision it must have the LNCS style. The problem is that I added some figures and charts and somehow the width/height messed up, so any idea of how to force a ...
1
vote
0answers
50 views

How to center horizontally the text area in the “tufte-book” class?

In the following code, I want to center horizontally the text area (main body+margin area), but the centering option of the geometry package doesn't have any affects. Is there a way to do this? ...
1
vote
0answers
118 views

print crop margings for bindingoffset

I would like to have a template for reformatting some arbitrary \LaTeX document in a way, that I can print and cut it, to glue it into my lab-book. To this end, the output should introduce a ...
1
vote
0answers
58 views

increase margins of floats page

I have several sections in my article, each with a sizable (~22 lines) code listing explaining the concept of that specific section. I do want to float my listings, as they look nasty if broken off ...
1
vote
0answers
217 views

Lyx - Enable emphasized text hyphenation, prevent overflow

I use emphasis in Lyx to indicate variables in a description of a computational algorithm. Some of these variables have a long name. Lyx does not attempt to hyphenate these variables when they enter ...
1
vote
0answers
203 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
50 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
271 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
64 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
79 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
100 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
123 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 ...
1
vote
0answers
2k 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 ...