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

How remove margin in a paragraph that continues in two pages with different margin?

I've created a document whose margins have different odd and even pages. I want to write a paragraph with no margin in two pages runs. If I use the command \newgeometry new paragraph starts at the ...
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 ...
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 ...
7
votes
6answers
6k views

Excel chart -> PDF -> LaTeX but need to remove white space

I converted an Excel chart to a PDF file by Save As.. PDF in Excel. It looks good, but there is a lot of whitespace/margin on top and bottom which I need to get rid of. The only way to do so seems to ...
34
votes
3answers
2k views

Nicely force 66 characters per line

I would like to have "something" (a package, a trick, a macro, ...?) that makes it possible for me to nicely play with the margins (or the layout) in order to set the average or typical number of ...
6
votes
2answers
4k views

How to determine head height automatically

I'm creating three documents with three different headers, containing images or large banners. Is there a way to determine the head height automatically or even better a way to change the head height ...
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 ...
13
votes
2answers
14k views

Remove vertical space at start of latex document

I have this test file which is supposed to put Hello there. near the top of the page but it does not work in so far as there is still tons of vertical space at top. How can I fix this? ...
13
votes
4answers
3k views

Remove margins for title page

The scrbook class calculates margins automatically. For the title page of a book, I would like no margins at all, so that the text would be centered properly. How can I disable all margins for the ...
5
votes
2answers
312 views

Different margins in title and chapters

I am struggling here with adapting school template for my document. The problem is that I need different margins on the title and on the chapter pages. Here is the code. On the title page is all easy. ...
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?
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 ...
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 ...
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 ...
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 ...
0
votes
1answer
287 views

Changing document format regardless of the document class!

Is there any way to change the format of a document such as single/double column, margins, etc regardless of the documentclass used? I am using iopart.cls and it does not have a twocolumn option. ...
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 ...
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} ...
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
1answer
87 views

Marginal enumeration not in the margins

Based on an answer to one of my previous questions, I implemented the following code which is supposed to enumerate examples discretely in the margins of my document: \documentclass{memoir} ...
3
votes
1answer
93 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 ...
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 ...
1
vote
1answer
89 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 ...
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.
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 ...
18
votes
2answers
628 views

How to typeset a complex layout like a page of the Talmud?

I need help for typesetting a complex typographic layout comparable to the Talmud, yet not necessarily in Hebrew. I found the parcolumns package, but it does not support footnotes and it also does ...
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.
3
votes
1answer
648 views

Correct \newgeometry retaining preamble settings

I am writing a 350-400 page document using the report document class. The entire document uses the oneside flag as per regulations however I need the document to switch to twoside at a certain point. ...
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? ...