{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
1answer
13 views

Conditional text height based on paper size

How to I make the text height in a document change dynamically based on the selected paper size (letter or A4). \documentclass[a4paper]{article} \setlength{\textheight}{9.2in} % change this ...
0
votes
0answers
22 views

mdframed top of page

Ok, so I've been trying to find a solution for this to no avail: I want to place a colored text box at the top of my document with mdframed, and I want there to be no margin between the top of the ...
2
votes
1answer
26 views

Problems adjusting typewriter fonts [duplicate]

I was doing my report, and I face to some problem with typewriter font; it was not adjusted to the text width. I don't find any related answer or topic. Here's my MWE: ...
1
vote
0answers
9 views

LyX is changing horizontal spacing between words depends on the line's length - it even changes the page margins

I'm writing a paper in Hebrew and the margins of the equations from both sides is just too small, IF the line is long. What I mean that it feels like LaTeX is trying to push too much into 1 line, it ...
2
votes
2answers
104 views

How can I place a 1 cm margin to a set pdf book (a6) to print

So I've already got my book ready set for a6 paper: contents, latex compilation, and I'm already satisfied with the end result of pdf I've got. However I've noticed that it'd be good to add a small ...
1
vote
0answers
84 views

How to properly change from A4 to 24x17 cm format? [closed]

I have my PhD thesis in a a4paper document book in LaTeX. Just like: \documentclass[a4paper,10pt]{book} The thing is that now I realize I need it in a 24x17 cm. Fortunately, I have all my figure ...
3
votes
1answer
42 views

How to make a layout with colored boxes around sections

I am trying to reproduce the following layout with latex: Is there any package or document class made for such a layout? The example is made in word using tables. But I think using tables in latex ...
0
votes
1answer
29 views

how to move a rotated of 90 deg text on the left bottom corner of the page?

I would like the text on the bottom left corner of the page. Instead, the text is on the top side of the page. I am trying to move it down, I deleted \centering and I tried also other options I set ...
3
votes
1answer
16 views

\centerline ignores page margin

I have the following page which I am trying to get the first line to be centered without affecting the other text. However, using \centerline{} seems to ignore the page margin and does not wrap text ...
1
vote
1answer
130 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} ...
3
votes
1answer
29 views

Forcing longtables width exacly within text width

I've been looking for solutions of this problem but I only found solutions that uses small or footnotesize for table font letters, or \setlength\tabcolsep for columns width adjustment. But these ...
11
votes
2answers
5k views

How to reduce the margins in KOMA-Script

I am making a report using LaTeX. It is looking fine but there is a really large space taken up by the margins. Here is the main tex file: \documentclass[fontsize=13pt]{scrreprt} ...
3
votes
1answer
38 views

Two columns with different background color and height of whole page

I want to create page with two columns with different background color and height of whole page. What I was able to do is two columns with different background color but I can't set proper height and ...
1
vote
2answers
22 views

How to extend PStricks margins when working on a single larger page

I need to draw a big diagram in PStricks, using XeLaTeX. To be readable, I want to draw it on a large page, which dimensions I manually set. Here's a MWE : \documentclass[11pt]{article} ...
1
vote
0answers
24 views

changing margin for part of the document

I want to change the margin in the middle of the page in a twoside document. The contents in this section (with new wider margin) happen to continue on to the next page. And I am having a hard time ...
0
votes
1answer
49 views

How to Remove All Whitespace around text? [closed]

I would like to remove all spacing around text. Vertical and horizontal. I have solved this problem before but I cannot find the source. I want to read the document on my phone's screen which is ...
3
votes
1answer
48 views

How to position page number at 2cm from top 2.5cm from right

I need the page number to be 2cm from top and 2.5cm from the right (in the top right corner) I'm using the below margins \usepackage[left=4cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry} Can you ...
0
votes
1answer
82 views

Indenting in a description environment margin problem

I have a problem with the solution in this post if I don't want bold text for the items. I changed the code as described below. But the text of the item (e.g. Animal1:) is now in the left margin of ...
0
votes
1answer
201 views

Reduce page margins using the res document class

In order to make my resume more dense and get more content on a page, I wanted to reduce page margins. I had been struggling with this issue for a long time and couldn't find any good complete ...
2
votes
2answers
30 views

Enumerate with item name breaking margin

I'm using LNCS style in my document. When I do enumerate with item names, the names seems to get out of the margins: Currently I use Geometry for the margins: ...
1
vote
1answer
26 views

Article class letterhead with logo on first page and different margins on second page

I've been struggling with this for a couple of days. I can't find a good solution for making this letterhead. I want to have the text justified as on the guidelines, but only on the first page: So it ...
4
votes
1answer
28 views

How to place black stripe down non-spine side of page in book

I am using the book class, and I have four (possibly five) pages in the middle of the book that I would like to make it easier for readers to find when flicking through. To this end, I would like to ...
3
votes
1answer
1k views

Can not find how to change the size of text blocks

I am looking at a CV template, and I can not figure out how to make the description text blocks wider on the right. The blocks I am talking about are the ones similar to the block starting with ...
0
votes
1answer
22 views

beamercolorbox width whole page but text in normal textwidth

I would like a beamercolorbox to extend wd=paperwidth, but text content only to cover the original textwidth and position. Is there some recommendation for doing it? Thanks, Luis
1
vote
1answer
96 views

There seems to be a problem with the Footer and text [Screenshots attached]

It's been quite sometime, and i have noticed that on some pages, in my report that actually overlap with the footer. The footer is generated perfectly but the text seems not disciplined in some ...
0
votes
1answer
23 views

reduce margins for documentclass book?

I am using documentclass book but want to shrink margins to 0.5 on each side and not have margin notes so the text can be wider. Is there any way to request that or is that not legal for a book?
1
vote
1answer
37 views

Change margins for one item in a beamer slide

You can see that the equation is cut off at the right side of the slide. Can I reduce left margin only for this item? \begin{frame}{Conditional Hazard Ratio under Competing Risks} \begin{itemize} ...
4
votes
1answer
37 views

How to get exact value of \leftmargin

I need to extract the exact length of my left margin at a specific page in the document but \leftmargin doesn't seem to provide the correct value. \documentclass{article} ...
1
vote
0answers
42 views

Expand top margin of single page - ToC

I have a ToC with only a few lines too many to be in one page. I wish to get everything into one page and still looking good. With \addtocontents{toc}{\protect\enlargethispage{\baselineskip}} that ...
1
vote
2answers
27 views

Altering font size and/or margins in Table Of Contents without altering the other pages

I have almost finished dissertation in LaTeX (yay!) however my table of contents goes slightly onto three pages (so only 3 sections of a chapter on the third page) is there any way of changing the ...
0
votes
1answer
55 views

Letter with address in the Margin

I'd like to format a letter in line with this image: Instead of the usual three-part layout with Header, main body, and footer, I'd like to split it up into four parts: Header and footer across ...
1
vote
1answer
17 views

Margin issues with text after quotation and in overall

I'm a newbie with LaTex and could find answers on my problems relatex to LaTex through this SE group. However, I currently have an issue with the margins. Maybe my questions were too specific to find ...
4
votes
2answers
33 views

Size of a matrix is too big to fit inside text block

I know there's other topics with this kind of question, but I tried a few solutions and just got errors... My code is: \documentclass[12pt,a4paper]{article} \pagestyle{myheadings} ...
1
vote
2answers
242 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
3answers
1k views

Leaflet margins to compensate printer margins

Leaflet provides a convenient way to build flyers in LaTeX. However, I've run into a problem where I could not figure out how to adjust the page margins in order to compensate for the printer margins. ...
4
votes
1answer
44 views

Longtable does not fit the page margins

I am trying to fit a long table within the page margins. I tryied to follow the suggestions provided to other users on the same topic, but nothing seems to work. Any help would be more than ...
1
vote
1answer
66 views

Left Content Bar/Area

I am working on a template for papers and documentation. Sometimes, the authors have "key facts" or other items they wish to callout in a left content bar (xxxx is left bar, ccc is main content): ...
1
vote
1answer
19 views

Turn off book style margins for amsart document class

Is there some way to turn off the alternation of larger left/right margins ("book style margins") when using a document class that turns this on by default? I'm looking to do this in particular with ...
6
votes
2answers
2k views

How to change the margins for a landscape-orientated longtable in classicthesis

I am using the excellent classicthesis to typeset my thesis. It looks great, and I would be loathe to change unless I had to, but I've run up against a problem. I have a number of longtables in the ...
1
vote
1answer
25 views

\includepdf puts title section below top margin

I'm inserting an pdf file for a section with the command \includepdf[scale=0.9,pagecommand=\section*{\begin{center} ANEXO \end{center}}]{Oficio5S.pdf}, so the pdf is inserted in the page ...
2
votes
0answers
73 views

List spacing being ignored in parcolumns environment

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 ...
1
vote
1answer
79 views

Reducing upper and lower margin in shaded environment

I am using \begin{shaded} from \usepackage{framed} to highlight some formulae and theorems in some notes I am writing. I would like to reduce the upper and lower margin: how can I do it?
0
votes
2answers
46 views

Pagenumber change; causing margin (and marginnotes) to switch sides

I am using \documentclass{article} to formulate an a4paper in twoside mode; Every thing is fine ... Well nearly, there is a small glitch somewhere in the standard LaTeX defaults between the page ...
0
votes
0answers
27 views

Draw with PStricks on a large paper size

This question already received attention, but I still cannot find a satisfying answer. I need to draw a big diagram in PStricks. For readability, I want to use a single larger page in the middle of my ...
1
vote
2answers
82 views

Koma Script: Indent Paragraph but not Headings

I want to increase the left margin of paragraphs, but keep headings as they are. It should look similar to the layout of the hitec class. I am using the scrartcl class. So far I tried ...
3
votes
2answers
749 views

pdfx , trim size and margins

I'm using scrbook with forced margins and pdfx to produce PDF/X-1a compliant documents for the publisher. pdfx resizes the document and puts the trimed document in the bottom left corner. I'm not ...
6
votes
2answers
7k views

How to set vertical margins for beamer frame?

My talk slides use a mostly-white background image (supplied by organizers) that has some visual patterns at the bottom. I would like to tell beamer to not cover these patterns (as it makes text less ...
1
vote
1answer
65 views

Converting exact margin requirements to areaset command

How do I find out what \areaset command to use for a specific margin requirement, e.g., left=2.5cm, right=2.5cm, top=2.5cm and bottom=3cm?
2
votes
1answer
28 views

adjustwidth inside minipage produces overfull hboxes

I'm trying to typeset paragraphs with different margin widths inside a minipage. To do this I'm using an adjustwidth environment from the changepage package. This typesets fine, but (since my ...
1
vote
1answer
36 views

Can't set border size in scrbook document

I'm trying to set page margins in my document, but nothing I tried actually worked. For example I tried \usepackage[total={17cm,25cm}, top=3cm, left=2cm, includefoot]{geometry} but didnt worked at ...