{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

2
votes
1answer
114 views

Side Margin of a Paper

In many journals it is said to maintain "81/2-by-11 double-spaced typed pages". This means how many inch margin? That is what is the value of x in \usepackage[margin=xin]{geometry}?
1
vote
0answers
40 views

How to change LaTex paper left, right, top and botton margins? [duplicate]

I just want to change the paper left, right, top and botton margins in LaTex because I think the default margins isn't enough.
8
votes
2answers
134 views

Add a marker to the left of the text

I want to mark certain points in my text by adding a marker 0.5cm outside the left margin of the text (at the hight of the point that is to be marked out). The marker is drawn with tikz but could ...
7
votes
1answer
176 views

In the geometry package, what's the practical use of setting heightrounded=true?

In the geometry package, what's the practical use of setting heightrounded=true? The documentation says sth about avoiding cases of "underful vbox", but I don't see why I need to worry about it. When ...
1
vote
2answers
445 views

Page width problem in CV (Koma-script)

I am trying to compile my CV using the scrartcl document class. I am struggling a lot to reduce the margin on the right side of the page. If e.g. the university name is too long, it will follow on the ...
5
votes
2answers
318 views

How big should margins be on a typographically (and visually) pleasing CV?

Given that neither Why are default LaTeX margins so big? nor LaTeX template for resume/curriculum vitae explicitly touches on this topic, I'd like to close a gap in my understanding: How big ...
1
vote
1answer
205 views

How to to set a padding around the page body, draw a frame/border around it, and then add some margin?

What if I want to set a padding around the page body (on all pages), draw a frame/border around it, and then add some margin? The geometry package doesn't seem to have an option for this among its ...
2
votes
0answers
343 views

Margin Changes in the Table of Contents (memoir class)

The upper margin is supposed to be 1" throughout my document. In the table of contents it changes from 1" to less than 1". How may I make it consistent? Note: I am using the pwasu.sty style file from ...
4
votes
2answers
111 views

Setting Margins like in the attached file

I need you help because the command about setting margins are driving me crazy. I need to produce an output like the file here http://www.dmi.unict.it/~difazio/PROVA_Bontempi.pdf Please, could ...
4
votes
1answer
171 views

Double Spacing and Margins conflicting

I've got \usepackage{setspace}, and I'm having issues with my margins. When I use \doublespacing it adds a blank line before the first line of text on each page. Is there any way to have double ...
4
votes
1answer
333 views

List of tables and List of figures right margin

In the list of tables and figures, how to set the same right margin for all lines of all the items? As an example, the following MWE: \documentclass{article} \newlength{\largNum} ...
3
votes
2answers
472 views

How to create different margins for odd and even pages?

I'm trying to create a document that has different margins on even and odd pages. This is what I've tried: \documentclass[a4paper,12pt]{article} \usepackage[slovene]{babel} ...
5
votes
1answer
324 views

Change margins in a0poster class

I want to make a poster using the a0poster package. I want to modify the text margins, so the text should be wider. I'm using boxes in a portrait, three column poster, but I have problem trying to get ...
4
votes
1answer
84 views

Unexplained Gap?

I'm trying to make a resume CV document, using a various packages for certain things. I'm not sure if I'm not noticing a conflict in these packages, or I'm being stupid when or comes to margins or ...
4
votes
1answer
221 views

Margin vertical rule on outside margin of twosided memoir

So I have found this code which puts a rule inside the left margin. How can I get the code to switch to the outside margin on a two sided document? I can't locate the original post, as it was on ...
5
votes
2answers
265 views

Custom border for glossary and index pages

I'm preparing a technical book in Latex using KOMA script srcbook class and I would like to add a gray border ONLY to glossary and index pages. The idea is to make them easy to find when the book is ...
1
vote
1answer
261 views

Set custom page text/line width in memoir for sidepars

I wish to lay out a page using the memoir package so it has dimensions something like this: # <-- 21.6cm (Letter stock) --> # # Margin | Content | | Note | Margin # ...
1
vote
1answer
52 views

My DVIWindo's text outline doesn't work right with \begin…\end{align*}

I'm probably out of date, but I use DVIWindo (32) (version 2.2.4) to preview the DVI files I make. It draws a blue box around the rectangular area used for text; it's turned on and off with the "Draw ...
0
votes
0answers
25 views

URLs out of page margin [duplicate]

I am writing a report in LaTeX. I am done with all of the work. Last thing that is remaining is that some of my references are going out of the margins and I don't know how to handle them. I Googled ...
2
votes
1answer
495 views

How do I set a hard minimum margin size with the tufte-book document class?

I'm trying to typeset my thesis with the tufte-book document class, and I'm having an issue with the margins. There is a rule (beyond my control) that all my text and figures must remain within ...
6
votes
2answers
629 views

Show current chapter number on each page margin

I'm making a reference manual using scrbook. I'd like to include a "tab" that shows the current chapter number in a 1.5cm gray rectangle on the outside edge of every page. Within the rectangle would ...
6
votes
1answer
2k views

Problems with the lstlisting environment (margin and white line)

Consider the following example: \documentclass{article} \usepackage{listings} \usepackage{color} \begin{document} \definecolor{light-gray}{gray}{0.95} \lstset{columns=fullflexible, ...
3
votes
2answers
294 views

Horizontal margins for margin notes in the tufte classes

From the picture underneath you can see that the tufte class does not provide horizontal margins for the margin notes. Thus the margin notes can go beyond the \textheigth. Is that normal or is it a ...
5
votes
2answers
104 views

Inconsistent margins using columns in beamer

Compare the two slides generated by the following code. \documentclass[t]{beamer} \usepackage{lipsum} \begin{document} \begin{frame} \lipsum \end{frame} \begin{frame} \begin{columns}[T] ...
3
votes
1answer
141 views

Indicating the beginning of a paragraph with a ¶ just inside the margin

How does one most easily typeset a paragraph marker inside the margin, at the beginning of every paragraph? There are different practices regarding the indication of paragraph boundaries. ...
2
votes
1answer
119 views

Multicolumn cells in tabularx overfill into margin

I have this table in my MWE. In the 2nd table, the cell colors seem to bleed over into the margin. I have tried to set various parameters with the tabularx and in the multicol to reduce this but it ...
0
votes
1answer
201 views

Interference between crop and (new)geometry

I encountered a strange behavior of the command \newgeometry when using the crop package. After the first call of \newgeometry the centering of the page layout is lost and also can not be restored by ...
5
votes
1answer
638 views

Scaling a multi-column TikZ/pgfplots groupplot to page width

I am trying to scale a pgfplots groupplot with multiple (and variable numbers of) subplots to match the \textwidth of a document. What I found is that there seems to be no direct relationship between ...
2
votes
0answers
108 views

How to set `footskip` on a landscape page? [closed]

I'm using geometry and pdflscape to have a particular page in landscape (detailed here). However, setting footskip via \newgeometry{..., footskip = 1cm} does nothing, because the system still assumes ...
1
vote
0answers
64 views

Borders a few millimeters too wide [closed]

I want my document to have exactly 3cm space at the left and 2cm to the right and the text to be from one border to the other. However the code below produces a document with 3.1cm border at the left ...
1
vote
1answer
129 views

Different \headheight in one document

I'm studying at a Cooperative State University and need to write a report about my activities at work. Our department provided us with templates for all kind of document we have to fill out and attach ...
0
votes
1answer
122 views

how can I correct the margin space in a journal manuscript?

I have a problem with preparing the manuscript in the latex macro pachakge. I put the svjour2.cls. (Springer latex class) and svglov2.clo in the TEX file’s location. However, after execution, the ...
0
votes
1answer
239 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. ...
1
vote
1answer
224 views

Customize the size of the shaded box

I am using \begin{shaded} from \usepackage{framed}. The problem is I am using it for examples which come inside \begin{itemize}, the shaded box's margin does not begin with the \item margin instead ...
2
votes
0answers
650 views

Decrease top margin of some chapters

I'm finishing my thesis in LaTeX, using class "book". I use a 1.5 line stretch with \renewcommand{\baselinestretch}{1.5}. Everything is ok, but I'd like the Abstract chapter (\chapter*{Abstract}) to ...
6
votes
1answer
3k 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 ...
4
votes
0answers
298 views

Tikz Nodes in margin gets overwritten by page-wide tikz environments

I'm trying to improve the typesetting of openly licensed books created by my company. We do the typesetting of all our books with LaTeX. The design of these books requires coloured environments that ...
3
votes
1answer
133 views

Trouble setting margins with Resumé header

I am trying to typeset my resumé in LaTeX and have created a header that I am really happy with. However, now that I am starting to fill in the rest of my information the margins I have set up to ...
9
votes
1answer
827 views

Indentation of sections and paragraphs to show hierarchy [duplicate]

I am having troubles with the format of a work that I'm doing. The default output of LaTeX looks like: 1.1. Section A Latex latex latex latex. 1.1.1. Subsection A-1 Latex latex latex ...
2
votes
1answer
290 views

Oneside cover within a twosided LaTeX document

I'm writing my thesis and I'd like to have a onesided cover while the rest of the document is twoside, so to obtain the text and figures well-centered within the cover. Here is my main .tex file: ...
3
votes
1answer
96 views

How to define margins of a document with page numbering at a specified place

I have to follow specific rules for an A4 document: upper and lower margins at 4.5cm page numbers centered at 3.5 cm I've succeeded to defined the margins with the geometry package but I'm ...
7
votes
1answer
2k views

Figure with two side-by-side subfigures that is wider than textwidth

I have a 2x2 array of subfigures and the ideal size I'd like them at is a bit wider than the textwidth. I saw this solution for a single figure (Custom margin settings for figure in LaTeX) but am not ...
3
votes
1answer
165 views

Mark in word and margin in paragraph

Anyone knows how to put a mark on a word? (1) Text:   (1) will be slightly raised as if an exponent. Also, how could shorten margins in a paragraph? Clip 10 mm left and 10 mm right?
6
votes
3answers
172 views

\listings environment inside \marginnote?

Is it possible to use \listings or similar environment inside \marginnote or in margins in general? \marginnote{ \begin{lstlisting} test \end{lstlisting} } If not, what would be a ...
2
votes
1answer
119 views

Table going past margins

I'm trying to create a header for my resume. I'm almost happy with the result, but there's a small formatting issue. I'm using a table to control where my name and contact info are placed. My name ...
2
votes
1answer
264 views

Beamer frame environment introduces 5.69pt vertical margin

I'm working on a beamer poster template where I need precise control over all margins. I got rid of most, but the mandatory frame environment(1) introduces a 5.69pt(2) which I cannot find(3). Observe ...
1
vote
2answers
90 views

O does not fit standalone class [duplicate]

Why are the top and bottom of the O cut off when I use the standalone class without any larger symbols? \documentclass{standalone}% \begin{document}% O% \end{document}%
7
votes
1answer
776 views

Geometry: showframe + landscape

I'm using \usepackage[showframe]{geometry} and I'm seeing that when I use a landscape environment (added by pdflscape package) the frame doesn't seem to be OK. Is this an erratum? Is there any way ...
3
votes
1answer
87 views

Multiple left margin bars using mdframed package

How can I get multiple left-margin bars using the mdframed package? I can get a single left bar using, e.g. \documentclass{article} \usepackage{mdframed} \begin{document} ...
0
votes
0answers
55 views

put a footnote just in down margin no near of body text [duplicate]

i want put footnote just margin down no near body text i find this where i can handle the space between body text and down margin but is hard calculate space for all my footnotes ...