{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
3answers
79 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
47 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
53 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
51 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
60 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
86 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
101 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
83 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
50 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
70 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
520 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
96 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
50 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
69 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
106 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
146 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
223 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
210 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
76 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 ...
5
votes
2answers
67 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
57 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
27 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
140 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
124 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
82 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
77 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
60 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
19 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
228 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
37 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
126 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
42 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
86 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
61 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
45 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
344 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 ...
0
votes
0answers
47 views

Changing margin widths

For my thesis I HAVE to have the following margins when the document is printed off: Top=2.5cm Bottom=2.5cm Left=3.2cm (this is to fit a spiral bind) Right=2.5cm Any help on how ...
8
votes
1answer
398 views

Distance between top edge of paper and header

EDIT : Please apologize me. I forget to add two lines to MWE I think very essential to handle the problems. Please re-check the MWE. There is parameter defining distance between bottom edge of top ...
3
votes
1answer
375 views

classicthesis margins in case of front-only printing

I am writing my master thesis with classicthesis. I am afraid margins are too wide and I was considering modifying them. I am definitely not a LaTeX guru so I surfed on the internet to find how much ...
0
votes
0answers
18 views

In Lyx how do I fix the border shift for binding? [duplicate]

WIth regards to piping answers into Lyx GUI, I am continuing the my question from here. The layout of chapters starting on the odd pages appears to be correct, however the shift left or right I ...
4
votes
1answer
141 views

Extra 0.1cm after setting geometry top margin

I try to set 3cm for top margin of the paper with geometry package. After I measure the real length of top margin with PDF, this is actually 3.1 cm. There are a 0.1 extra space there. Also, I spot ...
6
votes
1answer
88 views

How do I find memoir's margin settings for twocolumn mode?

I have a long document that I don't want to use twocolumn mode for, but I like the margins it uses. I'm going to manually use multicol to create two columns instead (so I can easily have footnotes and ...
2
votes
2answers
78 views

Move title to top of page but keep the top margin value

Having a lot of problems with LaTeX at the moment. I need my article to have a top margin of 33mm, but for some reason my title page has a much larger margin. Is there a simple fix I have overlooked? ...
1
vote
1answer
79 views

Formatting my basic tex report with specific spacing and font settings

Ok so I am configuring the settings of my tex file before starting my (mathematical) report and am going through my basic template and removing all packages I don't need and believe I have the very ...
3
votes
1answer
62 views

How to align text and itemize in the starting with same margin?

How can we align Text and itemize starting with same margin? This is my first sentence. . this is first bullet point line. . this is second bullet point line.
2
votes
0answers
59 views

Manually specify margins in the TOC and Title Page

I have just began my journey into latex. I'm writing my thesis with a given template. The template is big and I do not manage to extrapolating from it a minimum working examples, too many things, I'm ...
6
votes
2answers
318 views

Change Color, Pitch, Line Style of Showframe (Geometry Package)

How can one change the colour, pitch, line style, etc of the rules generated by the geometry package's showframe option?