{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
59 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
25 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
374 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
38 views

Remove margin text from classic-thesis

How can I remove the margin text from classic-thesis style?
0
votes
1answer
34 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 ...
5
votes
1answer
182 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. ...
0
votes
0answers
41 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
22 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
48 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, ...
1
vote
1answer
53 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 ...
6
votes
1answer
37 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
30 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
72 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
55 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
26 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
27 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
28 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
161 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
99 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
577 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 ...
2
votes
1answer
16 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 ...
1
vote
1answer
130 views

Getting classicthesis to fit within required margins

Our university's formatting requirements for dissertations require us to use the following margins (A4 format): left: 4.3 cm right: 4.3 cm top: 5 cm bottom: 4.7 cm These pages in A4 format will ...
3
votes
1answer
61 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 ...
1
vote
1answer
39 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
29 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
0answers
30 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
23 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 ...
0
votes
0answers
24 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
72 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 ...
0
votes
1answer
73 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 ...
4
votes
1answer
79 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
2answers
83 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 ...
4
votes
1answer
45 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 ...
20
votes
2answers
15k views

Different margins for title page

My document class is article with a4paper. The margins that I want for the body are: top: 1 inch bottom: 1 inch right: 0.5 inch left: 1.5 inch The title page should have a 1 inch margin on all four ...
2
votes
1answer
50 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.
14
votes
1answer
222 views

FR: Staplers corner

I like twocolumn documents, but sometimes people complain that stapeling pages together made it hard to read the top left text of the left column on all pages after the first page. OK, I could have ...
1
vote
1answer
29 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} ...
6
votes
1answer
85 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 ...
8
votes
1answer
215 views

DIV and BCOR setting in KOMA (best practices)

I have been playing around and I now realize it is possible to set the type area using a KOMA class by a couple of ways, and I'll like to know which is the correct one. \documentclass[% a4paper, ...
4
votes
1answer
44 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 ...
2
votes
3answers
62 views

Vertical line next to a block with no margins

I've seen on this website several possibilities to include a line next to a paragraph. Like this: (the line is continuous) text text text | text text text | text text text | However, I would like ...
2
votes
3answers
112 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
44 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} ...
2
votes
2answers
170 views

Why graphics do not respect the end of line?

I see this all the time, inline graphics (in this case tikz picture) do not obey line breaks and flow like a word. In this example document, there are no forces new lines and the picture sticks out ...
7
votes
1answer
147 views

Fore-edge painting package for books?

I would like to add fore-edge painting to the edge of each page, so that when the pages are fanned, it reveals text or an image. It seems it would be easy enough to slice up an image(Tikz/PGF), or ...
3
votes
1answer
65 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 ...
1
vote
1answer
64 views

How to show margin distances in mm

I would like to know the distance (in mm) of the margins I just set, and I would like them to be displayed in the document (for debugging purposes, of course). I use the showframe option of the ...
2
votes
1answer
70 views

Smaller textwidth in memoir

I have to use memoir with A4-paper and 11pt font size. This way the lines are very long, so I would like to make it smaller to have less characters per line. However when just setting parameters that ...