{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
0answers
3 views

screenplay-pkg affects margins

I am having a problem with the screenplay-pkg (see the MWE). Just declaring screenplay-pkg affects the size of the margins of left- and right edge & spine margins (about the size of 1 letter). ...
1
vote
2answers
826 views

scrbook page numbers margin problem

I was looking for the setting to adjust the vertical margin of the page numbers in the scrbook class but haven't found anything. I want to have them "nearer" to the page margin. ...
12
votes
1answer
434 views

Setting different recto/verso margins size (geometry) on this example

CONTEXT. Because of specific University requirements (1), I had to use this nice code found on tex.stackexchange http://tex.stackexchange.com/a/96366/50507 written by David Carlisle, that was ...
1
vote
1answer
14 views

Changing margins on defined pages

We all know that by adding: \usepackage[left=...,right=...]{geometry} changes the margins of the entire document. However, is there a way to modify the margins on the pages I'd want?
0
votes
0answers
24 views

Margin settings ignored by subsection titles and list items

My apologies for asking such a simple question. As a first time user, I am not using LaTeX to its fullest extent, although I do need its basic formatting option to work. While 99% of my document ...
0
votes
0answers
21 views

Are margins correct for two-sided memoir?

The default twoside memoir document style makes the right margin really large on recto (odd) pages and the left margin really large on verso (even) pages. This seems counter-intuitive to me. It ...
1
vote
0answers
21 views

Inconsistent slide margins in frame with allowframebreaks option in Beamer

When I create a long beamer frame which is automatically splitted into slides by using allowframebreaks option, it has a little bigger vertical margin for the first slide. I would like to make it more ...
0
votes
0answers
30 views

Custom code is overwriting some of the main code. Formatting problem

I am creating a document that requires some editing in the the normal ShareLaTeX format. I've googled my problem and the code seems to do the job: ...
0
votes
0answers
11 views

Longtable headings don't appear with fullwidth package

I'm writing a document with long and wide tables spilling over the margin area in a two side document class. I'm using the Marco Daniel's fullwidth package. Using longtable (and even longtabu) the ...
1
vote
1answer
46 views

page margin for pages with chapter are wrong

I am having trouble with the marging of my thesis. I am using a template which worked perfectly for a previous paper some 2 years ago but now when I create a pdf the margin on pages containing a ...
4
votes
1answer
21 views

Changepage Package [\adjustmargin] Does Not Work Correctly With \captionof When the Caption Package Is Loaded

The justification of the text is skewed when all of the following conditions are met: The \adjustmargin environment from the changepage package is used. The \captionof command is used. The caption ...
0
votes
1answer
68 views

Not getting the exact page margin during printout of PDF generated by LaTeX

I am using the geometry package: \usepackage[a4paper,margin = 15mm]{geometry} or \usepackage[a4paper,top = 15mm, bottom = 15mm, left = 15mm, right = 15mm]{geometry} But after taking print out of ...
1
vote
2answers
29 views

Justification (both right and left) and page-break for margin enumeration

I am including an enumeration in the margin. I am able to get this to work, but noticed two problems. First, I am trying to justify the text. Currently, it is justified on the left, but not on the ...
1
vote
1answer
39 views

Adding figures on first page of documentclass article

I'm using the default article documentclass for a document that is just supposed to hold the accompanying figures for a paper. This is what I'm doing: \documentclass{article} \usepackage{graphicx} ...
4
votes
1answer
86 views

How can I allow footer to have their own margin?

I'm required to have a strange margin of left=3.14in. What would be a good way for the footers to ignore this and instead adhere to left and right margins of .75in? MWE: \documentclass[10pt]{article} ...
3
votes
2answers
11 views

Width of structured abstract in revtex4-1

revtex4-1 offers structured abstracts through a description environment inside an abstract environment. However, this messes up the right margin in reprint mode: \documentclass[reprint]{revtex4-1} ...
2
votes
2answers
67 views

New line after reaching margins

I wonder if there is a way to tell to WinEdt (or TexStudio) to start a new line when a word reaches the margins of a document. The reason is that I don't like to have long expressions and I don't ...
2
votes
1answer
61 views

Tikz left margin indentation

Is there a better way to remove the indentation of a tikz figure? What I have so far is this \documentclass{article} \usepackage[top=0cm, bottom=0cm, left=0cm, right=0cm]{geometry} \begin{document} ...
1
vote
1answer
57 views

Setting margins so that text is centered on a page

How do I center the text on the page? The text is flush against the right margin. (I have more text. On the second page, the text is also flush against the right margin.) \documentclass{amsart} ...
6
votes
1answer
62 views

Is there a way to get rid of my \vspace{} hack?

I am creating my CV in TeX from scratch and I have come across multiple invisible lines that make my formatting inconsistent. I have this command to make a bulleted list from delimited elements: ...
3
votes
4answers
5k 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. ...
0
votes
0answers
39 views

Geometry package: Lengths saved by default. Options for save/load/restore

The geometry package: Package lengths are not saved as lengths. Examples: layoutheight, tmargin The following only affect the complete layout: \savegeometry \loadgeometry \restoregeometry ...
4
votes
1answer
31 views

Does \@tocrmarg work for chapters?

I am working on a dissertation based on USFDissertation. I need to set at least 0.5" distance between the title text and the page number. However, when I modify the \@tocrmarg command, it does not ...
1
vote
1answer
55 views

Setting Margins Exactly - Geometry Package

My University's thesis requirements for margins are as follows: Top:1.5 inch; Left: 1.25 inch; Right: 1.25 inch; and Bottom: 1.0 inch The following code seemed to be correct, but according to the ...
1
vote
1answer
59 views

How to make these lines visible in Latex?

I'm new to LateX, I don't know how to set borders like these in LaTeX. Please help me, my paper is due tomorrow. :(
0
votes
0answers
22 views

longtable overwrites bottom margin

I'm a newer Latex programmer. I'm working on an existing project (I must fix some problems) and I have a problem with a longtable. It overwrites the bottom margin and i lose one rows (in this case ...
2
votes
1answer
22 views

Reducing stretching of a caption gives an error

I get an error when I add the stretch=0.80 command to the caption-package as here: \usepackage[font={color=red,footnotesize,% stretch=0.80},labelsep=quad]{caption} The caption is a simple ...
2
votes
1answer
53 views

Placing symbol in margin

I am using \def\margin_symbol{\rlap{\protect\makebox[-3cm]{X}}} which I use in sections as \section{\margin_symbol My Header} to place an X 3cm to the left in the margin; however, my problem is ...
5
votes
2answers
141 views

Put hyphen on the margin, not in the text

Normally Latex puts hyphens inside the text: ------------------------------------ Lorem ipsum dolor sit amet, consec- tetuer adipiscing elit. Aenean com- modo ligula eget dolor. Aenean mas- sa. ...
4
votes
3answers
3k views

Change \headheight for a \pagestyle

I have a document class that auto generates header from some user input. The problem is the first page should have a different page header than the others and the headline can be multi line. So ...
2
votes
1answer
39 views

How to add text in the margin, level with first line of paragragh?

I am having trouble adding text (one or a few words) to the left margin of a page. The result should be like the text in the margin in the answers here (without the brace). But with the difference ...
1
vote
1answer
59 views

Putting figures+caption in the margin

Is there a "clean" way to make figures and their caption appear in the margin? I'm using memoir with the companion pagestyle, so the margin is quite assymmetric and I think it might look nice enough ...
0
votes
1answer
72 views

Page numbers incl. text (different side)

I have two questions according to my Thesis. First, how do I switch margins automatically for every second pages, such as: Second how do I switch the page numbers and including different text ...
1
vote
2answers
33 views

Aligned Equation Resizing? (Above or Below \textwidth)

My input: \begin{equation} \begin{aligned}[t] & \min\limits_{\bm{\Delta(P,Q),u}} & & \sum\limits_i u_i, \\ & \text{s.t.} & & (P_{min_k},Q_{min_k}) \leq (P_k,Q_k) \leq ...
8
votes
2answers
102 views

Plain TeX section number in margin

I want to typeset the number for the section in the margin. Here's an MWE of what I'm starting from. % --- Fonts ------------------------------------------------ \font\0="Roboto Condensed Light" at ...
1
vote
1answer
97 views

Recommended margin and binding offset

I'm soon going to deliver my Thesis for printing. The printing office are not going to do anything to the margins before printing, nor binding offset. I showed them the default twopage LaTeX margins, ...
1
vote
0answers
35 views

Extra right margin depending on textwidth

It seems that the right (outer) margin is changed from what I request, depending on textwidth. MWE: % !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode ...
1
vote
0answers
22 views

openright reseting

I have a rather larger document, where I use "openright": \documentclass[12pt,twoside,a4paper,openright]{report} I then have a few of my pages in the middle of the document where I use: ...
1
vote
0answers
28 views

Margins for the whole slide in Beamer?

I want to make a Beamer presentation with white margins at the edges, so the whole slide would be affected by these margins (including the color bars for my Berlin beaver theme, for example). So there ...
3
votes
1answer
98 views

How to include page margin into header and footer in memoir?

I wonder how I can achieve the following two things: I want to have defined page margins for the use of \marginpar notes and comments. The problem is that, although I use memoir with twoside option ...
1
vote
1answer
53 views

Margins in booklet using \includepdf

I have PDF that I am printing as a booklet using the following code: \documentclass{scrartcl} \usepackage{pdfpages} \begin{document} \includepdf[pages=-,booklet,turn=false,landscape]{doc.pdf} ...
0
votes
2answers
58 views

Top margin fancyhdr

I've been starting to use the \fancyhdr package now, using next commands: \newgeometry{left=1.5in,right=1.5cm,top=3cm,bottom=2.5cm,headheight=1cm} (after \begin{document} and after the input of the ...
0
votes
0answers
40 views

How to change margins based on paper size?

My document uses US letter: \ProcessOptions\LoadClass[letterpaper,twoside]{report}, with the following margins setup: \geometry{tmargin=25mm, bmargin=25mm}. Now, if I change the paper size option ...
1
vote
0answers
37 views

How can I adjust the external header/footer margin in memoir class?

I am working in a memoir class document, with a template I found on the internet and customised a bit. I would like to change the number's and header's place, putting it further from the edges of the ...
1
vote
3answers
179 views

Setting margins exactly

My thesis formatting requires 1.5-inch margin on the left side and a 1-inch margin on the three remaining sides. Since all pages must be printed on one side of the page, I used the following: ...
0
votes
1answer
37 views

change the vertical distance between lines inside an enumerate

I want to know how to use a command like \enumerate but more compact. Here's an example: I'm writing this problem using \enumerate. In this way: Let $\sP$ be a property of morphisms of schemes ...
8
votes
2answers
183 views

Is it possible to typeset with angled margins?

I'm typesetting a book using memoir in XeLaTeX, but on some pages, as an accent, I would like to make an angled margin, something like this: Even if I have to define the page limit separately ...
4
votes
1answer
38 views

Nested `mdframed` environments and footnotes

Suppose that you have two mdframed environments, one nested inside the other, and a footnote in the first mdframed environment but not in the second. See the MWE example below. ...
0
votes
1answer
40 views

Center a title when left and right margins are not the same

I am using different margins for the left and right side : \usepackage[ a4paper, top=2cm, bottom=2.5cm, left=4cm, right=3cm, headsep=25pt, headheight=14.5pt ]{geometry} % Page margins ...
1
vote
0answers
35 views

Change geometry of single table [duplicate]

I have a wide table, which by default makes the page look like: | xxxxxx | | xxxxxx | | ______________ | | | || | | || | ______________ | | ...