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

Stopping text short of righthand side ``date'' column in -res- class?

I am using the res class to make a CV (I know its outdated; path dependency) I would like to have all the dates on the righthand side in a column of their own (with no text running under the dates ...
2
votes
2answers
51 views

Margin adjustment for section text

I've been messing with my margins, section dimensions, geometry package dimensions, and titlesec settings to get this layout (and have, so far, failed): (left margin set at 0.75in) ...
1
vote
1answer
41 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 ...
1
vote
0answers
55 views
+50

White fields in ltjsarticle class

This question is extention for other my question Replacing \fancyhdr with \titlesec in complicated design documents. When I use solution from answer to prevous question with LuaLaTeX and ltjsarticle ...
0
votes
0answers
29 views

Why is the text in the body not \textwidth (but figures and captions are)? [duplicate]

My problem is that I set my margins to 1 inch. I would expect the text in the body to span across the body such that the left and right ends of the text would be 1 inch from the edge of the paper. ...
3
votes
1answer
42 views

Formatting an equation environment to fit within the margins

\mathcal{P}^s_{\delta}(F) = sup \Bigg\{ \sum_{i}|B_i|^s : \{B_i\} \text{is a collection of disjoint balls of radii at most $\delta$ with centres in F} \Bigg\} This piece of text wont stay in the ...
0
votes
0answers
18 views

Problem with large gaps in scrreprt with setspace

I am using the documentclass scrreport with the twoside option. Therefore, latex tries to stretch the content on a whole page rather then leaving a gap on the bottom of the page. This produces ...
3
votes
2answers
48 views

How to reclaim space from removing headers and footers

I'm using the fancyhdr for headers and footers in most of my document, however there are some pages, such as the title page, for which headers and footers aren't wanted, and for these pages I've set ...
2
votes
0answers
19 views

List spacing being ignored in parcolumns enviroment

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 ...
0
votes
0answers
7 views

Split format for starting text in the same page

Need some help with this template... I have this code in the main text. ´ \documentclass[]{friggeri-cv} \usepackage{ragged2e} \usepackage{tabularx} \usepackage{xcolor} ...
3
votes
2answers
125 views

Add some vertical text on the margin of document?

I like to put url in the left/right margin and align it vertically like arXiv (see figure below). Here is a MWE: \documentclass[10pt,a4paper]{article} \usepackage{lipsum} ...
1
vote
1answer
33 views

how can I change spacing between author listing and left margin?

I am using a certain style that has a certain spacing between left margin and author names (listed as name, affiliation, etc. one next to each other in small blocks). There are only two authors, and ...
1
vote
1answer
22 views

\rule Margin Spacing Issue for Horizontal Line

How can I get the horizontal line to not enter the right margin. It doesn't look symmetrical the way I have it. Ideally I would like the horizontal line to be the same distance from the side of the ...
2
votes
1answer
273 views

Why are margins unequal?

I have set them this way: \usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry} But the left margin is bigger than the other (which are equal as should be). Whats the problem? EDIT: I ...
3
votes
1answer
42 views

Unwanted title box on first page of a part

I used the code provided by Gonzalo here Chapter Title in rotated vertical box at the margin The problem I have are: I am using \parts also to divide my document and the box appear in the part ...
3
votes
2answers
92 views

Changing the font size in koma-script modifies page margins

I'd like to use the koma-script scrartcl class with a font size of 10pt, but when I use the document option 10pt, not only the font size decreases but also the space user for the text. Especially the ...
3
votes
0answers
46 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 ...
0
votes
0answers
27 views

Reducing page margin of Springer LNCS format

I am using Springer LNCS format to author a paper. However, the page margin seems to be too wide. How can it be reduced to a decent value? Here is the CLS style file. Because of post size limit, I ...
4
votes
1answer
63 views

Where's top margin actually measured from?

I'm typesetting a book using memoir class as follow. Final book size: 14 x 21 cm Two side Has running headers. Margin: inside=0.75in, others=0.5in The header/page number section is just too close ...
3
votes
0answers
89 views

How to set a binding offset with tufte-book class?

I'm typesetting a book using the tufte-book class. For printing I need to set a binding offset (say, 0.5in). However, I can't seem to get this to work using the geometry package settings as one would ...
0
votes
0answers
22 views

changemargin indent

I'm making a report using latex and I've used changemargin command in order to center a single figure. My issue is that when I end the changemargin command the rest of the text appears without the ...
2
votes
1answer
46 views

mdframed margins

I'm new using mdframed package and I stumbled upon with \mdtheorem so I created a definition and I want to use it at the beginning of the page, but the problem is that there is a space in blank ...
4
votes
1answer
61 views

How to print “string” of first or last \label{string}, in running headers and margins, dictionary-like, with KOMA class?

I need to typeset a book where sections are identified by a string, like "PLA 1", as dictated by the book's editor (the publisher calls these strings "cite-keys".) Sometimes there are a few sections ...
2
votes
1answer
51 views

Beamer bibliography item not shown with Madrid theme

Consider the following MWE \documentclass{beamer} \usetheme{Madrid} \usepackage[style=authoryear-comp,backref=true,backend=biber]{biblatex} \addbibresource{biblatex-examples.bib} \begin{document} ...
1
vote
0answers
61 views

Lyx - Enable emphasized text hyphenation, prevent overflow

I use emphasis in Lyx to indicate variables in a description of a computational algorithm. Some of these variables have a long name. Lyx does not attempt to hyphenate these variables when they enter ...
1
vote
2answers
43 views

A simple way to make a line separating the text and the margin notes?

I've done the following: And I'm trying to make a simple line to separate the text from the margin notes. It's the same as the answer in this question, but it seems too complicated to implement (or ...
2
votes
1answer
38 views

How to ignore left margin and move centered math equation to the left?

I have a following equation I need to move it a little bit to the left because it is way to close to the right side and may get clamped while printing. Those equations are using $$ R=... $$ syntax. ...
2
votes
1answer
40 views

Show current chapter number on each page margin with appendix

I am trying to use @Gonzalo-Medina code (Show current chapter number on each page margin) to display chapter number on each pages from a book document class. I used a counter to overcome the issue ...
2
votes
1answer
85 views

scrbook - twoside produces shorter, not longer, binding margins

I use KOMA-Script and I want to print it two-sided. However, in the two-sided view margin for the open edge (right for odd pages) is wider than for the binding edge. -Is it the indented behavior?- ...
3
votes
1answer
45 views

mdframed cannot reduce margin

\documentclass[a4paper,10pt]{article} \usepackage[framemethod=TikZ]{mdframed} \usepackage{lipsum} \usepackage{multicol} \mdfdefinestyle{graybox}{ splittopskip=0,% splitbottomskip=0,% ...
3
votes
1answer
51 views

how to extend header over the page margins?

I have defined the page margins and header as appears in the codes bellow, but I want the header to cover the page margin width too, in the pages after page 2 (all pages except the first page). I ...
2
votes
0answers
35 views

Equal horizontal margins in memoir and article class - not equal if you get out the ruler

I am trying to get equal horizontal margins in a memoir class document. But I can't get the margins to be exactly equal, and this problem doesn't seem to be limited to the memoir class. All of the ...
0
votes
0answers
25 views

Change font size through \documentclass [duplicate]

\documentclass[12pt]{article} \begin{document} Inductive step-\\ Assume the statement holds for $n \in \left\{ 1, 2, ... n\right\}$ \end{document} Changing the 12pt in documentclass to something ...
0
votes
0answers
14 views

Define color in margin notes [duplicate]

When I define colored margin notes, the place of the note disturbs. what should I do to make it correct? Please note that I want only some texts be colored, not all the text in the margin. % % ...
5
votes
2answers
111 views

Fontspec creates left margin

I'm using standalone document class and trying to draw a TikZ picture. The picture have border which is the border of the page. I do it like this: \documentclass{standalone} \usepackage{tikz} ...
2
votes
1answer
38 views

Right aligned left side margin notes on same line as content

I'm trying to write a command that I can use to set up right-aligned left margin notes easily, and not be worried about the flow of content. Basically I would like the margin note to be on the same ...
0
votes
2answers
60 views

Setting margins exactly

My thesis formatting requires 1.5-inch margin on the left side and a 1-inch margin on the three remaining sides. Since all pages must be printed on one side of the page, I used the following: ...
1
vote
1answer
26 views

Text goes out the margins in paracol

I have an issue with the package paracol. I am using it for the Acknowledgements of my Master Thesis. I am writing them in two languages. The problem is that some words go out the margin. This does ...
5
votes
2answers
88 views

Remove margin from listings in beamer

I am including some code in my beamer document. I would like to get rid of all margins, so I can include as much code as possible. This is the code I am trying: \documentclass[]{beamer} ...
5
votes
1answer
50 views

Difference between geometry, changepage and vmargin packages?

While struggling a bit with layout, I have encountered a few useful packages, namely geometry, changepage and vmargin but I'm wondering a bit about the difference between them. An important one that ...
2
votes
1answer
32 views

Output pdf margin VS attributed margin in Latex

After a very long search on the net, I post these two questions: The code is: \documentclass[12pt,twoside]{report} \usepackage[a4paper,left=3.5cm,right=3cm]{geometry} ...
1
vote
1answer
25 views

Put longtable caption in marginpar and keep compatibility with caption package

After some research I found a way to place the caption of a longtable (ltablex) into the left marginpar, aligned with the top of the table. Therefore, i adapted this solution stackexchange.com: ...
0
votes
1answer
43 views

Resume ending margin unchangeable

I'm using res.cls to make a resume and it looks awesome, except that it puts the last two lines on the next page leaving almost an inch and a half of lower margin, and I can't adjust the lower margin ...
1
vote
1answer
45 views

Different margins for different page styles in memoir

I am trying to produce a document in memoir with a letterhead on the first page only. I have created a custom pagestyle for the letterhead with a larger upper margin to include the header; but this ...
4
votes
1answer
54 views

Margins for even and odd page using the Memoir class

I have read a lot of posts about this topic now but still I cannot figure out why the even and odd pages has the same margin. I would like them to have different margins to make Space for the spine of ...
2
votes
1answer
40 views

Trying to adjust margins and csquote is not working

I am trying to use wuthesis template to write my dissertation, but I am having trouble with the margins. The top margins are very large and the bottom margins are cutting off the page numbers. Also, I ...
6
votes
1answer
35 views

Set initial line after chapter title relative to top margin, not relative to end of chapter title

I want to set the initial line of text in every chapter to start at the same position on the page relative to the top margin of the page, and not relative to the last line of the chapter title. I ...
1
vote
2answers
34 views

how to make an exception regarding line so that it can extend out of margin

In the example below, would it be possible to be lenient with the inequality on the right side of the curly bracket so that it (and only that part) could extend out of the margin ? (this way the ...
2
votes
1answer
91 views

Adjusting the width of a displaymath environment

I want to adjust the width of an displaymath environment whose contents (a tikzcd diagram rather than an actual equation) are too wide to fit in the margins. The obvious thing to do is to use the ...
5
votes
4answers
98 views

Longtable issue

I have a long table spread over multiple pages that I code using the package longtable package. A sample of my code is this: \documentclass[a4paper]{article} \usepackage{longtable} \begin{document} ...