{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

1
vote
1answer
8 views

How can I prevent \newgeometry from affecting bottom margin when changing the side margins?

\documentclass{article} \usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry} \usepackage[demo]{graphicx} \usepackage[english]{babel} \usepackage{tikz} \usepackage[utf8]{inputenc} ...
0
votes
1answer
28 views

I have a problem in the output PDF margins

I have a problem in latex template of Circuits, Systems, and Signal Processing journal the output file has not equal margins from left and right, and has a large margin from bottom of the page. I ...
0
votes
1answer
39 views

Figure or longtabu/longtable causes buttom margin overflow

I have been searching for a while now without any luck, so I hope you can help me. The problem is that when I insert a figure/longtabu on my page, the text below is running out of the page, like this ...
3
votes
1answer
33 views

Unexpected margin

I have the following code: \documentclass[11pt, a4paper]{article} \usepackage[margin=1cm]{geometry} \usepackage{showframe} \begin{document} \fbox {% \vbox to 4cm{\hbox to 4cm{\fbox{% ...
3
votes
1answer
52 views

beamer margins in custom template

I have made a beamer template and I want to change the margins, especially the one of the main body block, from the template itself. I have read about \voffset and all the other margins from another ...
1
vote
0answers
27 views

Text out of margin and footer for bibliography

Well its been a great journey since past one and half month and I am happy that I managed write my dissertation with latex. Almost coming to finalizing stage, I figured out I have severe alignment ...
1
vote
1answer
53 views

Left margin of a tex document

I have used the instructions below to start a document. I would like the left margin to be smaller than it is at the moment. How do I do this? \documentclass[12pt,a4paper]{report} ...
1
vote
1answer
37 views

Change page layout at begin of each page

I want to have very different page layout for even and odd pages. To solve this problem i try to use atbegshi and geometry packages. But it takes a strange result: after \newgeometry executed page ...
0
votes
0answers
38 views

Margin \setlength

Well, I'm trying to change the \voffset margin, acording this site. http://en.wikibooks.org/wiki/LaTeX/Page_Layout To use a margin like 0.5in so I'm using documentclass{memoir} ...
0
votes
0answers
32 views

How to contain the Program Listing in the Appendix within the margin?

I have added the Code Listing using - Insert -> File -> Child Document
3
votes
1answer
60 views

How can I add a reasonable padding to this bar chart?

I’m trying to add a uniform padding to all sides of this bar chart. In a different answer on tex.SE I have found the following code, however, I wasn’t able to find values for xmin and enlarge x to ...
3
votes
1answer
42 views

Automated Marginal Documentation of Page Changes

I have a recollection of having seen this answered here before, but I spent the last hour looking for it and failed, so I'm asking (maybe again): I'm translating a document. I'd like to keep track, ...
0
votes
0answers
43 views

Page margin problem in geometry package

I use geometry package for page margins. When I use it as below, the actual page margins are not true. I can understand this when I print out the document. I have to make the page margins the same as ...
4
votes
3answers
106 views

How to eliminate over-specification in h and v warning in Geometry package?

I use a memoir class template as the basis for my own thesis. It includes the geometry package. This produces a warning but do not appear to impact on the compiling of a pdf. I use pdfLaTeX. Here is ...
1
vote
0answers
38 views

print crop margings for bindingoffset

I would like to have a template for reformatting some arbitrary \LaTeX document in a way, that I can print and cut it, to glue it into my lab-book. To this end, the output should introduce a ...
0
votes
1answer
31 views

problem with distribution of subfigures

I've been trying to arrange my figures in my beamer presentation as the attached example without success, could anyone please give me an example to do so? I like the way it is arranged and the margin ...
0
votes
0answers
15 views

Letting Lyx ignore margins for equations only

I'm using the default article template in lyx. I want to add one exception to it's margins preferences - Let equation break margins. I want that in order allow long oneliner-equations.
0
votes
1answer
64 views

Set Margins without the Geometry Package

I am using an irregular (for LaTex) paper size, but common for book manufacturing. The right/left margins I get are about 1/3rd too narrow. How can I change them without using the geometry package? ...
3
votes
2answers
59 views

Colorbox of page width, INCLUDING margins

I want to make a header like on the picture below: But I don't know how to force colorbox to overflaw in the margin. The best I got is: I try to use \hspace but it only moves the text: ...
2
votes
1answer
35 views

Emulating article class margins with the geometry package

I apologize if this is an obvious question, haven't been able to find a straightforward answer to it. My issue is this: I prefer standard article class margins, yet I need to use the geometry package ...
2
votes
0answers
33 views

Why does minipage have different top/bottom margins for math environments? [duplicate]

My goal is to create a framed minipage environment that will contain text and math environments in varying combinations. I noticed that the top (and bottom) margin of the minipage is quite a bit ...
1
vote
0answers
36 views

increase margins of floats page

I have several sections in my article, each with a sizable (~22 lines) code listing explaining the concept of that specific section. I do want to float my listings, as they look nasty if broken off ...
3
votes
1answer
67 views

How do i add a blue box around the section number?

I vant to make the section design like shown on the picture below. So far i have managed to get the section numbering in the margin, but I have no idea how to make the box (or change the fonts in ...
3
votes
1answer
69 views

How do I make a very, VERY specific horizontal line?

I am having a lot of trouble while formatting my resume. Everything is done except for one last feather in my cap: I want to have a horizontal line (below the name title) that starts at the left side ...
2
votes
1answer
19 views

Stopping text short of righthand side ``date'' column in -res- class?

I am using the res class to make a CV (I know its outdated; path dependency) I would like to have all the dates on the righthand side in a column of their own (with no text running under the dates ...
1
vote
1answer
59 views

How can I modify the classicthesis margins only for the tables?

I would like to include some longtables and deluxetables in my PhD thesis written with classicthesis, but I find two problems: The deluxetable is not floating. The longtable is truncated on the left ...
2
votes
1answer
86 views

White fields in ltjsarticle class

This question is extention for other my question Replacing \fancyhdr with \titlesec in complicated design documents. When I use solution from answer to prevous question with LuaLaTeX and ltjsarticle ...
0
votes
0answers
29 views

Why is the text in the body not \textwidth (but figures and captions are)? [duplicate]

My problem is that I set my margins to 1 inch. I would expect the text in the body to span across the body such that the left and right ends of the text would be 1 inch from the edge of the paper. ...
3
votes
1answer
46 views

Formatting an equation environment to fit within the margins

\mathcal{P}^s_{\delta}(F) = sup \Bigg\{ \sum_{i}|B_i|^s : \{B_i\} \text{is a collection of disjoint balls of radii at most $\delta$ with centres in F} \Bigg\} This piece of text wont stay in the ...
0
votes
0answers
25 views

Problem with large gaps in scrreprt with setspace

I am using the documentclass scrreport with the twoside option. Therefore, latex tries to stretch the content on a whole page rather then leaving a gap on the bottom of the page. This produces ...
3
votes
2answers
60 views

How to reclaim space from removing headers and footers

I'm using the fancyhdr for headers and footers in most of my document, however there are some pages, such as the title page, for which headers and footers aren't wanted, and for these pages I've set ...
2
votes
0answers
22 views

List spacing being ignored in parcolumns enviroment

I am trying to make a 2 column resume using parcolumns but I am having a problem where any changes I make to the itemize or description environments are ignored if they are inside the parcolumns ...
0
votes
0answers
16 views

Split format for starting text in the same page

Need some help with this template... I have this code in the main text. ´ \documentclass[]{friggeri-cv} \usepackage{ragged2e} \usepackage{tabularx} \usepackage{xcolor} ...
4
votes
2answers
135 views

Add some vertical text on the margin of document?

I like to put url in the left/right margin and align it vertically like arXiv (see figure below). Here is a MWE: \documentclass[10pt,a4paper]{article} \usepackage{lipsum} ...
1
vote
1answer
36 views

how can I change spacing between author listing and left margin?

I am using a certain style that has a certain spacing between left margin and author names (listed as name, affiliation, etc. one next to each other in small blocks). There are only two authors, and ...
1
vote
1answer
28 views

\rule Margin Spacing Issue for Horizontal Line

How can I get the horizontal line to not enter the right margin. It doesn't look symmetrical the way I have it. Ideally I would like the horizontal line to be the same distance from the side of the ...
2
votes
1answer
298 views

Why are margins unequal?

I have set them this way: \usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry} But the left margin is bigger than the other (which are equal as should be). Whats the problem? EDIT: I ...
3
votes
1answer
58 views

Unwanted title box on first page of a part

I used the code provided by Gonzalo here Chapter Title in rotated vertical box at the margin The problem I have are: I am using \parts also to divide my document and the box appear in the part ...
3
votes
2answers
119 views

Changing the font size in koma-script modifies page margins

I'd like to use the koma-script scrartcl class with a font size of 10pt, but when I use the document option 10pt, not only the font size decreases but also the space user for the text. Especially the ...
3
votes
0answers
55 views

A0 (landscape) sheet inside A4 paper

Well I "can" do this using the koma options.. However it results in a warning and the effect isn't completelly what I like it to be. First the way I do it is: \clearpage ...
1
vote
1answer
70 views

Reducing page margin of Springer LNCS format

I am using Springer LNCS format to author a paper. However, the page margin seems to be too wide. How can it be reduced to a decent value? Here is the CLS style file. Because of post size limit, I ...
4
votes
1answer
68 views

Where's top margin actually measured from?

I'm typesetting a book using memoir class as follow. Final book size: 14 x 21 cm Two side Has running headers. Margin: inside=0.75in, others=0.5in The header/page number section is just too close ...
3
votes
0answers
108 views

How to set a binding offset with tufte-book class?

I'm typesetting a book using the tufte-book class. For printing I need to set a binding offset (say, 0.5in). However, I can't seem to get this to work using the geometry package settings as one would ...
0
votes
0answers
24 views

changemargin indent

I'm making a report using latex and I've used changemargin command in order to center a single figure. My issue is that when I end the changemargin command the rest of the text appears without the ...
2
votes
1answer
61 views

mdframed margins

I'm new using mdframed package and I stumbled upon with \mdtheorem so I created a definition and I want to use it at the beginning of the page, but the problem is that there is a space in blank ...
4
votes
1answer
64 views

How to print “string” of first or last \label{string}, in running headers and margins, dictionary-like, with KOMA class?

I need to typeset a book where sections are identified by a string, like "PLA 1", as dictated by the book's editor (the publisher calls these strings "cite-keys".) Sometimes there are a few sections ...
2
votes
1answer
67 views

Beamer bibliography item not shown with Madrid theme

Consider the following MWE \documentclass{beamer} \usetheme{Madrid} \usepackage[style=authoryear-comp,backref=true,backend=biber]{biblatex} \addbibresource{biblatex-examples.bib} \begin{document} ...
1
vote
0answers
85 views

Lyx - Enable emphasized text hyphenation, prevent overflow

I use emphasis in Lyx to indicate variables in a description of a computational algorithm. Some of these variables have a long name. Lyx does not attempt to hyphenate these variables when they enter ...
1
vote
2answers
47 views

A simple way to make a line separating the text and the margin notes?

I've done the following: And I'm trying to make a simple line to separate the text from the margin notes. It's the same as the answer in this question, but it seems too complicated to implement (or ...
2
votes
1answer
48 views

How to ignore left margin and move centered math equation to the left?

I have a following equation I need to move it a little bit to the left because it is way to close to the right side and may get clamped while printing. Those equations are using $$ R=... $$ syntax. ...