Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [margins]

{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.

0
votes
1answer
26 views

Longtable does not fit in page margins

I'm new to LateX and really struggling to get around the page margins. So I've been given a default template (I've made a few adjustments to preamble and packages) to write my dissertation by the ...
0
votes
0answers
15 views

Right margin of page blocking text in Lyx

I just started using Lyx and I came across the following problem: I write in Hebrew (which is aligned to the right), but there's a strange vertical bar at the right margin of the page that blocks the ...
0
votes
0answers
19 views

How do I create a Lyx layout or document class to handle a different margin for the first page?

I just finished formatting a paper to meet IEEE CDC 18 format requirements: first page has 74pt top margin, 54pt all other margins. Second page and beyond use 54pt margins all around. Note that the "...
0
votes
1answer
11 views

Better margin control with Lyx?

I want to control marginparsep in lyx, but I'm not sure how. The margin notes appear a little too close to the body text for my comfort, but I can't seem to do anything about it in the margins section....
0
votes
1answer
21 views

Top and bottom margin with longtable

Is it possible to define a top and bottom margin for all longtable in the entire document? My current solution works, but it forces me to repeat code every time I use longtable. I would like to add a ...
3
votes
1answer
44 views

How to imitate `twoside=semi` in ConTeXt?

ConTeXt's page setup seems to be very powerful for single pages. But as I am used to the powers of KOMA there is something I could not achieve: twoside=semi. From what I have read I need to set up ...
0
votes
0answers
38 views

pdf output of book documentclass

I am getting slightly confused with the pdf output of the book document class. I am writing the textbook for my Discrete Math course and I chose to use the book class with the default options. I ...
1
vote
1answer
31 views

How to print the gitinfo2 watermark vertically on the margin?

I know that I can insert a watermark containing information about the git revision into my document using the gitinfo2 package like this: \documentclass{article} \usepackage{lipsum} \usepackage[mark]...
3
votes
1answer
42 views

Left Justify Labels

I've been using LaTex to write my genealogical family history research for its ability to index, reference pictures, tables, etc. This is going to be a BIG document as I already have nearly 1000 pages ...
3
votes
1answer
34 views

Setting margins for custom paper size doesn't work

For a book, the printer required a paper size of 23*32 cm with margins 2cm (left/right) and 3cm (top/bottom). Before I tried to incorporate this in Latex everything was fine but with this new page ...
1
vote
1answer
19 views

Beamer: Custom theme breaks when using dual screen presentation mode

The following small beamer example \documentclass[notes]{beamer} \usepackage{pgfpages} \setbeameroption{show notes on second screen} \usetheme[department=compute]{DTU} \begin{document} \begin{frame}...
0
votes
0answers
25 views

Problem with margins - inner and outer , geometry

I have a pretty annoying problem with Latex. I would like to have inner margin equal to 3 cm and outer to 2 cm. Top and bottom to 2.5 cm. For that purpose I am using the geometry package, however when ...
0
votes
0answers
42 views

LaTeX compiler leaves huge blank space at page end

I am writing a document on LaTeX and on compiling it automatically leaves some huge blank space at the end of the first page before moving on to the next page. I tried modifying the LaTeX document and ...
1
vote
1answer
35 views

footmisc's para option and margins

I've been having problems trying to combine footmisc's para option with margins. EDIT: After @marmot's suggestions, I've tried the following code: \documentclass[a4,11pt,oneside]{article} \usepackage[...
5
votes
3answers
136 views

The items of the itemize environment protrude into the left margin (scrbook)

I use the following idiom in connection with chains of equations. I align the equations using the align environment, labeling every equation whose rationale may not be clear to the reader. I follow ...
0
votes
0answers
11 views

Header alignment and margin using res.cls

I'm creating a resume using res.cls. I'm using the margin option, which places the section titles in the left margin of the page. I'm creating a custom header, but I'm having trouble aligning the ...
1
vote
2answers
25 views

Example of addmargin - Error

I'm trying to learn how to use addmargin command. To do this I wrote the code: \documentclass{article} \usepackage[utf8]{inputenc} \listfiles \begin{document} \begin{addmargin}[-1cm]{-3cm} ...
0
votes
0answers
17 views

a0poster class with a0b paper size and multicol truncating text at the bottom

Here is my code: \documentclass[a0b]{a0poster} \usepackage{hyperref} \usepackage{multicol} \columnsep=1in \begin{document} \veryHuge Lorem Ipsum \begin{multicols*}{4} \Huge /* BEGIN */ Lorem ipsum ...
0
votes
2answers
33 views

How to left align the dropped points in the right margin in “exam” class and to add “Turn over” to every odd page footer

I was making a question paper in exam class. There I have met with following two challenges. I want to drop the points at the right margin with left alignment. But here by default it is right aligned....
3
votes
1answer
35 views

Show only the main frame of the page

I would like to print a white page with the frame on the main part of the page: not the frame of the header not the frame of the footer not the frame of the footnotes When I do \documentclass[...
2
votes
0answers
28 views

Accurately remove whitespace introduced by footer on only the first page

I have a document that has text that very nearly reaches the limits of the page geometry (the document has one centimeter margins). I have a footer (using fancyhdr) on all pages except the first by ...
1
vote
0answers
22 views

Can I turn off `twoside` for select pages?

I'm using the report class with the twoside option. I would like to have my title page with equal margins. I know I could do it manually with geometry, but I'm curious: Is it possible to switch ...
0
votes
0answers
32 views

Margins are not being enforced latex

I'm trying to set the margins to be 15mm on each side, but when I measure with a ruler after it is printed on an a4 sheet, the value seems to be off by 3mm (i.e., 18mm) on each side. \documentclass[...
0
votes
1answer
29 views

EDAS.info top margin error when using IEEETran template

I'm getting following Error when try to upload my camera-ready IEEETran conference based pdf via edas.info portal: "Upload failed: The top margin is 1.842 cm on page 5, which is below the required ...
2
votes
1answer
26 views

How can I get a prespecified clearance from `parmargin` to the page edge?

The margin indicated in the picture below is the clearance I am referring to. I already have pre-specified left margin, horizontal margin ratio, binding offset and marginsep. I want LaTeX to calculate ...
0
votes
1answer
57 views

how can I edit margins without using packages?

I'm trying to change the margins manually from the file bk10.clo, where I want that in twoside mode the margins are symmetric to 3cm and in oneside mode the margins are top = 3cm, left = 4cm, right = ...
0
votes
0answers
34 views

Why does `\reversemarginpar` retroactively swaps the margins of `\todo` command?

I used \reversemarginpar after \todo and this retroactively causes the note to go to the wrong margin. I also noted that if I put \normalmarginpar right after \reversemarginpar \marginnote{Inner ...
0
votes
0answers
18 views

CV template trouble

I am using a CV template (web Source: http://www.howtotex.com/) but after the latex is compiling to the second page the text becomes skewed to the left of the page as the image shows. the basic code ...
0
votes
0answers
14 views

Graphics cut off when using margin par on left book side

I'm trying to add QR codes on the page margins of a math book. I use \marginpar to accomplish this, and whenever the code is on the right page of a double page, it works flawlessly. But on a left page,...
1
vote
1answer
39 views

Using \input to insert Tikz-code from another file: nested input cause wider border each time called?

I am having a project in which I use Tikz for making my graphics. I "externalize" the coding by using a tikz-editor. I then simply save the achieved tikz-code in a separate .tex file in which only ...
1
vote
0answers
37 views

showframe package exceeds few points in right side

My tags are follows: \documentclass{book} \usepackage{lipsum} \usepackage{showframe} \makeatletter \renewcommand\normalsize{% \@setfontsize\normalsize{10.9}{14}% \abovedisplayskip 7\p@ plus2\...
3
votes
0answers
75 views

Technical report table of contents

I am writing a technical report. Pease how do I replicate something this nature using report class. Could someone please assist with the page layout (boxed margins, a simple table in header) My code: ...
0
votes
1answer
46 views

How to know which margin a marginnote is on?

Is there a way to make a macro based on \marginnote that varies depending on whether the note is on the right column or the left? In particular I want to do this in two-column mode, otherwise I could ...
2
votes
1answer
29 views

Additional left margin using enumerate

Does a code like leftmargin=* plus 2.5ex exist? I want to move the whole list to the right. \documentclass[ a4paper, bibliography=totoc, toc=listof, captions=tableheading, listof=entryprefix, ] {...
0
votes
1answer
32 views

Removing additional right hand side margins of lists items

I use xepersian package for my thesis. I have some nested descriptions and enumerates. Is it possible to remove right margins of items? I have used enumitem package, but using ‎\begin{enumerate}[...
0
votes
1answer
24 views

One sided koma-script page margins with two-sided-like footers

My aim is to have symmetrical single-sided-looking pages (same margins left and right) but have footers whose content moves according to whether it is a odd- or an even-numbered page. (On odd pages ...
6
votes
1answer
141 views

Standard margin in documentclass article

I want to increase the (right) margin in the documentclass article about 0.5cm. How could I achieve this? I can use the package geometry but for that I must know the standard margin of this class.
0
votes
0answers
39 views

Margin problem with equation in .dvi file

I have a Latex file and I need a .dvi output file from that for final submission of my article. Until now, I use the PDF outputs but when I obtain a .dvi output, one of the equations get over the side ...
0
votes
1answer
27 views

How can I vertically center a predefined abstract environment to the middle of text body?

I got a low level TeX code from Define abstract environment in book that defines an environment for Abstract. However, when I put it in my work, I use notitlepage option which results in the abstract ...
5
votes
2answers
311 views

Making Margins 1 inch all the way around

Hi everyone, I created an account just to ask this question as it is really important. Several places that I am applying to require my CV to have 1 inch margins all the way around (on all sides). I'm ...
1
vote
1answer
37 views

Adjusted outer margins inside a document

I am trying to adjust margins inside my document. I have a rather unusual request: I would like to increase the outer margins in a specific section. Example: \documentclass[fontsize=9pt,a5paper,...
0
votes
1answer
25 views

Although I have put left=0cm in geometry package option, but there also a margin in output pdf

\documentclass{article} \usepackage{forloop} \usepackage{polyglossia} \setmainlanguage[numerals=Devanagari]{bengali} \setmainlanguage{bengali} \setotherlanguage{english} \newfontfamily\bengalifont[...
0
votes
0answers
28 views

Set bottom margin at 1 in but text stops at 1.2 in

I am working on my thesis. A requirement by my university is to have an abstract page and a cover page with the text stopping exactly 1 inch before the page end. I am using the report class and ...
2
votes
1answer
51 views

How can I force labels in `description` environment to stay within the margins?

The labels in description exceed the margin by default. I tried using labelwidth=\widthof{Described Item} + 2.5\labelsep and it works well. However, I would like description to handle the alignments ...
8
votes
1answer
105 views

Detect side of the page with tikz

I want to define a macro \mymark to produce a simple small tikzpicture in the margin, on the side that is closest to the point in the text where the macro was called. What I have so far is: \...
0
votes
1answer
42 views

how to get smaller top and bottom page margins for a single (float) page?

I have a tall figure that I want to appear on a separate page, but NOT at the very end of the article, and want smaller top and bottom margins only for that float page. I can use \begin{figure}[p] to ...
1
vote
2answers
71 views

tufte-latex: excluding the sidenotes margin from certain pages

Excluding Margins from Pages I'm looking for a way to exclude the sidenotes margin from certain pages in my document (notably the frontmatter and the part header page). For instance, in Example 1, I ...
0
votes
0answers
30 views

cairolatex produces .tex file with different axis label margins in mac and linux

Running the following gnuplot script on my mac and linux computers give different spacings between the axes labels and the axes set term cairolatex pdf standalone size 100cm, 100cm dl 1 font ",12" ...
0
votes
0answers
26 views

Left margin problem at the bibliography

I'm using PhDThesisPSnPDF class and I want to edit the bibliography margin. I want to make other line straight with the first. Not like my current one. What I wanted : In case if you need the code : ...
3
votes
1answer
95 views

Accurate control with \setupalign[hanging] for optical margins in ConTeXt?

How could I get more control handling the "hanging" option for hyphenation with optical margins provided by \setupalign[hanging]? That is to say, I am not worried about protrusion. The default "hz" ...