{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

9
votes
0answers
655 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 ...
4
votes
0answers
84 views

How to place cross references in center margin between two columns

How can I put all cross references in the center margin, with those for the left column vertically positioned above those for the right column? The text will wrap to additional pages, and the cross ...
4
votes
0answers
91 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 one (...
3
votes
0answers
65 views

change margins of book class

I'm typesetting a book using the tufte-book class. All pages have left-side margin but in some pages I have to set the margin on the right side! Any ideas on how to get this?
3
votes
0answers
100 views

Set a different layout for a single page in Memoir

I am setting a layout with facing pages and large outer margins, in order to accomodate a lot of margin notes. When it comes to the title page, I need to make a new layout in order to be able to ...
3
votes
0answers
445 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, ...
3
votes
0answers
90 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
238 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
382 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
293 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
129 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 ...
3
votes
0answers
140 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
76 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
202 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
471 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
36 views

trouble with margins in amsbook modification

I'm using the document class iuthesis, which is based on amsbook. I've modified the distributed version (1.2.0.23: source dtx available here, stripped cls file here, my modified version included ...
2
votes
0answers
11 views

Matlab2Tikz+PgfPlots Violating Margins

I use this command in matlab matlab2tikz('fig_blank.tex','width','\textwidth','height','5cm') in order to make a tikzpicture out of this matlab plot. My MWE in PdfLaTeX \documentclass{article} \...
2
votes
0answers
24 views

Conditional margins for printing

This is a follow up question to Different margins for on-screen pdf and for printed pdf. I would like different margins for on-screen viewing and for paper. So, if someone views the pdf on a screen, ...
2
votes
0answers
32 views

Make enumerate indent stretch

Some of my enumerate lists cause overfull hboxes. For example. \documentclass[12pt,a4paper]{article} \usepackage{microtype} \usepackage[scaled]{helvet} \renewcommand{\familydefault}{\sfdefault} \...
2
votes
0answers
84 views

Student work correction classe

I'd like to get my students work correction look like this page. This document was written with Word (and not by me) and I have to type similar documents with the same formatting. If I were to ...
2
votes
0answers
53 views

marginpar have changed,is it a bug?

In my latex installation, this MWE always gives the warning: marginpars have changed, after multiple runs. But clearly, there is nothing changing. Is it a bug? \documentclass{scrbook} \usepackage[...
2
votes
0answers
127 views

Two-Sided Gutter in Tufte-LaTeX without symmetric?

The Tufte-LaTeX class has a great "symmetric" option for working on twosided documents (I'm working on a book project), I'd like to explore using this but for now due to the large number of figures I ...
2
votes
0answers
68 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 ...
2
votes
0answers
34 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
86 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
73 views

List spacing being ignored in parcolumns environment

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
96 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
451 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
200 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
118 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
527 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
59 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
258 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 = {...
1
vote
0answers
26 views

multicols* environment breaks page margin

I'm trying to typeset a menu for a restaurant. I used the multicol-package to split the page in 2 columns. I have some categories (Starters, Main Dishes, Cheese, etc.) and each one of these contains ...
1
vote
0answers
35 views

margins of a footnote

I'm a very beginner in Latex. I'm writing my phd thesis with the memoir class. Today I realized that the footnote in a page (and only in this page) doesn't respect the page margins.. what happened? ...
1
vote
0answers
21 views

Full Bleed TikZ with Crop and Registration Marks

I've created some card-sized pages that I now need to adapt for full-bleed printing and trimming. Here's an MWE: \documentclass[border=0in, multi=tikzpicture, varwidth=false]{standalone} \usepackage{...
1
vote
0answers
32 views

Uploaded .ps file generated with teXstudio completly ignoring the top margin

I am trying to upload a paper to be submited. I can export a .ps file using texstudio but when I check the proof of my submission, the original text in the .ps file is forced to be at the top of the ...
1
vote
0answers
31 views

How can I fill a page with a minted included json file?

I'm trying to add some huge json files to my document and have no idea how can I solve this two problems. Code: \linespread{1.0} \subsection{File xpto.json for X = 1} \label{ap:json_xpto1} \beCengin{...
1
vote
0answers
14 views

LyX is changing horizontal spacing between words depends on the line's length - it even changes the page margins

I'm writing a paper in Hebrew and the margins of the equations from both sides is just too small, IF the line is long. What I mean that it feels like LaTeX is trying to push too much into 1 line, it ...
1
vote
0answers
27 views

changing margin for part of the document

I want to change the margin in the middle of the page in a twoside document. The contents in this section (with new wider margin) happen to continue on to the next page. And I am having a hard time ...
1
vote
0answers
47 views

Expand top margin of single page - ToC

I have a ToC with only a few lines too many to be in one page. I wish to get everything into one page and still looking good. With \addtocontents{toc}{\protect\enlargethispage{\baselineskip}} that ...
1
vote
0answers
30 views

Export pdf or image with A4 format and margins

I have this portfolio I made a while back to compile with LaTex. The thing is I don't know if I'm crazy or if the last time I downloaded Tex, the GUI was much more complex and it let me export my ...
1
vote
0answers
32 views

Business cards with different margins on each side?

I'm trying to make a business card with an image on the backside. The front is set up using a memoir with an addresslabel function. The margins I need for the text on the front do not seem to work for ...
1
vote
0answers
30 views

tabularx shifted farer than margin

I have a custom papersize and margins set with geometry package. Now I want a table to reach over the complete page (not the margins) \begin{tabularx}{\textwidth}{ |X|X|X|X| } \hline label 1 &...
1
vote
0answers
41 views

How to define margin for pdf doc?

I have the problem that my output pdf has the wrong margin between left and right. you can see it in the pic below: The problem is, I need the opposite way. left have to be wide and right narrow. ...
1
vote
0answers
52 views

How to display index entries on the same line as the text being indexed

Is it possible to let showidx display index entries on the same line as the text being indexed? It seems not as makeindx.pdf says: This macro actually typesets the box containing all the index ...
1
vote
0answers
118 views

How to set font, line spacing and header/footer margins?

I need to write some text for my university and I figured I should use LaTeX to get familiar with the system. I've read some basic tutorials etc, but they didn't help me with the following: There are ...
1
vote
0answers
25 views

How to fit a page within a larger page

So I'm writing a grant application, and I'd like to use the todonotes package. The Australian Research Council apparently does not like the referees: We have a strict 10 page limit, but we're allowed ...
1
vote
0answers
52 views

\marginpar with pushback from right

I like to put references to book sections pertaining to class notes in the right margin. These are of the form XXXnn-nn for a 3-letter book title abbreviation followed by a range of section numbers. ...
1
vote
0answers
46 views

geometry's bindingoffset seems to be ignored

The geometry's documentation tells: page 9: "bindingoffset removes a specified space from the lefthand-side of the page for oneside or the inner-side for twoside.", page 10 (caption of Figure 6): "...