{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
98 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
163 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
54 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
86 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
85 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
377 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
63 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
155 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 ...
3
votes
0answers
116 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
29 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 ...
6
votes
2answers
121 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
106 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
107 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
81 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
201 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
108 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
61 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
47 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
71 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
85 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
137 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
48 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
65 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
43 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
131 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
115 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} ...
9
votes
1answer
257 views

Bleed correction for chapterthumbs in KOMA

I want to send a dissertation document with chapterthumbs to the printing house. The document is written in KOMA-Script and a good solution for bleed correction is found here. Since chapterthumbs are ...
2
votes
0answers
69 views

braces marks with \framed & \tikz

I'm trying to mark some paragraphs with boxes, braces, brackets or parentheses coupled with notes in margin… My first test was using \makebox & minipage according to this discussion as you can see ...
0
votes
1answer
149 views

Page Numbering and Header Problem, with Margin and Multicols

1) The chapter page with margin, page numbering is not in the center. My code is, \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} ...
0
votes
0answers
44 views

How to replicate the layout options specified in 'geometry' package when using 'pdfpages'?

I'm preparing a document in latex and using the following parameters for the geometry package: \usepackage[twoside,margin=1in,bindingoffset=0.6in]{geometry} I'd like to use the pdfpages package to ...
2
votes
2answers
240 views

Swap even and odd page margin in document class book

I am writing a book and I would like to swap the even and odd page margins without changing the page numbers. I am using document class book. I know that by default the book class sets the margin of ...
3
votes
2answers
86 views

How to set up a two-sided document with large pictures and margins?

i used a one-sided document with the following geometry content \usepackage{geometry} \geometry{ top=3.5cm, bottom=3.5cm, outer=6cm, inner=2cm, heightrounded, ...
11
votes
0answers
395 views

Setting different recto/verso margins size (geometry) on this example

CONTEXT. Because of specific University requirements (1), I had to use this nice code found on tex.stackexchange http://tex.stackexchange.com/a/96366/50507 written by David Carlisle, that was ...
1
vote
0answers
49 views

Table of content margin [closed]

According to the below the figure, how can i adjust the margin of table of content according to the red line \usepackage[titles]{tocloft} \renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} ...
0
votes
2answers
162 views

Change margin on a single landscape page in memoir

I have a document where I use memoir and I want to make a single landscape page with a big table where I need to change the margins for this page only to make the table fit. I have tried using the ...
2
votes
2answers
146 views

Keep margins in latex when using inline maths equations for small equations

So say I have the following paragraph \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $\hat{\sigma}_w(kn)$ Here are some ...
1
vote
1answer
103 views

Lilypond-book with Xelatex fails to detect textwidth

I apologize if this sounds similar to other questions. Apparently I cannot find a solution in other posts, maybe some packages I use are conflicting (fontspec?). Even running lilypond-book with the ...
1
vote
1answer
107 views

Customizing memoir

I wish to set a page with the following measures (I'm copying a Renaissence text, basically): Stocksize (a3paper) trimmedsize (papersize) 340mm*210mm typeblock 261.8mm*140mm lr margins ...
0
votes
2answers
113 views

Margins of Section Title is Out of Bounds

I want my section titles to be same as the margins of the text. Here is an example of the problem (see title in section 1.1). I want a similar behavior as title (1.2). Any suggestions? What am I ...
3
votes
2answers
80 views

table out of margin: any suggestion?

I try to put a very large table inside a pdf: \begin{table} \begin{center} \caption{ \textit{Title}. Some comments.} \begin{tabular}{llllllll} \hline Parameter & bbbbbb & ...
3
votes
1answer
96 views

Fixing marginnote placement after adjusting margins

I am trying to take some notes in the margins, that will appear in the printed edition. I hope to use adjmulticols to adjust the margins for two column text in the document so I can save space. ...
2
votes
3answers
214 views

page numbers on the side of the page

Can anybody tell me if it is possible to have page numbering on the side of the page? I mean on the right side on odd pages and on the left side on even pages.
3
votes
1answer
73 views

Problem with twocolumn ledger format in scrbook

currently I am trying to get a thesis in architecture into a ledger (tabloid, double letter) formatted srcbook document. The issue is that it should have twocolumns - at least for the main part of the ...
2
votes
1answer
95 views

Can't move footer up on page

I'm trying to write a letter using the scrlttr2 document class. My footer is 3 lines and as such is touching the bottom of the page. I've been trying to move the footer up by using the geometry ...
3
votes
1answer
60 views

Did something that made right margin goofy

I'm editing a .tex file, adding a color box around changes I make. Had this: \vpara{Problem:} Given $k$ social networks $\textbf{G} = \{G_1, G_2, ..., G_k\}$, we want to output a set of partial ...
3
votes
1answer
83 views

Let caption float into margin

I searched for a long time to find a solution to let a caption of a figure and/or a table expand into the outside margin. I'm able to get a figure/table where the width is textwidth plus ...
1
vote
0answers
144 views

How to get simple margins of 2cm?

I have been trying for several days to get simple margins like a Word Document. I have started to learn latex 1 month ago, so Im not very familiar with its strange margins !! Anyways, I would like to ...
1
vote
0answers
43 views

Problem with enumerate and margins

I have a problem with the automatic enumeration and thus I need some help. Specifically, adding the code \begin{enumerate}[label=\bfseries Πρόβλημα \arabic*.] \item Αν $a,b,c$ είναι θετικοί ...
0
votes
1answer
96 views

change margins of a template to the normal DIN-A4 standard

recently I found a template for a cover sheet. The code is written blow. Unfortunately, it is quite far away from being minimal, but I wanted to show you the whole design. My "problem" now is the ...
20
votes
2answers
729 views

Colored margin with vertical text

What I'd like to reproduce on LaTeX can be seen on the picture below. I am writing my master thesis (book style) and I'd like to add a colored margin on every page (on the right for the right pages ...