{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
46 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
56 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
48 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
66 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
50 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
86 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 ...
1
vote
1answer
44 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
40 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
40 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
128 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 ...
2
votes
1answer
27 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
74 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
62 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
38 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
28 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
34 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
77 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
94 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
50 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
92 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
93 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 ...
2
votes
1answer
93 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
32 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
53 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
89 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 ...
2
votes
3answers
128 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
49 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
181 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 ...
6
votes
2answers
132 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 ...
10
votes
1answer
432 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, ...
14
votes
1answer
224 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 ...
2
votes
1answer
87 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 ...
1
vote
1answer
77 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 ...
1
vote
1answer
73 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 ...
5
votes
1answer
89 views

Vertically center rule on a page

More precisely, I want to get a 18 × 26 cm² landscape box with a rule at the middle. Combining the crop package and this code I got: \documentclass{article} ...
1
vote
1answer
53 views

page margins not respected after A3 page insertion in A4 document

I am inserting an A3 page in an A4 document but the margins are not respected (and neither does a page number appear), after the A3 page. Test code below: ...
8
votes
2answers
462 views

What is the equivalent of fullpage in geometry package?

There's an occasion when I am forced to use geometry package instead of fullpage. Howevere the document margins should match another document which uses fullpage. Where can I find the default top, ...
4
votes
1answer
171 views

Is there any automatic way to detect hanging text on the right in LaTeX?

I wonder if there is any automatic approach to detect hanging text all throughout the 200-page thesis, mostly due to hyphenation issues. Consider the output below, there is like a subtle hanging text ...
1
vote
1answer
63 views

How to use margins to center a table

I want to realize something like in this two pictures. I want to use a part of the margins for notes (draw even tables!). I want that the margin change from odd page to even page (I think it's simple ...
4
votes
2answers
95 views

Horizontal space before block of text

Hi, I wanted to create column of text after bolded "Lorem Ipsum 1.", which has no specified linebreaks. This space before text (marked on image with red line and question marks) should have exact ...
2
votes
2answers
67 views

margins or line breaks in koma-script table of content

Entries in my KOMA-script TOC spread too close from the page numbers: One solution is to use a short title and insert in it a line-break, but this is not an acceptable solution. I am trying to ...
2
votes
0answers
24 views

Curly brackets with long content cross the margin [duplicate]

I wonder if there is a way to break a line when it is too long with a curly bracket crossing the margin. Thanks. \documentclass[12pt]{article} \begin{document} blablabla blablabla blablabla blablabla ...
3
votes
2answers
69 views

Reducing margin as small as possible in subfigure

I use subfigure to implement subfigure and I use \hspace or \vspace. I want very small margin to maximize the size of subfigures but when I set \hspace{0cm} and \vspace{0cm}, there is still large ...
1
vote
1answer
72 views

Control margins of the note of a beamer slide

I have a beamer slide associated with a note. \documentclass{beamer} \mode<presentation> { \usetheme{Madrid} %\setbeamertemplate{footline} % To remove the footer line in all slides uncomment ...
1
vote
0answers
18 views

Accommodating page numbers with narrow margins [duplicate]

Problem: I'm having trouble getting page numbers to display in a LaTeX document. Background: I have a document with 0.3in margins that I suspect covers up the page numbers. A very similar document ...
2
votes
0answers
64 views

extending captions for A3 pages

Im writing my Thesis in A4 format and sometimes I need to use A3 pages for bigger images. I managed to create a single A3 page within the A4 document and I extended the header up to the right margin. ...
1
vote
1answer
51 views

Using newgeometry — how to prevent moving the top outer page numbers?

I used \newgeometry to enlarge the printing space to include more graphs on a couple pages of my document (article class), but it moved the page number on those pages too. If I want to keep the page ...
3
votes
1answer
47 views

Setting margins for an individual page [duplicate]

With the geometry package, we can set margins for the whole document (with options like left, right, etc.). Now, how do we set margins for an individual page so that it doesn't affect the whole ...