{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

4
votes
1answer
419 views

Remove sidebar in Beamer

With the following code, I tried to remove the sidebar: \documentclass[18pt]{beamer} \mode<presentation> { \usetheme{Hannover} \usecolortheme{dolphin} \usepackage{lipsum} ...
0
votes
2answers
300 views

How to set bottom margin using the resume class with [margin,line]

I really like the way my resume looks using the following preamble: \documentclass[line,margin]{resume} \begin{document} \topmargin=-0.5in However, I have a huge margin at the bottom of the page. ...
2
votes
1answer
152 views

Why does standalone not detect the TikZ crop correctly?

This small example \documentclass{standalone} \usepackage{xltxtra,textcomp,graphicx,color,tikz} \usepackage[absolute,overlay]{textpos} \begin{document} \begin{tikzpicture} \clip (0,0) rectangle ...
3
votes
1answer
234 views

How to get Tufte-like margins with the KOMA book class?

I asked similar question here How to have headers, section headings, and figures expand into the margin? From Document class for designing a book I want to have new insight... ...
5
votes
3answers
150 views

Non-alternating margins in book class

For a book class, I specify margins like this: \usepackage[top=1.25in, bottom=1.25in, left=1.5in, right=1.25in]{geometry} But left and right appear to behave as inner and outer. I need to have the ...
4
votes
1answer
187 views

Creating a marginal tcolorbox from inside an other tcolorbox

I have created a new tcbtheoremlike this: \usepackage[breakable, theorems, skins]{tcolorbox} \tcbset{enhanced} \newtcbtheorem [number within = chapter] {myexample} {examples} { ...
2
votes
0answers
75 views

beamer column footnote produces format lose.

Using the following code \documentclass[demo]{beamer} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @misc{A01, author = {Author, A. and Buthor, B. and Cuthor, C.}, year = ...
2
votes
1answer
103 views

vertical margins inside a frame

How can I change the vertical margins inside a frame. For example, how do I remove the space shown in the figure below:
4
votes
1answer
876 views

TikZ: remove margin, padding, border around nodes containing images

I want to create a simple figure where images are connected with arrows. Here is what I did: \begin{tikzpicture} \node[](A) {\includegraphics[width=0.2\textwidth]{a}}; \node[right=1mm of A](B) ...
4
votes
1answer
163 views

Why is the default line length in the KOMA scrreprt documentclass longer than recommended?

When using the documentclass scrreprt (KOMA scripts) with the default parameters (a4paper, 11pt, DIV10), I observe line lengths between 81 and 85 characters (including spaces and punctuation, 78 to 85 ...
9
votes
2answers
145 views

How to put a QED symbol in the margin?

As I badly explained here question I wish to put my QED symbol on the same line as the last word of my paragraph, but in the margin like the package lineno does for the line number. I tried the trick ...
4
votes
1answer
152 views

Change page margin inside own environment

I would like to define an environment, that inserts a page with different margins than defined in the preamble. I tried using the following LaTeX code. \documentclass[a4paper,10pt]{article} ...
0
votes
1answer
161 views

Listing numbers go outside margin [duplicate]

I'm trying to add sample code to my document. It seems that the listing is left aligned with the margin, and the numbers go outside it. How should I align the number, instead of the code? Here is my ...
1
vote
1answer
88 views

Change margins on selected pages [duplicate]

I have an document using the article class using the fullpage package. The appendices take up the last 15 pages and contain pdf images using the graphicx package. I want to change the margins of ...
8
votes
2answers
327 views

Print a Notebook with LaTeX

I just came across something I missed a few years ago: I still use notebooks that do not have the correct margins for writing, i.e., the outer and bottom margins are the end of the page and the inner ...
2
votes
1answer
3k views

Making table width fit into text width [duplicate]

I'm using p{} format to adjust the width of a table. I expected using {p{0.1\textwidth}||p{0.2\textwidth}|p{0.2\textwidth}|p{0.2\textwidth}|p{0.2\textwidth}} makes the table width smaller than the ...
1
vote
1answer
453 views

Setting thesis margins

My university requires theses to be bound and printed with the following specification: There should be a margin of at least 1.5 inches, preferably 2 inches (5cm), on the left side of the page, ...
5
votes
2answers
124 views

Using \MarginFigure command

Someone wrote a command called \MarginFigure for putting figures in the page margins. Unfortunately, I haven't been able to get the \includegraphics to work. Specifically, I have figures that I've ...
2
votes
1answer
88 views

Disable binding compensation for titlepage

How do you disable the binding compensation in KOMAscript (e.g. \documentclass[BCOR10mm]{scrbook}) on the titlepage? I use the titlepage package and the fullsizetitle environment, but this is not ...
4
votes
2answers
71 views

How to begin text a certain distance from the right margin

As the date changes in length each day, I find myself manually modifying the hspace distance to the beginning of the signature line every time I generate a document. Can anyone think of a better way ...
6
votes
1answer
84 views

Forcing page numbers to ignore large margins

My teacher wants a large space to post comments on my work, so I have placed a bottom margin of 10 cm to pdfLatex. But the problem is that Latex also moves the page numbers up along with the margins ...
5
votes
1answer
114 views

How to move the footer margin closer to the bottom, manually

I have a page built in latex that has a footnote. I am not satisfied with the distance from the bottom to the footnote: it is too large. I want to have a bigger place to write, so I want the footnote ...
3
votes
1answer
255 views

Header and Footer offset in Exam Document Class

I am using the exam document class and I want to implement a layout where the headers and footers span over both the text body and the margins. I tried using the \fancyhfoffset command from the ...
0
votes
0answers
79 views

How to put a symbol always in the right margin, even in twoside mode, like line numbers of lineno?

I discovered the package lineno which in twoside mode of the class article can force to put the line numbers on the right. I really like that because I want me QED symbol to do the same. Currently, ...
3
votes
1answer
148 views

How to use one-sided pages formatting in classicthesis without shifting title page?

I'm using the classicthesis package with the template provided on latextemplates.com (http://www.latextemplates.com/template/classicthesis-typographic-thesis) to write my MSc thesis. I am required to ...
5
votes
2answers
165 views

Specification of the Layout for Q-A Reference Cards (Flashcards, Visual Cards)

I'm relatively new to LaTeX and I've used Microsoft Word so far for virtually all work with documents. For college, to use own question-and-answer reference cards, I decided once to split a portrait ...
1
vote
1answer
120 views

“Package xkeyval Error: value `no' is not allowed.” while working baposter

I faced the same problem as the author of an older question - I got following message in my log: ! Package xkeyval Error: value `no' is not allowed. See the xkeyval package documentation for ...
4
votes
3answers
461 views

Problem with margins using amsart and geometry packages

I do not want different margins on even and odd sides, I just want the usual page setup from the amsart package. However, consider: \documentclass{amsart} \usepackage{geometry} \usepackage{lipsum} ...
2
votes
1answer
138 views

Knitr plotting outside margin

I like the look of plots that extend beyond the margins \documentclass{article} \usepackage{lipsum} \usepackage[demo]{graphicx} \begin{document} \begin{figure} \centering ...
1
vote
1answer
100 views

Bottom margins for two title pages are not equal

For thesis it is needed two title pages but in my code page layouts are not equal. Problem is in the bottom of the page. the part of the code is: It is the cls file. Update: the problem is with the ...
8
votes
5answers
332 views

Fixed Sized Grids

I'm trying to create a latex document that is split up into grids that will match up with the dimensions of perforated paper. The dimension of each block is height: 38mm and width: 70mm. This should ...
0
votes
1answer
183 views

ClassicThesis to B5paper [duplicate]

I'm using ClassicThesis v.4.1. for my Thesis. The thesis should be published in B5 size. How do I adapt classicthesis (A4) to B5? I have tried ...
0
votes
1answer
137 views

Problems with the title and the margin in LyX

I have prepared my document and when I created the PDF I realized the problem I got with one title and the right margin. This is out of the margin. How can I fix this? (I am new with LyX)
4
votes
1answer
59 views

Location of the numeration in the text

I been looking to see how to put the location of the numeration of the different sections to one side of the margin, something like this. As you can see the numeration is "before" of the beginning ...
0
votes
1answer
52 views

problem with longtable in landscape orientation in a twocolumn mode document

I have some trouble formatting a long table in landscape orientation using a predefined document class (provided by a journal editor): - the standard page size is shrunk: the height of the page (width ...
2
votes
1answer
145 views

Header and margins

I would like to set a thicker header line I want to have a larger margin from the top and the bottom of the page. I have a problem with the header, which takes the name of my section which is two ...
3
votes
1answer
152 views

Lost control with \marginpar

I want to include marginal notes only on the left side of a large document. (For your information, I have included all the packages listed in the preamble of the document in the following minimal ...
3
votes
1answer
493 views

What do headheight, headsep, etc. do in the vmargin package?

In the vmargin package, the \setmarginsrb command sets margins, among other things, with this syntax: \setmarginsrb{left margin}{top margin}{right margin}{bottom margin}% ...
0
votes
1answer
74 views

Problem with margins

I need to set margins. The odd pages should have left margin 3.5 cm and right margin 2.5 cm. The even pages should have left margin 2.5 cm and right margin 3.5 cm. I tried to do it but for example by ...
4
votes
2answers
778 views

in Beamer, how to remove left margin/indent of a description list

I have a two column frame with a plot one the left, and a description list on the right \begin{columns} \begin{column}{.4\textwidth} \begin{center} ...
5
votes
1answer
119 views

Unreasonable orphans in lines (classicthesis)

I am using classicthesis in Lyx, and I run into some weird orphans. From what I can see, there are no reasons for them to occur (see image for two examples). I am using this package in my ...
3
votes
3answers
183 views

Default layout is not as expected

I just started to learn LaTeX after seeing some amazing examples of scientific articles produced using it; I was also told that, unlike some other other text programs, LaTeX automatically produces ...
3
votes
1answer
181 views

Overlapping text in the res class.

I'm writing a resume using \documentclass[50 pt, margin]{res} and I got the res.cls from http://www.rpi.edu/dept/arc/training/latex/resumes/. I'm new to LaTeX (this is my second document) and when I ...
0
votes
0answers
150 views

Picture and caption going out of margins using wrapfig

I'm using wrapfig to put a picture side-by-side with text. It happens that it going after the margins and I want it to stick inside them. here's the code, \documentclass[12pt,a4paper,titlepage,final, ...
3
votes
1answer
41 views

Use of the color package changes the height of the text block

Here is the packages in my documents: \documentclass[12pt,twoside]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{color} \renewcommand{\baselinestretch}{1} ...
0
votes
1answer
67 views

Different margins within one document

having the following code, how is it possible to insert another page, which would have different margin paramaters as opposed to those seen in the code? Basically, the first page is cover page with ...
2
votes
1answer
81 views

Different margins for document title only

I am trying to follow the formatting requirements for a specific conference which state that the document title must have 1.5 inch left and right margins while the rest of the paper must have 1 inch ...
3
votes
1answer
93 views

Center align caption on margin

I am trying to align figure caption on the outer margin with koma-script, but no matter what I tried the option centeredbeside does not work. \documentclass[captions=centeredbeside]{scrbook} ...
6
votes
1answer
134 views

Is there a bleed correction in KOMA?

I'm preparing a book (text only) using the scrbook class of the KOMA-Script that in the end should have A5 sized pages. To do that, I have to prepare a PDF that has slightly larger pages, since the ...
0
votes
1answer
79 views

Oneside book with centered pages

I'm writing a document using the book class, with the option oneside. Since the document is not meant to be printed but to be viewed online, I'd like the text to be centered in the page (i.e. with ...