{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
2answers
87 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
53 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 ...
2
votes
2answers
49 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
61 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
56 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
38 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
39 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 ...
2
votes
2answers
65 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
47 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
63 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
37 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
42 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
41 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
46 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
55 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
61 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
64 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
40 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
39 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
54 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
404 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
69 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
44 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
51 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
64 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
117 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
109 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
116 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
57 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
26 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
55 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} ...
2
votes
0answers
45 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 ...
0
votes
0answers
26 views

Make left-hand pages' `\marginpar` text right-aligned [duplicate]

\marginpars only appear on the right margins of right-hand pages of my manuscript. For left-hand pages, they are are so far to the left that they aren't even on the page. The reason is because the ...
5
votes
3answers
115 views

Draw user defined print margin

How can one draw a box on each page (KOMA class srcreprt) to show a user defined print margin. E.g. the box should be 25 mm from each page margin (which might be different from the actual layout ...
7
votes
1answer
104 views

How to make a dynamic comment box next to \address cluster?

I'm sure you're aware what \address{blah} is. Well, I'd like to make a boxed comment that's just as high as my address and stretches from the left margin of the document to 3cm to the left of the ...
2
votes
1answer
65 views

How to reduce margins inside the equation environment?

do you know a way to reduce margins inside the equation environment to be sure that a very long equation fits in a line (I have already reduced the fontsize of the equation)? Thanks here my code: ...
3
votes
2answers
60 views

Left bar in the margin of an environment with figures/tables

I am writing a document with theorems and proofs. Since, some reader may not be interested by the proofs I want to highlight them so they can be skipped easily. The best idea I came up with is to ...
1
vote
1answer
51 views

How to reduce page margins and center text on it?

I need a custom title page, where the margins create a tighter area for the page contents and a title text is centered horizontally and vertically. How do I do that? By tighter margins I mean margins ...
0
votes
0answers
18 views

How to edit the length of margins [duplicate]

I want to decrease the length of margins, which are denoted on the picture (because i fint them too long). How can i do that? \documentclass[12pt]{article} \usepackage[utf8]{inputenc} ...
2
votes
1answer
133 views

Tikz horizontal alignment

I have a prepared page margin but i require alignment three Tikz graphics horizontally, the three graphics width is more what \textwidth but minor what \textwidth + marginpar. How i can position ...
2
votes
1answer
30 views

multibib: setting margins

Using multibib, if I define a bibliography entitled "Primary literature" by using the following line: \newcites{prim}{Primary Literature} and then I write into the document block: ...
5
votes
1answer
62 views

side by side figures wider than margins

I'm trying to do exactly what's explained here: Figure with two side-by-side subfigures that is wider than textwidth However, I'm working with a large document and already have many subfigures using ...
1
vote
1answer
40 views

Remove padding at top of page

I am writing a paper using a collection of mandated styles. They add vertical spacing above things like equations and tables. However, if the item with padding is the very first item on a page, I am ...
4
votes
1answer
72 views

automatically add additional space for annotations while keeping layout the same

Consider, I've got a document I am asked to review in a way, that I add todonotes/marginnotes with comments. Therefore the usual document margin might be to small. Is there a way to just add ...
0
votes
1answer
40 views

The text in a tabular environement goes out of margins [duplicate]

I need to write a long paragraph in my table, but the text goes out of the margins.. Here is my code: \begin{tabular}{l l} \textbf{P1.1} & ...
2
votes
1answer
40 views

Temporary removal of `\ChapFrame` used in 'Chapter Title in rotated vertical box at the margin'

I would like to, temporarely, not assign new coloured boxes for some chapters. Is that possible, e.g. using or resetting the \ChapFrame command?
2
votes
1answer
91 views

Margins on a minipage [duplicate]

I have a formula which very nearly fits on one line, and I'd like it to sit on one line as it looks silly split onto two. If I reduce the left and right margins for the whole document to 1cm, the ...