{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

0
votes
1answer
64 views

Remove double margins for a single page?

I'm using the AIP template seen here, I need to be able to make it so I can return to normal margins for a single page or two and then return back. How can I achieve this? ...
29
votes
1answer
481 views

Non-rectangular body geometry

I'd love to typeset a document where the inner margin follows a sinuous path. For example, like the one below (done in Scribus). I tried wrapping the text around a curvy image set at the appropriate ...
4
votes
1answer
78 views

Is there a way to suppress the black boxes in the margin only?

I want index entries to be visible in the margins. We are using the indexpackage for multiple indexes. This package provides the option to display the index entries in the margin. For some cases I get ...
1
vote
1answer
166 views

Page numbering and binding offset

I have a two-sided document with a few unnumbered introductory pages, and I want to start page numbering from 1 after these pages. To do that, I suppress page numbers with \pagenumbering{gobble}, and ...
1
vote
0answers
32 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] ...
4
votes
1answer
79 views

Bleed into margins automatically to prevent orphans?

When I set my papers, it sometimes happens that the last line of a paragraph is very short, in extreme cases just a single word, perhaps a page number. I have set \clubpenalty to 10000, of course, ...
2
votes
1answer
106 views

ConTeXt: Art book (persistent left margin et al)

I am trying to create a book displaying artworks using ConTeXt in (what I thought would be) a very simple layout: One image per page, sized according to orientation, with artwork title, year etc ...
9
votes
3answers
182 views

Picture over half of the page

I would like to have a picture that covers half of the page. The text should be in the rest area of the page. See attached picture, worth thousand words... Can somebody help me? Update: I want only ...
0
votes
2answers
272 views

How to reduce the left margin of the Friggeri CV template?

I'd like to reduce the left margin of the Friggeri template, in order to increase the width of the aside section. I first tried to change the numbers of the line 308 of friggeri-cv.cls file: ...
5
votes
1answer
88 views

Lining up margins in lists to text below

Suppose I have a resume made in LaTeX. I want to line up the margin of a specific section (or multiple sections, such that it lines up with the rest of the main text of the page. In particular, I want ...
-1
votes
1answer
109 views

geometry package is not working in all pages

The geometry package in combination with amsmath's align environment is not working in all pages. When many lines are within the align environment they get automatically shifted onto the next page and ...
2
votes
1answer
311 views

koma-scrlttr2: bottom margin is immense, how to reduce?

I'm really struggling with what seems like it should be a simple layout question for KOMA scrlttr2. I simply cannot find any way to get the bottom margin of a letter to be anything less than 2 ...
5
votes
1answer
83 views

Line numbers on different margins in two-sided document

I'm using the lineno package to print line numbers in my two-sided document, but they are always printed in the left margin. \documentclass[twoside]{book} \usepackage{lineno} \usepackage{lipsum} ...
6
votes
2answers
100 views

Exclude line numbers from margin width

I am using the lineno package to add linenumbers on my twosided document. However, I have a restriction to leave a margin of 2.5cm inner and 4cm outer margin. This has to be completely free space. ...
0
votes
0answers
28 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 ...
2
votes
1answer
120 views

Draw a vertical line on the margin across several pages

I want to draw a vertical line on the margin. The line may be able to continue to the next page(s) and must not cut with the end of the current page. I'd prefer to use an environment or something ...
2
votes
1answer
113 views

Change margins for all, but the first page [duplicate]

I've read Setting different margin sizes in different pages and Change \textwidth and \textheight in mid-document, but it doesn't work to well for my use case. I'm using the geometry and fancyhdr ...
1
vote
0answers
139 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
63 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} ...
3
votes
1answer
303 views

Diary in Latex with additional notes on side

I am trying to make a diary that will have the following format Each entry will be inside a colored box Each entry will have a title with the date and an optional title I want the possibility to add ...
3
votes
1answer
160 views

How to change the margins and insert the university banner in a poster?

I'm trying to build up a poster. This is the template I have to use: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Jacobs Landscape Poster % LaTeX Template % Version 1.0 (29/03/13) % % Created by: % ...
3
votes
0answers
56 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
1answer
234 views

What's the exact margin size separating two side by side minipage environments?

Consider the following MWE with two minipage environments, ideally filling 1\textwidth in total. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{fouriernc,parskip,framed} ...
3
votes
2answers
165 views

How to remove margin notes space in book class?

By default, the "book" class produces a layout with a big space for margin notes. One consequence of this behavior is the binding side has a smaller margin than the other side (with the twoside option ...
0
votes
1answer
193 views

Space between text area and footer area

How to control the vertical space between the text area and the footer area? If I change the value of \textheight the footer comes together. If I change the value of bottom using geometry package, ...
4
votes
1answer
74 views

how can I extend the width of item?

Please see the picture first. I want to keep the first width of item rectangle, meanwhile extend the second item rectangle, make it longer. I mean that I'd like to let the leftmargin & ...
0
votes
1answer
681 views

Full width image in beamer?

I have a beamer presentation with a custom style which creates a red bar along the bottom of each slide. When I change the geometry and then revert it with restoregeometry, the red bar is now shifted ...
4
votes
0answers
67 views

Moving BibTeX References to the same Margin as the Rest of the Text

When I do BibTeX references using the alpha style, they are slightly shifted to the left from the rest of the text. How can I align them with the document body? ...
3
votes
2answers
66 views

Determining spacing by a number that is a multiple of a counter

I have \hspace and I have a stepcounter xyz \documentclass[12pt]{article} \usepackage[top = 1in, bottom = 1in, left = 1in, right = 1in]{geometry} \usepackage[T1]{fontenc} ...
6
votes
3answers
334 views

Negative indent?

Is a negative indent of a particular paragraph possible or does another command need to be used? I.e., the first line should begin inside the margin. Can a command similar to \noindent be constructed ...
1
vote
1answer
76 views

increasing margins for a single page in KOMA class

I am using the following KOMA document class \documentclass[12pt,captions=nooneline,DIV=14, parskip=half]{scrartcl} everything is fine except that at one point I include 4 pictures in one single ...
3
votes
2answers
244 views

Enumeration in margins and hang indentation

A solution was given to Enumeration across many sections. However, (A) it seems enumeration prevents hang indent from activating. (B) Can I get the numbers to go into the left margin and leave hang ...
6
votes
1answer
156 views

Why can't I get the height of my memoir typeblock right?

I'm trying to define my own type area on A5 paper using the memoir commands, according to the following construction after Tschichold, where the text width is given by Høgholm's curve fitting of ...
4
votes
2answers
239 views

Different textwidths on first and following pages with scrlttr2

Is it possible to have diverging values for \textwidth on the first page and all other pages. On the first page I would like to set the width of the text to 12cm, on the following pages to 16cm. ...
14
votes
1answer
352 views

How to typeset a complex layout like a page of the Talmud?

I need help for typesetting a complex typographic layout comparable to the Talmud, yet not necessarily in Hebrew. I found the parcolumns package, but it does not support footnotes and it also does ...
1
vote
0answers
85 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 ...
3
votes
1answer
89 views

Number and reference paragraphs

For "law-documents" you often want to enumerate every paragraph and cite them somewhere else in your document. This enumeration shall increase through the whole document and have the possibility to ...
0
votes
1answer
147 views

List of Figures page Margins

I am writing my dissertation and I have to follow certain graduate school guidelines to submit my dissertation successfully. One rule that the graduate school has is that all margins on each page ...
3
votes
1answer
84 views

New textwidth for End Matter (but preserve fancyhdr)

Can anyone suggest a strategy for changing the textwidth for the end matter, but preserving the look of fancyhdr, whose offset is calculated using the old geometry. Can't seem to get \newgeometry to ...
2
votes
1answer
103 views

Use a box to fill text to right margin

I often use an eqnarray (I know it's better to use align, but let's not worry about that for this question unless it changes the answer) as a way to list a bunch of definitions or descriptions of ...
2
votes
0answers
119 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 ...
0
votes
1answer
394 views

Margin on a4 paper is too big

I'm currently writing on a document for school. We have to use these margins: left: 3cm bottom and top: 2.5cm right: 2cm But when I'm using the geometry package the margins are way too big which ...
3
votes
2answers
105 views

Hyphenation and section titles with geometry

I am using classicthesis and the geometry package for my thesis. Some section titles are not hyphenated correctly, but instead reach into the margin. It seem not to be possible to use, e.g., \-, to ...
6
votes
1answer
132 views

Rows exceeding margin in tabulary environment

The main issue I am having is that the second column becomes squished and the table exceeds the 1 inch margin that exists. What's the best to fix the issue? I also need the table to have the table be ...
2
votes
2answers
89 views

Table way out of margin

I have a really long table and it is out of margin. I read other post about this issue but I still cannot figure it out: \begin{table}[htbp] \begin{center} ...
4
votes
1answer
353 views

Change \textwidth and \textheight in mid-environment

First, this is not a copy of Change \textwidth and \textheight in mid-document as I can't set a manual \pagebreak and \newgeometry or \restoregeometry thereafter. I want to change the footer size for ...
3
votes
2answers
158 views

pdflatex testpage produces wrong margins for a4paper

On my Mac running TeXlive 2012 when I do pdflatex testpage \papertype=a4paper \doublesided=n and open the resulting PDF file in preview, I can see that the margins are completely wrong in the ...
0
votes
0answers
22 views

New environment with shaded box leaks into margin [duplicate]

I have written a nice little environment for defining mathematical problems using a trivlist and shaded box. The problem is: The text in the box is aligned with the regular text, such that the box ...
3
votes
2answers
179 views

KOMA script - widening text width

I have a longtable that is about 14cm wide and the text width of 12 cm. Therefore I would like to widen the text width on two pages for 2 cm, toward the outer edge of the page. I have "discovered" ...
7
votes
1answer
253 views

Page layout design in KOMA script

This is follow up of the previous question, Document class for designing a book. Majority of respondents suggested that I design the the page layout using the class I was using for writing the text, ...