{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
2answers
2k views

Multiple border around page

I was thinking about giving a finishing touch to my resume by adding a border to the document in black color. I tried using \fancybox but not impressed with the output. ...
12
votes
3answers
681 views

How to set colored ruled margins for different pages?

I want to write a LaTeX document, and I want to have document rules (colored margins distinguishing sections and/or even/odd pages). Here is a model of what I have in mind: How can this be ...
2
votes
1answer
371 views

How to change the margins of ‎the only‎ first page ‎of‎ ‎‎each‎ ‎‎‎chapter‎?‎

I'm‎ using ‎the ‎geometry package in the ‎book‎ class‎ ‎and now I ‎want‎ the margins of the first page of each chapter ‎to‎ be, for example, top=50mm, ‎bottom=50mm‎, ‎left=50mm‎, ‎‎right=50mm‎ and the ...
4
votes
1answer
687 views

Classicthesis Vertical Margins

I've been using the classicthesis package to write my master's thesis and now that I was getting the entire thing ready for printing I ran into some trouble. The thing is that I'm not really satisfied ...
1
vote
0answers
187 views

Verse package typesets in the left margin [closed]

When using the verse environment with the verse package, the \flagverse are typeset in the margin: \begin{verse} \begin{altverse} \flagverse{1.} Quel est l'enfant qui est né ce soir\\ Inconnu des ...
1
vote
2answers
1k views

Fit table a bit outside of text margins

Following my post here, how could I use the command: \resizebox{\linewidth}{!}{...} to place a table a bit outside of the text margins? EDIT: At the moment this works fine for me. My only problem ...
0
votes
1answer
102 views

Defect of measuring into the count of alphabet width

Question: Why in the example below I get (with CM at 10pt) \alphabet=342.93138pt and \myalphabetwidth=342.6536pt why I have this difference between the two measures? What is the more correct? ...
5
votes
2answers
399 views

Set Table height to fixed height

I found the \resizebox command but I don't want to scale my table. I want to be able to set it to X height and have it stay there. Is there a way to set the height of a table and leave it there no ...
2
votes
1answer
77 views

Subtract height from column

The following latex example is kicking the third table down to the second page. But I don't need it on the second page, I need it all on the first and currently it's set at 3.5in but I really need it ...
1
vote
0answers
257 views

memoir margins setup [closed]

I wrote a little "book" by using the Memoir class. I'd need to have no more than 35 chars per line and no more than 70 chars on a columns. Is there some kind of settings to choose the best page ...
124
votes
4answers
21k views

Why are default LaTeX margins so big?

I've read that—unless I know a lot about typesetting—I shouldn't change the margins of a LaTeX document. The default margin size of the article class is really big and it feels like a lot of space is ...
2
votes
2answers
494 views

how to decrese space hight (margin) between equations

I want to decrese spaces(margin) hight before and after equations because i found big space when text end and display formula appears or between equations each in separate line also i want to do the ...
2
votes
2answers
181 views

How can I make the size of the PDF equal to the of the chessboard?

I have this piece of LaTeX: \documentclass{article} \usepackage[pdftex,active,tightpage]{preview} \setlength\PreviewBorder{2mm} % Source: http://tex.stackexchange.com/a/15278/5645 ...
3
votes
1answer
342 views

How to set the page layout dimensions in ConTeXt?

Using the instructions found in the page design chapter of the ConTeXt user manual, I have attempted to set my own page dimensions, but have not been able to understand the instructions. For e.g., ...
5
votes
2answers
350 views

References in margins `biblatex`

How can I use biblatex and not have the references run into the margins? I've seen some posts and solutions to this problem pertaining to URLs but I'm not using web links so it's a different problem. ...
1
vote
1answer
552 views

KOMA-Script footer margins

I am doing one-page documents with title and I need more space so all text can be put on that page. I achieve this by \typearea{12}. What happens is that the footer margin gets absurdly large (say, ...
1
vote
1answer
92 views

customs margins of my paper [duplicate]

Possible Duplicate: Latex margins, need specific advice for publishing specifications I'm trying to set the margins of my paper using geometry. I would set the margin of binding 3.5cm ...
3
votes
0answers
90 views

width=\textwidth yet plots overlaps with margin [duplicate]

Possible Duplicate: pgfplots: how can I scale to text width? Without using such command as trim axis=left or scale only axis, I would expect the following plots to be contained in the text ...
1
vote
0answers
254 views

Printing Checks with Latex [closed]

This is my first time working with Latex and I'm using Texmaker to create it in. I was hoping to find some GUI Editing tool that kind of let me drag and drop things where I wanted them but couldn't ...
5
votes
1answer
908 views

margin caption and subfloat

I'm desperately trying to get a workable setup of margin caption and subfloats. I use mcaption for margin caption which provides an environment which one wraps the inner content of the float in. ...
10
votes
3answers
243 views

Rule in textarea every n points

I am currently developing a new layout. This must be typeset on a grid, and every line starts at a multiple of 13bp from the top of the text area. To help me check, I'd like to have rules every 13bp ...
3
votes
1answer
182 views

Support for the punctuation symbols into a macro for characters count

Question about this macro: Is possible to have a higher precision with this macro by adding some punctuation symbols like ,.;:?!'() into the final count of the characters? ...
3
votes
1answer
295 views

Classic thesis margins macro

Why if I use the \documentclass{book} for examples, the following code work, and if i use classicthesis i get errors? Sorry for the lenght, but this is the MWE. In the example the \textwidth founded, ...
1
vote
1answer
302 views

scrbook margin - ratio between top and bottom is wrong

I use the following document class \documentclass[11pt,a4paper,twoside]{scrbook} with default header and footer (chapter/section in header and the page number in the footer) My problem is, that ...
1
vote
1answer
41 views

Set pagemargins and linedistance

I'm using a template for this document and I want to set the margins to 2.5cm on each side. The top of my .tex file looks like this: % $Id: $ \pdfpxdimen=1in \divide\pdfpxdimen by 150 ...
1
vote
0answers
238 views

How to get the page numbers within the margins specified in the settings in Lyx? [closed]

I have specified the right, left, top and bottom margins in the Lyx settings under Page margins, but the page numbers appear outside those margins. How can I force the page numbers to be within the ...
2
votes
0answers
111 views

Is there an algorithm to determine the best layout and font size for a specific screen? [closed]

If I have a 4:3 7" tablet with a 200PPI screen (as an example), could you algorithmically make a TeX template that would be readable on the screen fullsize without zooming? It would be great if there ...
6
votes
2answers
5k views

Changing top, bottom, left & right margins on the fly

I’m trying to find a way of being able to modify all of the margins of a page whenever I want to and as many times as I want to on a single page in order to be able to put text very easily where I ...
3
votes
0answers
155 views

Change geometry for 'empty' page style only [duplicate]

Possible Duplicate: Change \textwidth and \textheight in mid-document Change page layout after first page I need to make the margins on the first page of my article larger than those on ...
1
vote
1answer
678 views

How do I remove the whitespace above the first text in an article?

\documentclass{article} \begin{document} foo \end{document} This code leaves a very big whitespace above foo. Why is this and how do I make it smaller? \usepackage[showframe=true]{geometry} (thanks ...
0
votes
1answer
2k views

\evensidemargin & \oddsidemargin geometry package

how can I put this length with the geometry package? \setlength{\evensidemargin}{92.58438pt}% \setlength{\oddsidemargin}{24.38356pt}%
0
votes
0answers
64 views

consistently centering figures and tables that exceed margins [duplicate]

Possible Duplicate: Center figure that is wider than \textwidth I have a myriad of plots to include in my document and for best quality they all fall beyond the document template margins. ...
3
votes
1answer
647 views

Average number of characters in one line

How can I calculate the average number of the characters per line of my document?
3
votes
1answer
241 views

\textheight formula like Bringhurst

There is a formula like that of Bringhurst for the 66 characters to calculate the height of the cage of the text? or is it just a question of personal pleasure? for examples i have found this two ...
2
votes
1answer
578 views

Suggestions for fonts in classicthesis.sty

I found these suggestions for fonts in classicthesis.sty. What are they for kpfonts? Does Palatino 10pt: 288--312pt | 609--657pt mean that \textwidth must be between 288 and 312pt and \textheight ...
0
votes
1answer
266 views

Adjusting the book document class for large volume writings

Given that my writing is relatively large in volume, I would like to make more efficient use of space. I therefore set \documentclass[a4paper,11pt]{book}, but I suppose that there is a way to use a ...
15
votes
1answer
820 views

Create a fancy page layout

In the following picture (desired layout) the grayed area is reserved for the header. It is supposed to be fancy looking with tikz pictures, chapter/section names with pretty fonts etc. The ...
3
votes
2answers
991 views

Book's class page margins in ClassicThesis

how can obtain the normal page margins (that provided from book class) on the ClassThesis? i have try to comment this commands in ClassicThesis.sty {% Palatino or other ...
5
votes
2answers
215 views

Why is my document entirely right-aligned?

I usually don't spend too much time on formatting of LaTeX documents, so this is probably easy and I apologize. I've changed my document from a twocolumn class to a onecolumn class, and all of a ...
2
votes
1answer
303 views

Page layout and margins

My CV is currently the image on the left, but how would I shift my name up and make the format (structure of the page etc.) of my CV which is on the left of the image below, like the cv on the right ...
12
votes
1answer
488 views

Put equation numbers in the sidemargin with Tufte-Latex class

In Tufte-Latex all captions etc. are in the side margin. I want to put the equation numbers there as well. Is it possible to do this?
15
votes
2answers
392 views

Periodic word count in margin

I need to have a continuous word count for an assignment. This is either in the form of a note in the margin or one parenthesised in-text every 100 words or so. For instance, ----- TEXT ------|- ...
4
votes
1answer
239 views

Modifying the location of page number on the first page of chapter to fit within height

I am working on writing my masters thesis, for which the layout requirements are: 1.5 inch margin on left, 1 inch on all other side Page number on top right on every page, except for first page of ...
3
votes
2answers
1k views

Specific margin size in memoir

I am writing my thesis nowadays, and one of the few things the instructions have specific recommendations about is page size and margins. The page should be A4, and the margins should be: (I revised ...
8
votes
1answer
2k views

Change page layout after first page

currently I'm trying to prepare a letter head with XeLaTeX. The first page of the letter should have a sidebar on the right. For this sidebar, the text width should be shrinked to approx. 80% of its ...
5
votes
2answers
906 views

How to use the geometry package with newlfm documents?

I am using the newlfm letter documentclass, and try loading the geometry package. This returns the following error: ! LaTeX Error: Command \geometry already defined. What I want to do is put more ...
2
votes
1answer
512 views

Page layout for two-sided document

In the minimal example pasted below I would like to have: left margin on even pages = 1.5cm right margin on odd pages = 1.5cm (understood as absolute values, not added to/substracted from default ...
11
votes
3answers
265 views

Arithmetic in arguments to the geometry package

I'd like to use the geometry package to auto-crop the output of my LaTeX (so that it looks bigger on-screen as I'm editing). I have found a way to remove the margins completely and brutally: ...
8
votes
2answers
1k views

Text placed below bottom margin that is not footnote

I'm using package geometry to specify global document margins: \usepackage[scale=0.82, top=1.5cm, bottom=2.5cm]{geometry} But I have a piece of information that I would like to add on first page on ...
5
votes
1answer
180 views

trying to set text where section header has different margin and textwidth from section text

i am trying to set some text where the section header has a different margin and textwidth from the section text. the screenshot shows a mockup of how i would like the final layout to look ...