{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

3
votes
1answer
114 views

How to change margin of the document title?

I want to move the title of my document up in order to save space. I can't figure out how to do this. This is what I have in LyX And this is how it shows up in PDF. I'd like to move it up.
2
votes
1answer
49 views

removing an extra column from a resume template

So I downloaded a resume template here: the template .tex file. Basically after the first \section{Contact Information} section, I'd like everything left aligned. The reason is that I am making a ...
3
votes
1answer
74 views

Right margin with two lines: is this something to be concerned about?

MWE [note, this must be compiled via XeLaTeX]: \documentclass[11pt, twoside]{article} \usepackage[showframe, top=0.5 in, bottom=0.5in, left=1in, right=1in, includehead, includefoot, headheight = ...
0
votes
1answer
108 views

Changing margins in .sty

I'm trying to change the margins in an input .sty. I'm trying to set different margins for the first and second page. I've managed to alter the margins but the first paragraph in the second page has ...
2
votes
1answer
163 views

Marginalia inside tcolorbox

I created some fancy tcolorbox for writing solutions of the problems: \documentclass{scrartcl} \usepackage[breakable, many]{tcolorbox} \usepackage{changepage} \usepackage{lipsum} \NewTColorBox[auto ...
3
votes
1answer
65 views

Equation left margin

I have equations inside an environment which has a larger left-margin than the main text (analogous to an enumerate/itemize environment, implemented with the changepage package's adjustwidth ...
3
votes
2answers
93 views

Footnotes and broken margins

Suppose that for random reasons I want the footnote mark before the text it is related to instead of after it. Then the code \documentclass{memoir} \begin{document} Hello my name is Gaussler and I ...
2
votes
2answers
94 views

Stretch line to \textwidth without starting a new line

I have a figure, containing three subfigures with captions and a caption for the whole figure, that all together takes more than a whole page. I can change the geometry for the particular page where ...
0
votes
0answers
23 views

twoside making wrong margins [duplicate]

I'm using twoside on my article. The first pages in the report (Abstract and preface) has the correct margins (larger margins to the right for left-pages, and larger margins to the left for ...
1
vote
1answer
41 views

Setting margins with esami package

Is there a way to customize the margins of the document while using the esami package? I've tried geometry, fullpage, etc., with no success. The documentation says nothing about doing such thing.
1
vote
1answer
78 views

Chapters number moves out of margin

i'm new to LaTeX and got a problem. The picture says it all... When my number of chapters exceeds 9, the second digit moves out of the margin.... I have copied the following layout, for the ...
2
votes
1answer
59 views

hrule exceeding margin in second column

I'm using tabular to make two columns of different width. Ideally I would like to have the title of each column under which there would be a horizontal line until the end of the column, for the first, ...
1
vote
0answers
16 views

Inserting abstract{} changes margins of the page [duplicate]

There is the template I have to use for a papaer and it looks like this: \documentclass[a4paper,11pt]{article} \usepackage{graphicx} %%% for including graphics \usepackage{url} %%% for ...
2
votes
0answers
48 views

Trying to print to 11x17 as a book, but scale pages with booklet, margin problems

I'm trying to print a book to be bound in signatures for a finished size of 6x9 inches. My printer duplexes but only prints 11x17. I used the booklet package and set source to 6x9, but when the ...
2
votes
1answer
124 views

Remove top margin in multicolumn \enumerate

I am trying to combine the multicols and enumerate environments (alternatively, the multicols and enumitem packages). Basically, I want to get rid of the top margin when having enumerate inside of ...
3
votes
1answer
122 views

Width of image = headwidth when head is textwithmarginpar

Using scrbook and scrpage2 with a headwith of textwithmarginpar, I am trying to set individual images in the textbody to this wider headwidth. \hoffset is 0pt. Adding up \textwidth, \marginparwidth ...
2
votes
1answer
268 views

from A4 paper to A5 and keeping the number of characters per line

I have written my thesis for A4 paper using the memoir class. I would like to print one version on A5 paper. Is there a way to reduce margins automatically in order to keep the same layout for the ...
4
votes
2answers
65 views

Text boxes that go into the the margin in a two column article

I'd like to highlight some important quotes in my article by writing them into floating (invisible) boxes, that go half into the (left/right) margin and half into the respective column. I'd prefer a ...
0
votes
0answers
25 views

How to write text vertically right/ left to the margin to the whole document? [duplicate]

I want to write text vertically right/ left to the margin to the whole document. A sample figure is shown below. Is there any way to do this? Please suggest.
2
votes
1answer
78 views

My frame is too big for the limits margins, How do I add more space. to have all my content complete in my presentation

My frame is too big for the limits margins, How do I add more space. to have all my content complete in my presentation. This is the code \documentclass[aspectratio=169,draft]{beamer} ...
2
votes
0answers
21 views

Chapter-Header Font Size - Too Big [duplicate]

I'm using the book class for a particular document, and I've run into a bit of problem. I don't know exactly how to explain this, so I'll just post an explanatory picture instead of sounding obscure. ...
2
votes
1answer
60 views

Header margin bigger

I'm trying to make the header "margin" bigger. It is to close to the edge. I've been trying to make \setlength{\headheight}{10pt} larger but then the page number moves to much down? Any thoughts? ...
3
votes
1answer
114 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
66 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 ...
2
votes
2answers
149 views

Figure or longtabu/longtable causes bottom 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
46 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
120 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
83 views

Text out of margin and footer for bibliography [closed]

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
62 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
89 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
42 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
183 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
65 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, ...
4
votes
3answers
784 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
103 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
60 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
1answer
92 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
297 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: ...
3
votes
1answer
48 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
38 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
58 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
141 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
96 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
41 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
151 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
108 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
30 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
64 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
49 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
171 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 ...