{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

3
votes
2answers
513 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
112 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, ...
14
votes
1answer
546 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
76 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}} ...
1
vote
2answers
358 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
260 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
144 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
135 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
409 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
105 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
145 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
319 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
121 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
159 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
67 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
179 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
398 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
1answer
72 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
166 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
1k 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
294 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
431 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 ...
2
votes
1answer
134 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
112 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
0answers
124 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
400 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
247 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
1answer
107 views

move margin of pages for bookbinding

\documentclass[a4paper,12pt,openright,twoside]{book} \usepackage[utf8]{inputenc} \usepackage{indentfirst} \usepackage{fancyhdr} \usepackage{booktabs} ...
5
votes
1answer
290 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} % ...
2
votes
1answer
160 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 ...
2
votes
1answer
618 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 ...
4
votes
1answer
115 views

Lyx margin settings for binding

I would like to edit the lyx default settings in respect to page margins in order to allow for a larger binding margin. However, when I print two-sided I can not simply use a larger margin for the ...
3
votes
1answer
252 views

Place text on left margin

Maybe I'm just not searching for the right thing, because this seems to be something that TeX would just 'have something' for. Is there any way to simply return to the left margin (or originating ...
2
votes
1answer
238 views

Beamer Bibliography Text Margin

To make reference in beamer bibliography, I used the following commands \setbeamertemplate{bibliography item}[text] \bibliographystyle{amsalpha} Then I created a frame that allows frame break using ...
0
votes
0answers
30 views

How remove margin in a paragraph that continues in two pages? [duplicate]

I've created a document whose margins have different odd and even pages. I want to write a paragraph with no margin in two pages runs. If I use the command \newgeometry new paragraph starts at the top ...
1
vote
1answer
85 views

How remove margin in a paragraph that continues in two pages with different margin?

I've created a document whose margins have different odd and even pages. I want to write a paragraph with no margin in two pages runs. If I use the command \newgeometry new paragraph starts at the ...
0
votes
0answers
74 views

Indenting in a description environment margin problem

I have a problem with the solution in this post if I don't want bold text for the items. I changed the code as described below. But the text of the item (e.g. Animal1:) is now in the left margin of ...
1
vote
0answers
124 views

Bottom margin seems optional to LaTeX - text alignment doesn't always go to bottom

I apologize, if I'm missing something simple here, but I'm attempting to meet graduate school dissertation formatting requirements after (almost) finishing a PhD and I'm running into bottom text ...
3
votes
0answers
131 views

Animation on paper

I started writing my thesis and someone proposed that I could put small markings on the edge of the pages so that when someone flips the pages an animation would be shown. I would like to have the ...
4
votes
1answer
425 views

Go from B5 to A4 format

How can I change my document to being A4 instead of B5 and still keep the same relative margins? I really like the current look, but need it to be A4. Below is an attempt on a MWE (I don't quite know ...
4
votes
1answer
160 views

Changing \textheight in the middle of a LaTeX document

Actually, I want to change \textheight only on one page of my document, then continue with the old dimension again. How can I update \textheight in my .cls file e.g. for my title page? Is there an ...
4
votes
2answers
576 views

Setting vertical margins on top and below align* environment

I'm using the amsmath align* environment to format multi line formulas. Unfortunately, the environment adds a lot of margin before and below the formula. I found only one solution to get rid of this ...
0
votes
1answer
408 views

Different margin sizes on odd and even pages

I am polishing my thesis document. It is based on a custom style derived from report and it is supposed to deliver different sizes of margins on odd and even pages, however it doesn't work. In the ...
3
votes
1answer
5k views

Change page margins in LyX

I use LyX 2.1, and I want to change the margins of a document as follows: Top and bottom: 2.5 Right: 2 Left: 3 How can I do this? Thanks.
1
vote
1answer
56 views

is possible to use a part of the margins with figure?, as with tabular

is posible to use a part of the margins with FIGURE?, as in this example with tabular \documentclass{article} \usepackage{subcaption,mwe} \usepackage{graphicx} ...
4
votes
1answer
114 views

Inserting a colored box to page background leaves gap

I'd like to have a colored box in the upper part of every page. Even though it's a simple task, I cannot make it work. Having looked for answers here and in the eso-pic package discription does not ...
6
votes
1answer
128 views

How to place a figure in page margin beside a mdframe?

In my text I would like to use some icons in the page margin to label element types, e.g., an example or a theorem. The following picture illustrates this: My text is double-sided, so I would like ...
3
votes
3answers
324 views

Left margin wider than right one

Why is the left margin wider than the right one? Each of them should be 1 inch wide: If you run TEX without modifying the plain TEX format, you get pages that are numbered at the bottom; and each ...
1
vote
0answers
18 views

Delete new line margin BibTeX [duplicate]

I need bibliogrpahy look like in first picture. Actually, default look like in second picture. diplom.tex \documentclass[a4paper,14pt,russian,oneside,final]{extreport} ...
2
votes
2answers
132 views

Annotate items at the margins beside each item

Is there a way to add annotations to the margins beside items of an enumeration? Consider for example the following pseudo-code: \documentclass{article} \usepackage{enumerate} \begin{document} ...