{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
0answers
52 views

\marginpar with pushback from right

I like to put references to book sections pertaining to class notes in the right margin. These are of the form XXXnn-nn for a 3-letter book title abbreviation followed by a range of section numbers. ...
2
votes
1answer
53 views

Methods to resolve long line overflowing into margin

My document sometimes has lines which slightly overflow into the margin, such as in the below example. I was wondering what different methods could resolve this issue, such as changing spacing between ...
0
votes
1answer
59 views

How to set the fonts of the latex file?

I am a newbie in LaTeX. I am editing a paper, which is two column. The first paragraph of the paper is the abstract. I want my abstract to satisfy the following requirement: The abstract should ...
4
votes
1answer
69 views

Make list start at same line as its section

I am trying to save space in my CV, so now please see this picture of it: Notice how Skills is aligned with its content, without leaving any blank line. However, Languages leaves too much empty ...
1
vote
0answers
35 views

TeX Padding of left margin [duplicate]

I am writing a document using \documentclass{book} but do not want a twosided document. All seems OK, however each alternate page has a different left padding. Using the showframe package (as ...
3
votes
0answers
100 views

Set a different layout for a single page in Memoir

I am setting a layout with facing pages and large outer margins, in order to accomodate a lot of margin notes. When it comes to the title page, I need to make a new layout in order to be able to ...
3
votes
1answer
539 views

Thesis template to B5 paper size. What about margins?

I successfully changed the paper size from A4 to B5 of the Thesis template downloaded from http://www.latextemplates.com/template/masters-doctoral-thesis I modified the main.tex file by setting ...
9
votes
1answer
307 views

can LaTeX help with book binding?

Recently, a colleague of mine has done his own book binding. He has used LibreOffice. I am wondering if LaTeX could be used and if it could provide more assistance than LibreOffice. The problem that ...
3
votes
1answer
68 views

“Temporarily” rendering PDF without page borders

When rendering documents in LaTeX, the document class determines the sizes of page borders etc. I do not want to change them. However, during the editing process, one usually looks at a file only on ...
0
votes
1answer
36 views

Specify via a flag during compilation with `pdflatex` that some commands are considered/ignored?

How can I create a flag, which allows to specify during compilation with pdflatex that some commands are considered/ignored? Background: I want to create marginal notes with \marginpar{...} but they ...
0
votes
1answer
40 views

How can I change the width of page in latex [duplicate]

I am wring the paper that is formatted by elsarticle. However, the margin between text and left. right page look big. Hence, the text length is very narrow. Could I change it in the file \...
0
votes
0answers
16 views

Pagenumbers vanished (from the printed version) after adjusting margins

I'm using Lyx. I'm trying to set 2cm top and bottom margins, in "Page layout" I also selected A4 paper, because that's the paper size I use (and without it the printed margins were not the right size)....
0
votes
1answer
45 views

How can I hang the bibliography cite key into the left margin like section numbers in memoir?

The memoir documentclass has the option \hangsecnum which hangs (sub)section numbers into the margin, and right aligns them to the left text margin. I'd like to accomplish the same thing for my ...
1
vote
0answers
46 views

geometry's bindingoffset seems to be ignored

The geometry's documentation tells: page 9: "bindingoffset removes a specified space from the lefthand-side of the page for oneside or the inner-side for twoside.", page 10 (caption of Figure 6): "...
3
votes
3answers
81 views

Left margin including first line

I'm trying to add margin to text but I have a little problem. I want to get rid of newline after first text. My code is \documentclass{article} \usepackage{lipsum} \usepackage{scrextend} \begin{...
0
votes
0answers
26 views

Standard textwidth with geometry package [duplicate]

I really like the way LaTeX puts text on a4paper (quite large margins), but I need to \usepackage{geometry} to change the layout of my appendix. What options should be used with geometry to make ...
1
vote
1answer
30 views

Why aren't leftmargin and rightmargin values (in mdfdefinestyle) having any effect on my theorem box? [duplicate]

I changed the value of leftmargin and rightmargin below from 1 cm to 15 cm, but there is no output change. My theorem box remains with the same width. \documentclass[a4paper,10pt]{book} \usepackage{...
0
votes
0answers
26 views

Setting the margin for chapters/sections/etc. in a class file

I would like to be able to configure chapters, sections, etc. to include a margin indent, while headers and footers for the page should use the standard margins. So for example something that looks ...
1
vote
0answers
64 views

Problem with \inouter and text justification

I am trying to add margin notes in ConTeXt (lastest beta) and for some reason I do not understand when having them in the main text, the main text which normally would be fully justified (without ...
1
vote
0answers
55 views

How to position braces (decorations) in longtable?

I am trying to put braces into longtable (to span them on some rows). But if a table position on odd and even pages differs, there is a problem with vertical alignment of these braces (decorations): ...
0
votes
1answer
118 views

ConTeXt: Avoid text overflow into right-hand margin

Minimum Working Example (MWE) \starttypescript [serif] [storybody] \definefontsynonym [Serif] [name:couriernew] \stoptypescript \definetypeface[story] [rm] [serif] [storybody] [default] \...
1
vote
1answer
69 views

How do I get this two-page, bordered page layout?

I seem to not be able to get the following style for my pages (printed two-sided A4, the "Front" represents the face that faces the reader by default) with the \documentclass[twocolumn]{article}: ...
0
votes
0answers
71 views

How can I trim margins, hopefully keeping the textwidth the same?

I started writing a rather large document with the default A4 paper size, two-sided, memoir format. I fear that the page size might need to become smaller than this, and my question is on how to ...
5
votes
2answers
77 views

Table of contents different margins

I don't know why I have different margins in my table of contents. It looks like this, and I would like to have all the lines with the same margin. a All of those are chapters, and Bibliography ad ...
2
votes
0answers
68 views

Increase margin between tilde and line of fraction [closed]

I've written a document with some complex formulars in it. I find the distance or the margin between a decoration of a variable, in this case a tilde and the line of the fraction, in which it stands ...
1
vote
1answer
84 views

How to add page numbers and rotated chapter title to the outer margin?

I'd like to have page numbers on the outer page border slightly bellow the center, and the current chapter title at the bottom but rotated 90 degrees counter-clockwise (i.e. to the left) such that it ...
1
vote
2answers
60 views

Custom command exceeds my textwidth

I have a problem I do not know how to handle: I need to include some small words of code - these can sometimes be longer names of something. To display this is a name of a code piece, I've made a ...
4
votes
2answers
545 views

framebox and margins

I have 2 minipages, the second of which is \frameboxed. The \framebox command seems to push the minipage out into the right margin, as you can see. [This is not the same as a previous question: ...
2
votes
1answer
31 views

Lefto/recto textblock alignment issue using memoir class

I'm trying to produce a 5x8 book for Createspace using the memoir class. My problem is the two text blocks on adjacent pages are far too close to the spine. So much so then when you print a proof the ...
3
votes
1answer
100 views

reledmac: narrower margin for footnotes, lining up with body + sidenotes

In a document with sidenotes and footnotes using reledmac, is there a way to expand footnotes into the margin so that the then-narrower footnote margin is the same as the part of the margin on the ...
1
vote
1answer
40 views

Reducing arrow margin in chemfig

Im trying to get a figure with a chemfig drawing to fit in my column. I cannot scale the entire figure with scalebox, as the text set with \chemname{} will be scaled too. \setatomsep{1.2em} \...
0
votes
0answers
23 views

Text goes out of bounds [duplicate]

I am having a problem on the appendix part of my research paper because the text starts to look like this The following is the code snippet that generated the line: \bibitem{featureEngineering} ...
1
vote
1answer
42 views

Output of \layout as plaintext

Is it possible to get the dimensions generated from the \layout command as plain text, so it can be used to set appropriate sizes when generating graphics in programs like octave. pointsize= 0....
2
votes
1answer
185 views

Align logo right in Beamer

I want to right align my background image (logo) in Beamer presentation. What's more I want to set logo to be partially visible - left half of the image should be visible on the right side of the ...
0
votes
0answers
14 views

Binding margin on Report double sided document [duplicate]

I'm writing a double sided report document. Exporting the PDF I will obtain a larger margin on the right for the odd pages, as usually encountered in books. But I would obtain a centred double sided ...
2
votes
1answer
25 views

Placing marginal label within multiline heading

I want to make section headings in an article-class document both multiline and having lables on thier margins. I'm using two boxes: one for a label and another one for text to force it to split. \...
4
votes
0answers
84 views

How to place cross references in center margin between two columns

How can I put all cross references in the center margin, with those for the left column vertically positioned above those for the right column? The text will wrap to additional pages, and the cross ...
13
votes
2answers
217 views

Generate automatic marginal notes when using a \ref for the first time

I would like to generate a marginal note showing, for example "Fig. 1" the first time I refer to a figure. I would like this to happen too the first time I refer to a Table or to an equation. I would ...
1
vote
2answers
112 views

page number in header next to chapter/section name

I'd like to place the page number next to the chapter/section name in the white space that's not underlined (like in the classicthesis package (I had a look at that package but it seems like the ...
0
votes
0answers
24 views

Text in Lyx out of the border

After having used the command landscape to rotate a Figure, I cannot have the text aligned within the margin of the page. I double checked that all the settings are correct and they, in fact, are. ...
0
votes
1answer
147 views

How to set the margin in LaTeX?

I want to set the margin like this: Paper size: A4 or US Letter US Letter first page Top 72 Left 54 Right 54 Bottom 54 pt US Letter other pages Top 54 Left 54 Right 54 Bottom 54 pt Font ...
2
votes
1answer
78 views

Setting custom margins using geometry package results in incorrect indent style of itemize

I'm currently writing a report and the professor asked me and also other students who do that to use a specific margin. My documents uses the article document class and also \usepackage[left=25.4mm, ...
1
vote
2answers
192 views

How to change margins in documentclass thesis

I am using a template for my thesis and I would like to change the margins. Actually, I'm satisfied with all the margins, except the top margin which is too tight. But when I try to use geometry ...
3
votes
1answer
102 views

Memoir spinemargin+textwidth+foremargin too wide for pagewidth

I've been trying to learn the details of the memoir package due to its flexibility. However now that I've tried to emulate a paperback format I'm hitting an error which I don't understand where it's ...
6
votes
2answers
445 views

Tufte layout in “Painless Memoir?”

I'm trying to bring together two styles, the airy Tufte's page layout ... and Michael OKane's "painless Memoir" document found on this site. I've tried to edit OKane's template directly; I've ...
1
vote
0answers
88 views

Using extsizes package changes the page margin

My thesis documentation rules state that the page margins should be: left=4cm, and the remaining are 2.5cm I have done that using geometry package, but when adding the extsizes package to change ...
2
votes
0answers
53 views

marginpar have changed,is it a bug?

In my latex installation, this MWE always gives the warning: marginpars have changed, after multiple runs. But clearly, there is nothing changing. Is it a bug? \documentclass{scrbook} \usepackage[...
3
votes
1answer
155 views

Vertical (rotated) titles in margins

I want to write the chapter title or section subject in the margin of each page. I eventually managed to get some working code : \setuplayout[edge=3cm,margin=3cm,backspace=7cm,height=27cm] \...
1
vote
0answers
27 views

How can print pictures subcaption in margin? [closed]

In biditufte-handout class, the caption of figure will apear in margin. I like it. It is nice. Now I want to force LaTex to print subcaption in margin. Hoe can I do this? \documentclass{biditufte-...
1
vote
1answer
89 views

Memoir: reduce the space in the top of the page

I'm using the memoir package to create my master thesis. When I write a page with text and it goes to the next page, it gives me a vertical space after my header and down to my text. What could ...