{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
47 views

tabularx with dynamic columns and much text ends up in under- and overfull boxes

I wrote two tabulars which faces kind of the same problem. They end up in a mess of under- and overfull boxes. I noticed many under- and overfull boxes threads here, but I wasn able to fix it yet. ...
4
votes
1answer
51 views

How to display full table contents

I'm trying to fill a table with equations, but some of the equations are so long that the table is cut off completely on the right side. I just started working with latex yesterday so my knowledge is ...
21
votes
5answers
14k views

What is the easiest way to get borders around a page in LaTeX?

I want my document to have borders in all pages. I imagine I can do that using TikZ, but is there an easier way to do it? I also asked this question here, but as the main question was something ...
1
vote
1answer
14 views

Latex 'align' mode bottom margin overflow

I know that latex doesn't automatically insert new lines in math mode, so the way to prevent margin overflows is to use the align mode, and manually add newlines. But this sometimes leads to equations ...
1
vote
0answers
42 views

How to set font, line spacing and header/footer margins?

I need to write some text for my university and I figured I should use LaTeX to get familiar with the system. I've read some basic tutorials etc, but they didn't help me with the following: There are ...
2
votes
1answer
23 views

wrapfig - Make wrapped image respect margins and page ends

I need to insert images wrapped in text. wrapfig obviously comes to mind. The problem is the wrapped figure, by default, ignores margins and even page ends. I mean, if I put the image less than its ...
1
vote
0answers
22 views

How to fit a page within a larger page

So I'm writing a grant application, and I'd like to use the todonotes package. The Australian Research Council apparently does not like the referees: We have a strict 10 page limit, but we're allowed ...
1
vote
1answer
34 views

add right margin in caption with the width of the caption label

Currently, my figure/table captions look like this: The should start with the label Fig. XX and then the text with the following caption lines hanging behind the label. If there is only one line, the ...
1
vote
1answer
29 views

How to prevent the label of a long equation running into the right margin?

I have an equation of the form \begin{equation}\label{eq:master} f(x) = E \end{equation} where E is a long expression. The problem is that the label runs into the right margin. What is the proper ...
1
vote
1answer
142 views

Margins in booklet using \includepdf

I have PDF that I am printing as a booklet using the following code: \documentclass{scrartcl} \usepackage{pdfpages} \begin{document} \includepdf[pages=-,booklet,turn=false,landscape]{doc.pdf} ...
0
votes
1answer
23 views

Abbreviated cite with Biblatex's philosophy-modern style

I am writing my master thesis with classicthesis and I decided to use Biblatex's philosophy-modern style \usepackage[style=philosophy-modern,hyperref,square,natbib,backend=bibtex]{biblatex} ...
0
votes
1answer
10 views

acro list-style=extra-tabular writes over the right margin

I use the package acro to list my acronyms. The manual describes several list-styles where I chose tabular as the most interesting one. The problem with this is, that it wastes a bunch of space on the ...
1
vote
0answers
50 views

Add Danger sign in margin of text

How can I add a danger sign like the one below? I'm currently using the package fourier-orns but the danger sign isn't really good-looking. Thank you for your help.
1
vote
1answer
5k views

How to reduce the margins and spacings in this document

I'm using the res.cls to create a one-page CV (I know, res.cls is old, but I prefer its layout). Since the CV is one-page only, I need to squeeze some more space for its content. This is what I have ...
85
votes
6answers
170k views

How to force a table into page width?

I have the following table: \begin{table}[htb] \begin{tikzpicture} \node (table) [inner sep=0pt] { \begin{tabular}{ l | l } {\bf Symptom} & {\bf Metric} \\ \hline Class that has many accessor ...
4
votes
1answer
130 views

Longtable headings doesn't appear with fullwidth package

I'm writing a document with long and wide tables spilling over the margin area in a two side document class. I'm using the Marco Daniel's fullwidth package. Using longtable (and even longtabu) the ...
5
votes
1answer
31 views

enumerate in tcolorbox: weird insets

I'm typesetting text within tcolorbox-boxes, which works quite fine. For doing so, I've defined a couple of commands and just call them for each paragraph. But when I include an enumerate- or ...
1
vote
1answer
96 views

Adding figures on first page of documentclass article

I'm using the default article documentclass for a document that is just supposed to hold the accompanying figures for a paper. This is what I'm doing: \documentclass{article} \usepackage{graphicx} ...
0
votes
0answers
45 views

Ideal margins vs. actual margins

Consider the following MWE: \documentclass[letterpaper]{article} \usepackage{blindtext} \usepackage[inner=1cm,outer=1cm]{geometry} \begin{document} \blinddocument \end{document} ...
3
votes
1answer
33 views

tikz pgf-umlsd margin in the diagram

Is there any way to control the margin within a tikz pgf-umlsd diagram? I'm using the following code and could already remove the indent by using \noindent. But still there is some unused space to ...
1
vote
1answer
51 views

Memoir: reduce the space in the top of the page

I'm using the memoir package to create my master thesis. When I write a page with text and it goes to the next page, it gives me a vertical space after my header and down to my text. What could ...
0
votes
1answer
109 views

Reduce page margins using the res document class

In order to make my resume more dense and get more content on a page, I wanted to reduce page margins. I had been struggling with this issue for a long time and couldn't find any good complete ...
0
votes
0answers
17 views

How to prevent Coverpage and Tableofcontents to set margin

I set the margin like this: \usepackage[top=2.5cm, outer=1.5cm, inner=3cm, bottom=2.5cm]{geometry} But on the first two pages (Coverpage + TableOfContents), I want to have the same margin on the ...
3
votes
1answer
782 views

Centering the frontpage using memoir

I'm using memoir (two-side layout). I have the problem that my front page is centered with respect to the margins, which are not equal in left and right side. \begin{center} will not solve this, since ...
1
vote
2answers
53 views

Lines with texttt reach into the page border, how to prevent?

MWE: \documentclass{scrartcl} \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} ...
0
votes
1answer
31 views

Specify via a flag during compilation with `pdflatex` that some commands are considered/ignored?

How can I create a flag, which allows to specify during compilation with pdflatex that some commands are considered/ignored? Background: I want to create marginal notes with \marginpar{...} but they ...
1
vote
1answer
53 views

Double-sided document with CV class

I am using the CV class defined like this: %% Copyright (c) 2003-2009 Fr????ic Meynadier %% Original : Eric-Olivier Le Bigot %% Modifs : Fr????ic Meynadier (Frederic.Meynadier@obspm.fr) %% Modifs : ...
1
vote
0answers
40 views

\marginpar with pushback from right

I like to put references to book sections pertaining to class notes in the right margin. These are of the form XXXnn-nn for a 3-letter book title abbreviation followed by a range of section numbers. ...
0
votes
1answer
35 views

References not respecting margins with biblatex

I am using biblatex with the biber backend for my bibliography. The problem I encountered is that margins are not always respected. It seems to be a fairly common issue, cf. these possibly related ...
25
votes
4answers
40k views

making a table fit on a page by moving it left

I have a table where the last columns fall off the page. Instead of making the text smaller I would like the table to not adhere to the margin of where it begins. I would like to move it to the left. ...
9
votes
3answers
4k views

Changing the textwidth of the notes in Beamer (repost from SO)

I've asked this on SO and didn't get a good answer, so I'm reposting it here. I've been using the beamer class to create presentations in LaTeX and I love it. Recently I started using the \note ...
3
votes
3answers
80 views

Temporarily Change Equation Margin

Let's say I have a document with a narrow text width and lots of margin to spare. If I had a particularly long equation that failed to fit into the given width, the general solution would be to break ...
4
votes
0answers
52 views

Cannot center pdf image [duplicate]

I'm using sharelatex and pdflatex as a compiler. I am using the memoir class. (It's for a book.) At first I used .png images but the compiler always took too long so I converted all my image files to ...
0
votes
1answer
57 views

Space Issue in Resume

I have the address, portfolio website fields to the side of my name in the resume. Although I used the flushleft command for the table with contact information etc, they do not seem to appear beyond ...
2
votes
1answer
75 views

Simple frame around page

I need add a frame around all page in latex. If I search on google, I find many options, but anything work well for me. Also I need that page would be A4 and have margin 1.27cm. And on the top of ...
5
votes
1answer
203 views

Tufte layout in “Painless Memoir?”

I'm trying to bring together two styles, the airy Tufte's page layout ... and Michael OKane's "painless Memoir" document found on this site. I've tried to edit OKane's template directly; I've ...
4
votes
4answers
206 views

How to properly change page offsets?

Suppose that we need to change margins. This cannot be done only by changing \hsize and \vsize, because of the default offset of 1in. There is a possibility to change \hoffset and \voffset directly, ...
2
votes
1answer
34 views

Methods to resolve long line overflowing into margin

My document sometimes has lines which slightly overflow into the margin, such as in the below example. I was wondering what different methods could resolve this issue, such as changing spacing between ...
4
votes
1answer
680 views

List of tables and List of figures right margin

In the list of tables and figures, how to set the same right margin for all lines of all the items? As an example, the following MWE: \documentclass{article} \newlength{\largNum} ...
0
votes
0answers
23 views

Setting the margin for chapters/sections/etc. in a class file

I would like to be able to configure chapters, sections, etc. to include a margin indent, while headers and footers for the page should use the standard margins. So for example something that looks ...
3
votes
1answer
91 views

Thesis template to B5 paper size. What about margins?

I successfully changed the paper size from A4 to B5 of the Thesis template downloaded from http://www.latextemplates.com/template/masters-doctoral-thesis I modified the main.tex file by setting ...
1
vote
1answer
64 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$ είναι θετικοί ...
1
vote
1answer
40 views

Output of \layout as plaintext

Is it possible to get the dimensions generated from the \layout command as plain text, so it can be used to set appropriate sizes when generating graphics in programs like octave. pointsize= ...
0
votes
0answers
25 views

Standard textwidth with geometry package [duplicate]

I really like the way LaTeX puts text on a4paper (quite large margins), but I need to \usepackage{geometry} to change the layout of my appendix. What options should be used with geometry to make ...
0
votes
0answers
33 views

Centering of footer with custom margins

The problem I encouter is that whenever I change the margins of my tex document, the footer does not remain centered. My tex code is the following: \documentclass[11pt]{article} ...
4
votes
2answers
1k views

How can get rid of margins and minimize white space to fully use a page in LaTeX?

I want to create a formulary in LaTeX. I can use it at the exam and it has do be at maximum a page recto-verso. I don't want margins (only the strict necessary for printing). I also want to minimize ...
0
votes
1answer
51 views

How to set the fonts of the latex file?

I am a newbie in LaTeX. I am editing a paper, which is two column. The first paragraph of the paper is the abstract. I want my abstract to satisfy the following requirement: The abstract should ...
4
votes
1answer
50 views

Make list start at same line as its section

I am trying to save space in my CV, so now please see this picture of it: Notice how Skills is aligned with its content, without leaving any blank line. However, Languages leaves too much empty ...
1
vote
0answers
35 views

TeX Padding of left margin [duplicate]

I am writing a document using \documentclass{book} but do not want a twosided document. All seems OK, however each alternate page has a different left padding. Using the showframe package (as ...
1
vote
1answer
275 views

Left margin not resettable — Alternative option?

I am a novice in LaTeX and I have problems with the left margin of a book document. Is there a way to reset the document's margin? I always have a small margin on the left side which I only can reset ...