{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

6
votes
1answer
92 views

How to place a figure in page margin beside a mdframe?

In my text I would like to use some icons in the page margin to label element types, e.g., an example or a theorem. The following picture illustrates this: My text is double-sided, so I would like ...
2
votes
3answers
136 views

Left margin wider than right one

Why is the left margin wider than the right one? Each of them should be 1 inch wide: If you run TEX without modifying the plain TEX format, you get pages that are numbered at the bottom; and each ...
1
vote
0answers
18 views

Delete new line margin BibTeX [duplicate]

I need bibliogrpahy look like in first picture. Actually, default look like in second picture. diplom.tex \documentclass[a4paper,14pt,russian,oneside,final]{extreport} ...
2
votes
2answers
60 views

Annotate items at the margins beside each item

Is there a way to add annotations to the margins beside items of an enumeration? Consider for example the following pseudo-code: \documentclass{article} \usepackage{enumerate} \begin{document} ...
2
votes
2answers
187 views

Why graphics do not respect the end of line?

I see this all the time, inline graphics (in this case tikz picture) do not obey line breaks and flow like a word. In this example document, there are no forces new lines and the picture sticks out ...
6
votes
2answers
187 views

KOMA-Script typearea and DIV

I was going through the KOMA-script Documentation and I found on page 32 a nice table with the type area according to the number of DIV you set up your document. Now, I MUST be doing something ...
10
votes
1answer
611 views

DIV and BCOR setting in KOMA (best practices)

I have been playing around and I now realize it is possible to set the type area using a KOMA class by a couple of ways, and I'll like to know which is the correct one. \documentclass[% a4paper, ...
14
votes
1answer
225 views

FR: Staplers corner

I like twocolumn documents, but sometimes people complain that stapeling pages together made it hard to read the top left text of the left column on all pages after the first page. OK, I could have ...
2
votes
1answer
95 views

Smaller textwidth in memoir

I have to use memoir with A4-paper and 11pt font size. This way the lines are very long, so I would like to make it smaller to have less characters per line. However when just setting parameters that ...
1
vote
1answer
91 views

How to show margin distances in mm

I would like to know the distance (in mm) of the margins I just set, and I would like them to be displayed in the document (for debugging purposes, of course). I use the showframe option of the ...
1
vote
1answer
76 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 ...
5
votes
1answer
104 views

Vertically center rule on a page

More precisely, I want to get a 18 × 26 cm² landscape box with a rule at the middle. Combining the crop package and this code I got: \documentclass{article} ...
1
vote
1answer
61 views

page margins not respected after A3 page insertion in A4 document

I am inserting an A3 page in an A4 document but the margins are not respected (and neither does a page number appear), after the A3 page. Test code below: ...
8
votes
2answers
695 views

What is the equivalent of fullpage in geometry package?

There's an occasion when I am forced to use geometry package instead of fullpage. Howevere the document margins should match another document which uses fullpage. Where can I find the default top, ...
4
votes
1answer
172 views

Is there any automatic way to detect hanging text on the right in LaTeX?

I wonder if there is any automatic approach to detect hanging text all throughout the 200-page thesis, mostly due to hyphenation issues. Consider the output below, there is like a subtle hanging text ...
1
vote
1answer
67 views

How to use margins to center a table

I want to realize something like in this two pictures. I want to use a part of the margins for notes (draw even tables!). I want that the margin change from odd page to even page (I think it's simple ...
4
votes
2answers
101 views

Horizontal space before block of text

Hi, I wanted to create column of text after bolded "Lorem Ipsum 1.", which has no specified linebreaks. This space before text (marked on image with red line and question marks) should have exact ...
2
votes
2answers
80 views

margins or line breaks in koma-script table of content

Entries in my KOMA-script TOC spread too close from the page numbers: One solution is to use a short title and insert in it a line-break, but this is not an acceptable solution. I am trying to ...
2
votes
0answers
24 views

Curly brackets with long content cross the margin [duplicate]

I wonder if there is a way to break a line when it is too long with a curly bracket crossing the margin. Thanks. \documentclass[12pt]{article} \begin{document} blablabla blablabla blablabla blablabla ...
3
votes
2answers
89 views

Reducing margin as small as possible in subfigure

I use subfigure to implement subfigure and I use \hspace or \vspace. I want very small margin to maximize the size of subfigures but when I set \hspace{0cm} and \vspace{0cm}, there is still large ...
1
vote
1answer
83 views

Control margins of the note of a beamer slide

I have a beamer slide associated with a note. \documentclass{beamer} \mode<presentation> { \usetheme{Madrid} %\setbeamertemplate{footline} % To remove the footer line in all slides uncomment ...
1
vote
0answers
18 views

Accommodating page numbers with narrow margins [duplicate]

Problem: I'm having trouble getting page numbers to display in a LaTeX document. Background: I have a document with 0.3in margins that I suspect covers up the page numbers. A very similar document ...
2
votes
0answers
72 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. ...
1
vote
1answer
68 views

Using newgeometry — how to prevent moving the top outer page numbers?

I used \newgeometry to enlarge the printing space to include more graphs on a couple pages of my document (article class), but it moved the page number on those pages too. If I want to keep the page ...
3
votes
1answer
55 views

Setting margins for an individual page [duplicate]

With the geometry package, we can set margins for the whole document (with options like left, right, etc.). Now, how do we set margins for an individual page so that it doesn't affect the whole ...
3
votes
2answers
195 views

How to set binding offset in report class

I want to add bigger margin to the left side of document for binding purposes. The default margin with report class is ~1.5 inches, but when I use the geometry to set the bindingoffset, whole layout ...
1
vote
0answers
88 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 ...
2
votes
3answers
70 views

Vertical line next to a block with no margins

I've seen on this website several possibilities to include a line next to a paragraph. Like this: (the line is continuous) text text text | text text text | text text text | However, I would like ...
1
vote
0answers
43 views

Copy verse out of pdf mantaining margin structure [closed]

I use LaTeX to nicely typeset poems with the package verse. Here a MWE \documentclass{article} \usepackage{verse} \verselinenumbersleft \poemlines{2} \setlength{\vrightskip}{-3em} ...
3
votes
0answers
47 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 ...
1
vote
0answers
49 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
2answers
54 views

How do I force a picture to be placed on a page, disregarding margins?

I have a picture that I would like to place on the frontpage of a student paper that I am working on, and it is being pushed on to the next page by LaTeX. I want it to be placed in a specific place, ...
2
votes
1answer
77 views

How to get Itemize not to skip the first line

I have something like this in my cv template, I have tried to explain what the problem is below. \NewEntry{2000}{blah} \Description{\MarginText{blah} \begin{itemize} \item With itemize \item It ...
5
votes
2answers
94 views

Package geometry parameters and changing left margin

I want to make an indented paragraph, that is to indent the whole paragraph and not just the first line as happens with \par. I use geometry, so I thought that package might have a parameter that ...
0
votes
1answer
76 views

minipage goes beyond right margin

\begin{minipage}[c][3cm]{0.075\textwidth} \includegraphics[scale=1.5]{Capture} \end{minipage}% \begin{minipage}[c][3cm]{0.85\textwidth} \centering{\bfseries{\scriptsize blah blah blah blah} ...
1
vote
0answers
49 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}% ...
2
votes
1answer
45 views

How set a table in margin?

\documentclass[12pt]{book}‎‎ \usepackage[top=3.cm,bottom=3cm,left=2.2cm,right=6.2‎cm,marginparwidth=4.5‎cm‎,headsep=10pt,a4paper]{geometry} ‎\usepackage{amsmath,amsfonts,amssymb,amsthm}‎‎ ...
2
votes
0answers
17 views

Changing the top margin in LaTeX for chapter name [duplicate]

When a new chapter starts I want to decrease the margin between the top of the page and where it says Chapter X. So I have something like Chapter X Chapter Title and I want to decrease the space ...
3
votes
1answer
65 views

Change the margin twice on one page

I am attempting to change the margin on a section of the first page of my report. \documentclass[10pt]{article} \usepackage[left=25.4mm, right=25.4mm, top=12.7mm, bottom=25.4mm]{geometry} ...
22
votes
2answers
501 views

Gradient fill around section headings

Trying to make a document that has gradient fill around section titles, that are not effected by margins, as such: I managed to get the gradient effect but I can't figure out how to get it to start ...
5
votes
1answer
88 views

Stretching an \fbox horizontally to fit the page

I have a frame box next to some text (Komentar:), and I would like to stretch it so it fills up the page. I've done this using the calc package by subtracting \widthof{Komentar: } from \hsize (or ...
1
vote
1answer
48 views

Issue with the lengths of the margins in article class in twoside mode

Simply, put the solution to my problem is that for everything before the first section, the odd margin must be swapped with the even margin and vice versa. At the first section, everything must be ...
1
vote
0answers
67 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 ...
2
votes
1answer
80 views

Positioning the address in a Letter

I need to place the right-side address differently in my .tex file but I can not figure out how to do. What I would like is to have the last line from the right-placed address at the same line as the ...
6
votes
1answer
144 views

Newsletter Formatting

First post here but I'm trying to create a newsletter. However, I'm having some difficulties. I want it to look similar to this example: http://www.calvin.edu/admin/hr/newsletter/MAY%202012%20(e).pdf ...
1
vote
1answer
181 views

Changing margins in a beamer frame

I made a beamer presentation. In one of the frames I have a couple of pictures. However the left margin takes up a lot of space and the right margin is nearly zero. Having \centering in the figure ...
3
votes
1answer
184 views

Easiest way to write Avery 11137 template

Trying to get a template to work for the Avery 11137 label template and it is exceedingly harder than one would think because the geniuses over at Avery put it on an 8.5x7 page and, although it is not ...
1
vote
1answer
68 views

Change margin for particular environment (parallel)

I posted a too general question (Change margins locally (for text)), but my need is to solve about a particular environment, for I have to obtain some verses (original and translation) in parallel ...
1
vote
0answers
28 views

Change margins locally (for text) [duplicate]

How can I change margin locally, I mean only in a part i.e. some paragraphs of a page? I've not a list, as in Changing margins “on the fly”, but only text. Infact I have to produce for some areas of ...
4
votes
2answers
62 views

Adjust margins for long table on a landscape page

My minimum working example: \documentclass{article} \usepackage{longtable} \usepackage{lscape} \usepackage{array} \begin{document} \begin{landscape} \section{My First Section} ...