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

How can a marginnote be inside textwidth?

Possibly, I ask the wrong question. What I would like to achieve is to have my notes as a part of textwidthn, I think. Can I tell LaTeX to decrease my textwidth by the amount of space the marginnote ...
4
votes
1answer
22 views

Is it possible to shrink a page using something like \enlargethispage?

This seems like a silly question to have to ask, but I can't find information on it anywhere. I know that \enlargethispage{\baselineskip} can be used to add an extra line to a page in order to help ...
5
votes
1answer
43 views

How can I override geometry's scale in the preamble? (E.g. if a class or package has set a default using geometry.)

With some geometry options, it is possible to override a previous setting in the preamble. For example: \documentclass{article} \usepackage{geometry} \geometry{hmarginratio=1:1} ...
1
vote
0answers
15 views

How to change margin for first page of Bibliography Only

I need the top margin to be 2 inches on the first page of my Bibliography and all subsequent pages in the Bibliography to have 1 inch top margins. I am using Bibtex to manage my references and using ...
0
votes
2answers
30 views

Adjust margin: Chapter title extends in left margin

I am using a custom document class and template for my thesis. Both can be found here (they are really long, otherwise I'd copy and paste): ...
0
votes
0answers
34 views

Messed up margins in memoir-class

I am using \documentclass[a4paper,oneside,11pt,leqno,openbib]{memoir} to write my thesis which has 5 chapters and each chapter has different sections. My problem is, every time I start a section, the ...
4
votes
1answer
17 views

Typesetting verse with line numbers directly adjacent (not in margin)

When I quote verse (in a document typeset by XeLaTeX), I would like to be able to place line numbers directly adjacent to the lines, not in the margin to the left. For example: ...
3
votes
2answers
66 views

Is it possible to have tufte-like citations in a general documentclass?

The tufte packages/class is very nice. But (opinion based) it is too invasive for simple documents. I want to selectively use some features in a normal article class. Is is possible to have ...
0
votes
0answers
35 views

thesis margin problems

I am writing my PhD thesis. I don't actually use latex but use scientific workplace. The university requires the following: Margins must be 1.5" left, 1" top, right and bottom, for ALL pages ...
3
votes
2answers
49 views

Notes above bottom margin

I am writing a paper in latex and there is one part that I could not find how to resolve, I need to add some notes on the bottom of the page, before the bottom margin. They are not footnotes in ...
1
vote
1answer
50 views

Right margin numeration / referencing LATEX

I need to make same format article in latex as in attached img, but I don't have any previous knowledge. I sorted out most of stuff. But cannot understand what are the right margin numbers and ...
0
votes
0answers
26 views

72 pt. spacing before Section heading [duplicate]

I'm trying to add a 72 pt. space before the section heading. I do not only want the 72 pt. between paragraphs but basically every section should start at a new page with a 72 pt. spacing before it. ...
6
votes
2answers
67 views

My references to PhD thesis go out of the margins in the bibliography

I am writing my PhD thesis. When I refer to a PhD thesis, the title of the thesis is underlined. When the title is too long, there is no break and the title is written out of the margin of the page. I ...
2
votes
1answer
42 views

IEEEtran Tabular Won't Fit Into 0.7in Margin

Using IEEEtran, I am trying to combine two tabulars in a single double-width table* environment. (This is the only way I could figure out to correctly order the tables in the paper, otherwise LaTeX ...
4
votes
2answers
43 views

Confusion with showframe when using bindingoffset and scrreprt

I tried to define a bindingoffset in my onesided scrreprt document and wanted to check the layout with the showframe package, but it isn't working as expected. Here is a MWE: ...
1
vote
0answers
34 views

how do I force a latex project to the height/width of Springer's LNCS style?

I have a little paper and for the submision it must have the LNCS style. The problem is that I added some figures and charts and somehow the width/height messed up, so any idea of how to force a ...
1
vote
1answer
31 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} ...
2
votes
1answer
25 views

How to output a multiline equation with no margins

I'm trying to output a .pdf that just contains an equation, without any borders at all, or borders the same width all the way round. So far, I've tried two things. Using the standalone document ...
1
vote
1answer
20 views

distance between section and tabular

\documentclass[12pt,a4paper]{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{textpos} \usepackage{eurosym} \usepackage{relsize} \usepackage{sectsty} ...
0
votes
0answers
11 views

Problem with bottom margin in “margin” style of res.cls

I'm creating a resume using the res.cls package and I'm using the margin style option, which specifies that section titles are to the left of the body text. This essentially makes it look like there ...
1
vote
2answers
45 views

Page content going beyond margins

While writing my curriculum I have faced a problem where the content goes beyond defined margins. The margins are represented by the lines in this image: (the black border to the right is my PDF ...
4
votes
2answers
72 views

Enumeration isn't properly indented from left

I have such a code: %Start a document \begin{document} %Make nice title \maketitle \section{Zadání úlohy} \subsection{Úkoly} %Enumeration with custom labels \begin{enumerate}[label=\bfseries Úkol ...
2
votes
2answers
45 views

margin environment in preample

I've been using a code obtained with much help from others on here. \documentclass{book} \usepackage[many]{tcolorbox} \usepackage{changepage} \usepackage{amsthm} \usepackage{amssymb} ...
0
votes
1answer
50 views

Latex text goes out of bottom margine and get clipped

Following is the code that gives the wired result. \documentclass[a4paper,12pt, oneside]{book} %enable linespacing commands% \usepackage{setspace} %set onehalf line spacing \onehalfspacing ...
1
vote
1answer
44 views

Changing the top margin of one single page with typearea package

I have a bit of an exotic problem. I have a large document and want to extend the vertical margins of one specific page (publication list) in order to fit everything into one page. Extending the ...
5
votes
1answer
58 views

\hrule with vertical margin

Is it possible to specify a vertical margin for \rule or \hrule? When I say abc \hrule def the line "touches" the text above and below, so I would like it to have a margin of about 1mm.
0
votes
2answers
32 views

Make the page number Lower in TOC

I am writing my master thesis on latex and I had a problem because the University wants specific margin (top=2.5cm,right=2.5cm,left=3cm,bottom=2.5cm) and also when any chapter starts the top margin ...
1
vote
0answers
38 views

How to center horizontally the text area in the “tufte-book” class?

In the following code, I want to center horizontally the text area (main body+margin area), but the centering option of the geometry package doesn't have any affects. Is there a way to do this? ...
1
vote
1answer
106 views

Draw page frame with words in margin

I am currently making exam papers using latex exam class. I would like to have the page frame with the word `Answer written in the margins will not be marked' on both margins, and the header or footer ...
0
votes
0answers
17 views

Wider margings but only in a zone (authors)

I am using the ACM stylesheet to produce a paper with five authors. This means that the area under the title where all author names are is quite crammed and all the affiliations are split over ...
7
votes
3answers
100 views

Overfull hbox in matrix

I am typing up a technical report that contains many large matrices. I am looking for a way to print these matrices with an equation number next to them without getting an overfull \hbox error. I ...
1
vote
1answer
36 views

Putting figures+caption in the margin

Is there a "clean" way to make figures and their caption appear in the margin? I'm using memoir with the companion pagestyle, so the margin is quite assymmetric and I think it might look nice enough ...
1
vote
1answer
42 views

How to adjust textwidth and textheight to paper size in mid document? (and header and footer “length” as well)

I want to adjust textwidth and textheight to papersize in mid document, that simple. I am planning to change some pages paper size, but I need both the header, footer and text to adjust (better if ...
0
votes
0answers
34 views

Margin content in Tufte's book class

Sorry, no MWE on this one, it's a general question about the Tufte book class. I noticed that margin content is top-aligned with the point in the main text that declares it: I know I can adjust the ...
1
vote
0answers
50 views

scrbook pagemargins with titlepage [on hold]

I've finished writing my Bachelor's thesis and want it printed like a book. So I need to make the inner margins a bit broader than the outer ones ("BCOR"). Additionally, I want my chapters always to ...
3
votes
1answer
153 views

How to add double line border to a page?

I'm looking for options to add double line border to a page ; left hand top corner of border is mentioned below (border will be continous for entire page width and height).
3
votes
2answers
101 views

How to improve this custom MLA formatting?

I am required to follow a certain formatting that resembles MLA style. There has to be a 1/2" header top margin (the header being the "Essay #1:..." part). There has to be a 1" body top margin (the ...
2
votes
0answers
40 views

Why is my text going over the margin?

I have written a paragraph of text and one line is protruding out into the right margin. I am completely baffled, can anyone help? My text is thus "... cohomology of the base manifold. These ...
0
votes
0answers
32 views

how to stop table from going out of the page under LyX?

Here is the table source code: \begin{table}[H] \begin{tabular}{|c||c||c||c||c||c|} \hline & \textbf{Inspiration for new clothes} & \textbf{Purchase clothes/year} & \textbf{Period of ...
6
votes
2answers
159 views

Is it possible to typeset with angled margins?

I'm typesetting a book using memoir in XeLaTeX, but on some pages, as an accent, I would like to make an angled margin, something like this: Even if I have to define the page limit separately ...
3
votes
2answers
87 views

Automatically switching the margin

I created some new commands to type the question and answer in the margin under "You Try It": \newcommand{\margins}[1]{ \marginnote{ \flushleft{\color{framerule}{Simplify: \; #1}}}[-1cm] } ...
6
votes
2answers
76 views

Creating a document with no borders or margins

I want to create a small flyer. It should be folded once and have four pages in total. Also, I need a special geometry. So far, I am trying to achieve that using minipages. Here is my MWE: ...
2
votes
1answer
54 views

\textheight reduced by one inch?

I have the following in my preamble (actually it is in a file \include d): % One inch margins, NO HEADERS \setlength{\textwidth}{468pt} \setlength{\textheight}{630pt} \setlength{\topmargin}{0in} ...
4
votes
1answer
44 views

Too large top margin at the new page

Here is my code: \documentclass[a4paper,13pt,russian]{extreport} \usepackage{extsizes} \usepackage[utf8]{inputenc} \usepackage[T2A]{fontenc} \usepackage[russian]{babel} \usepackage{vmargin} ...
3
votes
3answers
56 views

Creating a new list Environment, how to change the length of \items

The code for the environment is bellow, For the longer lines in \list item how do I change the length of the \items so that it lines up with the date? Basically I want a kind of "margin" that is on ...
1
vote
0answers
15 views

Right minipage goes outside of margin [duplicate]

I have two minipages side-by-side. However, the right one goes outside of the right margin even though I specify the correct widths. As a consequence, the text is no longer aligned on the right. Here ...
3
votes
1answer
57 views

anchor tikz at the left margin

I would like to place a tikz picture at the left margin location of the current line. Here is a MWE: \documentclass{amsart} \usepackage{tikz} \begin{document} ...
2
votes
3answers
30 views

How can I get the same margin to a verbatim environment as the fleqn option gives to equation

When I use a verbatim environment, I'd like to have some margin, of the same length as those provided by the fleqn option when using an equation environment. \documentclass[11pt,fleqn]{article} ...
2
votes
2answers
91 views

Margin & style difference front page

Okay, a lot of questions have been asked about this already but I still couldn't really find the answers I was looking for. There's this standard front page I need to use for my thesis that has these ...
0
votes
0answers
24 views

How to even out margins around a border?

Any ideas as to why the document seems to shift up and to the right on the page? I've tried using {anysize} and {geometry} to adjust the borders but I've had some issues. With {geometry} the margin ...