{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
17 views

Changing Page Margins with Geometry causes empty pages [on hold]

I tried to change the borders of the pages in the entire document. Using geometry, I got 9 pages of blank output. Using this for the entire document, I got 98 blank pages. What am I doing wrong? Are ...
0
votes
0answers
27 views

Marginalia not appearing

If you look Here you will see a wonderful answer to a question I asked about how to insert Automated Marginal Documentation of Page Changes. I've been looking over the document where I used this and ...
1
vote
0answers
15 views

Lstlisting running off screen [duplicate]

The text in my lstlisting is running out of screen on the right. I googled, but only found problems with the code box's position on the left side, and white lines. My problem is that it does not know ...
3
votes
0answers
69 views

Changing top margin for second page only? \vspace inserts extra whitespace

I am trying to format a LaTex template for pandoc output from .md to pdf. The document is for lengthy university papers requiring very specific layout. The majority of the paper has 1 in margins all ...
0
votes
0answers
25 views

How can I change the bottom margin in res.cls LaTeX file?

I'm using \documentclass[margin]{res}, I can change the top margin by using \topmargin=-.5in. But I don't know what to do for bottom margin. Help?
0
votes
0answers
25 views

Controling left margin when dealing with tikz picture, or better yet - centering tikz picture properly [duplicate]

I have the following tikzpicture: \documentclass{article} \usepackage{parskip} \usepackage{amssymb} \usepackage[fleqn]{amsmath} \usepackage{tikz} \usepackage{relsize} \begin{document} ...
0
votes
0answers
22 views

Are the default margins good enough for a book? [duplicate]

I'm writing my Master's Thesis in LaTeX, using the bookclass (maybe I should have used the memoir one, but now it's too late) with the twoside option. I thought the larger margin was that in the ...
7
votes
1answer
95 views

Why are default LaTeX TOP and BOTTOM margins so big?

In the question Why are default LaTeX margins so big?, it is explained very well why the side margins have the large size they have (compared to most Word processors): The smaller line width provides ...
0
votes
0answers
29 views

how to do a very Front page with Special Tables? using cropmarks? help!

how to do a very Front page with Special Tables? using cropmarks? help! Is there a better way insted use word? and how to insert a footnote with a special format? Could you guide me? Thanks in ...
0
votes
0answers
45 views

I'd like to fill my page margins with art. How can I go about doing that?

I am guessing TikZ is going to be involved somewhere in the answer, but I may also want to put in images I created in other software into the page margins. How might I go about doing something like ...
0
votes
0answers
74 views

Formatting like this sample

I'm writing my dissertation and have difficulties in producing the same formatting as in the sample. Can anyone help? There are several requirements here: CHAPTER NUMBER: TITLE (in captions and in ...
1
vote
0answers
56 views

how do I make latex allow breaking a line whenever reaching line boundary

I started writing my HW in latex, I use an online latex editor+compiler. Sometimes, when I write long math expressions, the expressions exceed the right boundaries of the page. I've seen that it has ...
3
votes
1answer
30 views

How to change margins when using termcal

I'm using term cal on a syllabus. I want to type a lot of text within the columns of my syllabus calendar, so I want to use as much of the width of the page as possible for those columns (on an 8.5 ...
3
votes
1answer
41 views

Can I align something to the right using tabbing?

I have two questions regarding the "tabbing" environment. Basically I am trying to set up formatting for parallel translation. I would like the original Chinese aligned flush left with the English ...
3
votes
1answer
51 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
29 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
59 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
84 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
99 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
47 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
78 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
61 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
18 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
29 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
55 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
47 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
14 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
23 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
39 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
85 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
82 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
43 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
61 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
18 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
44 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
28 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
37 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
62 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
38 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
66 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
42 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
57 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
45 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
51 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
35 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
87 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
56 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
232 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
43 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 ...