{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

2
votes
1answer
133 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
223 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
506 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
123 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
115 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
615 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
96 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
138 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
34 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 ...
3
votes
1answer
185 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
171 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
171 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} ...
3
votes
1answer
417 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
359 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
61 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
356 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
300 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
285 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
78 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
1k 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
98 views

Moving BibTeX References to the same Margin as the Rest of the Text [closed]

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
79 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
609 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
107 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
361 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
217 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
331 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. ...
15
votes
1answer
416 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
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 ...
3
votes
1answer
102 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
250 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
105 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
130 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
175 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
959 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
140 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
227 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
109 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
496 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
226 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
235 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" ...
9
votes
1answer
380 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, ...
0
votes
0answers
113 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 ...
5
votes
2answers
179 views

Text width in one sided documents?

Example: \documentclass[paper=a4, fontsize=10pt, parskip=half, DIV=9]{scrartcl} How do I calculate text width? In particular: I understand that DIV=9 specifies that the page is divided into nine ...
4
votes
1answer
669 views

Remove sidebar in Beamer

With the following code, I tried to remove the sidebar: \documentclass[18pt]{beamer} \mode<presentation> { \usetheme{Hannover} \usecolortheme{dolphin} \usepackage{lipsum} ...
0
votes
2answers
625 views

How to set bottom margin using the resume class with [margin,line]

I really like the way my resume looks using the following preamble: \documentclass[line,margin]{resume} \begin{document} \topmargin=-0.5in However, I have a huge margin at the bottom of the page. ...
3
votes
1answer
305 views

Why does standalone not detect the TikZ crop correctly?

This small example \documentclass{standalone} \usepackage{xltxtra,textcomp,graphicx,color,tikz} \usepackage[absolute,overlay]{textpos} \begin{document} \begin{tikzpicture} \clip (0,0) rectangle ...
4
votes
1answer
289 views

How to get Tufte-like margins with the KOMA book class?

I asked similar question here How to have headers, section headings, and figures expand into the margin? From Document class for designing a book I want to have new insight... ...