{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
2answers
27 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 ...
1
vote
1answer
67 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 ...
6
votes
1answer
23 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 ...
10
votes
0answers
278 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 ...
5
votes
4answers
76 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} ...
6
votes
0answers
76 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 ...
11
votes
5answers
10k views

beamer: frame without decorations, with custom margin

I use \begin{frame}[plain] to have a frame without decorations. The content (inside columns environment) seems to horizontally still respecting the old margins (with Warsaw, gap on the left), although ...
6
votes
2answers
112 views

KOMA-Script typearea and DIV

I was going through the KOMA-script Documentation and I found on page 32 a nice table with the type area according to the number of DIV you set up your document. Now, I MUST be doing something ...
2
votes
0answers
31 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
0answers
31 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
20 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 ...
3
votes
2answers
63 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, ...
0
votes
2answers
43 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 ...
0
votes
2answers
63 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 ...
0
votes
0answers
35 views

Table of content margin

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}} ...
1
vote
1answer
51 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 ...
5
votes
1answer
203 views

Different margins in title and chapters

I am struggling here with adapting school template for my document. The problem is that I need different margins on the title and on the chapter pages. Here is the code. On the title page is all easy. ...
2
votes
2answers
67 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
63 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
30 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 ...
2
votes
3answers
143 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
2answers
60 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
38 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. ...
1
vote
1answer
66 views

Using \extrawidth in exam class results in unwanted margin changes (per page)

I'm trying out the Exam class after seeing good things about it on this site following the guide: Using the exam document class by Philip Hirschhorn . However, I've run into some problems with the ...
7
votes
2answers
905 views

Print page margins of a document

Sometimes when I'm reviewing my document and rearranging images and tables, It would be sometimes great to see the page margins. Is there any easy way to print the page margins when reviewing a ...
6
votes
2answers
3k views

How to reduce the margins

I am making a report using latex, it is looking fine but there is a really large space taken up by the margins. Here is the main tex file \documentclass[fontsize=13pt]{scrreprt} ...
3
votes
1answer
34 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 ...
5
votes
2answers
100 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] ...
2
votes
1answer
44 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
51 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
33 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
66 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
31 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$ είναι θετικοί ...
18
votes
2answers
423 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 ...
0
votes
0answers
49 views

Remove margin text from classic-thesis

How can I remove the margin text from classic-thesis style?
0
votes
1answer
41 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 ...
0
votes
0answers
51 views

Twoside margin width. How to take into account binding?

I came here to understand why latex had this "odd" habit to set the outer margin wider than the inner in two sided documents. As many have asked before me, I expected the inner margin to be wider to ...
2
votes
1answer
31 views

tabularx table and the indentation from the addmargin environment

I have a problem with the indentation done by the addmargin environment of the koma script and the use of tabularx table. Clearly the \textwidth uses the original width of the text and not the smaller ...
1
vote
1answer
54 views

Proper page aspect ratio?

I have a question regarding the aspect ratio of my pages. I wonder if the given aspect ratio in my example is a good choice or if I should change any values to achieve a better print space. Experts, ...
6
votes
1answer
45 views

Footnote taking width of *both* body and margin note

I am wondering how can I adjust geometry parameters (or using other packages) to make the layout of footnote taking the width of BOTH body and margin note. Thanks,
2
votes
1answer
36 views

Page size won't change even after using geometry package

I'm trying to change the page size of my thesis document. As adviced in other threads, the graphics package can be used for this purpose. I currently have the following command where I also specified ...
1
vote
1answer
80 views

Why is “width=\textwidth” setting not properly scaling graphic?

I'm including a jpg figure in my LaTeX document like this: \begin{figure}[htbp]\centering % fbox here only for illustrative purposes ...
2
votes
0answers
60 views

Typesetting with “odd-shaped” margins

I am considering a poster presentation that I would like to design using nonstandard margin shapes. Current standard essentially puts elements inside a rectangle determined by page size, header and ...
2
votes
0answers
38 views

Reducing textheight and increasing footskip does not work on first page after front page

I want to add a graphic to the bottom of all my pages apart from the front page. I am reducing textheight and increasing footskip using \addtolength{} but it does not have any affect on the first page ...
1
vote
1answer
40 views

move margin of pages for bookbinding

\documentclass[a4paper,12pt,openright,twoside]{book} \usepackage[utf8]{inputenc} \usepackage{indentfirst} \usepackage{fancyhdr} \usepackage{booktabs} ...
4
votes
1answer
32 views

Setting \textwidth seems to break textblock* command from textpos package?

I would like to position text absolutely using the textblock* command from the textpos package. Minimal working example: \documentclass{article} \usepackage[absolute]{textpos} % ...
3
votes
1answer
186 views

Draw a vertical line on the margin across several pages

I want to draw a vertical line on the margin. The line may be able to continue to the next page(s) and must not cut with the end of the current page. I'd prefer to use an environment or something ...
6
votes
3answers
4k views

Dealing with a wide table that exceeds the document margins

I am looking for "global" and "local" solutions to the case where I have a table that goes "much" beyond the right and left margins of the page (meaning: cases where having no margins to the page ...
2
votes
1answer
117 views

Define page layout in geometry similar to Koma Script with DIV 12

I want to define a page layout in geometry that has similar values as that defined by KOMA script. Unfortunately the values that I provide for geometry do not end up in the design as expected. This ...
6
votes
2answers
609 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 ...