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

For memoir class, just what does “typeblock” include.

The documentation memman.pdf for the memoir document class describes in Section 2.4 how to lay out the typeblock. But it never defines that term. Exactly what does the typeblock encompass? In its ...
2
votes
1answer
39 views

Make two-columned list start at same line as its section

Following this: Make list start at same line as its section I now have two columns, instead of four, but things don't work out, see for yourself (you can get res at CV in Latex): \documentclass[...
1
vote
1answer
38 views

Detecting overflow into margins of a compiled pdf

I have a fairly large pdf file compiled in Tex. I used XeTex to compile, though it doesn't matter for this question I think. I want to see if on any page of the PDF, any line, there is text ...
1
vote
0answers
37 views

Layout with frames [duplicate]

This is my first post! I have been around this Forum for some time, but I never needed to ask a question. Unfortunately I can't find a answer suitable for me Problem this time. I am trying to re-...
0
votes
0answers
31 views

LaTeX PDF output not aligned in PDF Viewer [closed]

When I build my tex file and open the PDF (has only one page) in Evince, the page is aligned to the right. It is as if there is an invisible page before the first page. Is this an issue with LaTeX ...
0
votes
0answers
25 views

detect overflow after \begin{sloppypar} … \end{sloppypar}

Some of my paragraphs overflow into the margins (some words or lines are just unbreakable because they are things like "(123,2323,23123,123123)". I am using \begin{sloppypar} ... \end{sloppypar} to ...
2
votes
0answers
36 views

trouble with margins in amsbook modification

I'm using the document class iuthesis, which is based on amsbook. I've modified the distributed version (1.2.0.23: source dtx available here, stripped cls file here, my modified version included ...
1
vote
1answer
23 views

setting margins in chapter titles (University class file causing issue?)

This is just my second large LaTex document so I'm still learning. And sorry if this is a duplicate, but I've tried to apply different solutions from various questions and I still need help overcoming ...
1
vote
0answers
26 views

multicols* environment breaks page margin

I'm trying to typeset a menu for a restaurant. I used the multicol-package to split the page in 2 columns. I have some categories (Starters, Main Dishes, Cheese, etc.) and each one of these contains ...
2
votes
1answer
31 views

Add extra margin on odd and even pages of two sided amsbook thesis

I'm writing a thesis using the amsbook class: \documentclass[a4paper,twoside]{amsbook} How do I set up an extra 1 cm left or right margin on odd or even pages respectively?
0
votes
0answers
18 views

Lateral tabs to find sections

I don't know if the layout I need has a specific name... Let me try to explain it. I would like to have lateral tabs on the outer margins of my document containing the title of a section (or any ...
1
vote
1answer
32 views

Automatically pick from one of N available table widths

Problem statement I am using a custom-written document class that makes excessive use of a relatively wide outer margin. To strenghten the eye's judgement for what constitutes the main text block vs. ...
1
vote
1answer
52 views

Blankpage after title, abstract, chapter etc

I have a document in B5 format. Originally it was "twoside" with different margins on odd and even pages. Now I want it with same margins, so I tried to delete the command "twoside" but blank pages ...
2
votes
0answers
11 views

Matlab2Tikz+PgfPlots Violating Margins

I use this command in matlab matlab2tikz('fig_blank.tex','width','\textwidth','height','5cm') in order to make a tikzpicture out of this matlab plot. My MWE in PdfLaTeX \documentclass{article} \...
2
votes
0answers
37 views

1 inch all around [closed]

I'm writing a paper in A4 paper. I want to set all margins to be precisely 1 inch. I'm using the geometry package with the following parameters. \usepackage[a4paper,left=1in,top=1in,right=1in,bottom=...
2
votes
2answers
28 views

Adding leftmargin to algorithmic

How do I set the left margin of an algorithm typeset with algorithmic so that the whole thing moves to the right? I've tried changing \leftmargin inside an algorithmic block, but it did not work. ...
1
vote
2answers
24 views

The tikz-cd package is over running the bottom margin is a particular class file

I am using a particular class file fundam.cls. However, when I add the tikz-cd package, the bottom margin overruns. I suspect it is because the tikz-cd package is changing the paper type, making it ...
0
votes
0answers
24 views

Latex table of figures invades margins sometimes

I have some problems with my list of figures. some figures invade the margins and other not. I don't seem to understand why sometimes it works fine and others not. the command i used is: \...
0
votes
0answers
33 views

Chapter Titles in the Left Margin

I was wondering would it be difficult to get section titles in LaTeX to show up in the left margin space in a way similar to this: http://practicaltypography.com/straight-and-curly-quotes.html I ...
1
vote
3answers
48 views

Margin of caption of table

I have a table which is wider than my usual margins. This results in the table violating the right margin. (putting table in landscape wont work because of the length) I want to have a caption of the ...
1
vote
1answer
15 views

How to create simple comments in a margin next to the Document?

I've been digging through tons of SE-sites, package documentations for reledmac and parallel and many other pages, but I couldn't find the simple answer to this question. So, in hopes that it might ...
0
votes
0answers
19 views

Aligning fancyheader with text margins [duplicate]

I have an issue with my header text not being aligned with my text margin. I use the following code for adjustment of margins and headers. \geometry{inner=3.0 cm,outer=2.5 cm,top=1.10in,bottom=1.5in} ...
1
vote
1answer
52 views

Floating subfigures

As you can see, my graphs are too big. I wanted them to float as "twins" so if there's much text on a page, the other pairs are shown on the next page. Is there any solution to set them at the right ...
1
vote
0answers
35 views

margins of a footnote

I'm a very beginner in Latex. I'm writing my phd thesis with the memoir class. Today I realized that the footnote in a page (and only in this page) doesn't respect the page margins.. what happened? ...
-1
votes
0answers
40 views

How to set left, right, top and bottom margin manually in LaTeX?

The command discussed in this site , i tried but error occurs ? can u plz tell how to set margin manually in easy way to my latex document ?
1
vote
0answers
29 views

Do presentations need margins? [closed]

When showing a presentation, slides are typically shown by projecting the contents onto a white projection screen. Seeing that the aim of margins is to have white around a block of text, margins are ...
1
vote
0answers
21 views

Full Bleed TikZ with Crop and Registration Marks

I've created some card-sized pages that I now need to adapt for full-bleed printing and trimming. Here's an MWE: \documentclass[border=0in, multi=tikzpicture, varwidth=false]{standalone} \usepackage{...
1
vote
1answer
27 views

Enlarge outer margin over two pages on twosided document

I am quite happy with adjustwidth* to enlarge the outer margin in a twosided LaTeX document. My problem is, that it doesn't seem to work if the environment is spread over two pages. \documentclass[...
2
votes
0answers
24 views

Conditional margins for printing

This is a follow up question to Different margins for on-screen pdf and for printed pdf. I would like different margins for on-screen viewing and for paper. So, if someone views the pdf on a screen, ...
3
votes
1answer
50 views

Different margins for on-screen pdf and for printed pdf

Is it possible to have different margins for printing from those shown on screen? I'm writing my thesis and for the paper version I would like a larger inner margin to allow space for the binding, but ...
39
votes
1answer
1k views

Handwritten comments and annotations in margin

Is it possible to typeset handritten comments and annotations in the margins around a parapgaph like in this example? What would be the closest approximation of this done in LaTeX?
2
votes
1answer
22 views

How to change page margins only for pages including graphics with the [p] option

I would like to reduce the page margins in my document only for those pages which include a figure embedded using the [p] option, in order to have some more space for my figures, as in: \begin{figure}...
1
vote
0answers
32 views

Uploaded .ps file generated with teXstudio completly ignoring the top margin

I am trying to upload a paper to be submited. I can export a .ps file using texstudio but when I check the proof of my submission, the original text in the .ps file is forced to be at the top of the ...
3
votes
2answers
60 views

tcolorbox: theorem numbering in the margin is too close to text

I'm using tcolorbox to draw boxes around my theorems. This package also has the option of puting the theorem numbers in the margin as you can see in my MWE below; see page 342 of the manual for more ...
1
vote
1answer
44 views

Todo comments:Not include and left align?

Is there a way to to do a \todo*{Hello} and not have the note show up in the ToDo and Notes area? Does anyone know how to do that? Or vise versa? Also, what about in the left side margin instead. I ...
1
vote
2answers
52 views

How to use a margin note and locally indent paragraph

I want to put a note in the margin of my text, but I do not want to change the margins of the entire document. I only want the margins of one or two paragraphs to change so the margin note can be ...
0
votes
0answers
40 views

How can I correct my margin?

I have used document class report \documentclass[12pt,a4paper,oneside]{report} For margin I have used \textwidth=144mm \textheight=8.5in In this case my left margin is 3.2cm and right margin ...
7
votes
3answers
171 views

Geometry for single page, redux

I'm bummed that this question is closed. I want to know how to do what the OP there wanted. So I'm asking again. Here is a MWE: \documentclass{article} \usepackage{lipsum} \usepackage[margin=1.5in]{...
0
votes
0answers
44 views

Footnote margins

I want to increase the right margin for my footnotes for 1cm. The right margin for the text is 4cm, so the footnotes should have a margin of 5cm. Does anyone know how to do that? My MWE (kind of): \...
0
votes
1answer
17 views

Setting Binding Offset (Gutter) in apa6 Class

How can I set binding offset (gutter) manually in the apa6 class in my thesis? I tried geometry package but it gave clash error.
1
vote
0answers
31 views

How can I fill a page with a minted included json file?

I'm trying to add some huge json files to my document and have no idea how can I solve this two problems. Code: \linespread{1.0} \subsection{File xpto.json for X = 1} \label{ap:json_xpto1} \beCengin{...
4
votes
2answers
49 views

Custom Paper Size, Geometry Package Class

I'm trying to compile a document to a custom page size and then have crop marks printed. I can't even get to the crop package because there's a geometry package clash and I don't know why. Here's a ...
3
votes
0answers
67 views

change margins of book class

I'm typesetting a book using the tufte-book class. All pages have left-side margin but in some pages I have to set the margin on the right side! Any ideas on how to get this?
2
votes
0answers
32 views

Make enumerate indent stretch

Some of my enumerate lists cause overfull hboxes. For example. \documentclass[12pt,a4paper]{article} \usepackage{microtype} \usepackage[scaled]{helvet} \renewcommand{\familydefault}{\sfdefault} \...
2
votes
2answers
56 views

Adjusting white space

I got a template I'm using for my report. Now I have printed it in A4 and think the is to much white space on all 4 sides of the paper. Reading the settings, I can't see where this is set. Anyone that ...
2
votes
1answer
69 views

How can I set text margins in a baposter document?

I have tried adding: \usepackage[left=2.5cm,top=3cm,right=2.5cm,bottom=2.5cm]{geometry} But that gives the error: ! LaTeX Error: Option clash for package geometry. So I'm guessing I can't use ...
1
vote
1answer
26 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 ...
2
votes
1answer
30 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: \documentclass[12pt,a4paper]{...
1
vote
0answers
14 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 ...
0
votes
0answers
36 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 ...