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
0answers
29 views

Why is the bottom margin of my PDF not the same throughout my document?

I'm not very versed in Latex, so I found LyX to be an easier option for me. Thus, I chose it to write my masters thesis. I'm currently facing an issue, mostly because I'm very perfectionistic. Thing ...
1
vote
0answers
25 views

Align Header with Text/Type Area in KOMA but let Page Number bleed into Margin

Consider this MWE: \documentclass[twoside]{scrreprt} \usepackage[automark]{scrlayer-scrpage}% \clearscrheadfoot%clear default \lehead{\llap{\pagemark\enskip\rule[-2ex]{1.5pt}{4.5ex}}\enskip\...
1
vote
0answers
10 views

Todo note floats into the wrong margin with page break and TeX capacity exceeded

While writing a seperate document I noticed that the todo note was printing in the wrong margin. Initially I thought this was because of a rogue use of \reversemarginpar, but after a bit of playing ...
0
votes
0answers
14 views

How to LaTeX to use entire vertical space in multicol environment? [duplicate]

I am working on a poster using the a0poster class in landscape mode. I have 4 columns across the width of the poster with various content including figures and text. The issue I am running in to is ...
0
votes
0answers
17 views

Definition different margin for 2 sided, double sided

i want to create 2sided article with different margin: front page: Left margin =1.5 cm, right margin = 3 cm back page: left margin =4 cm, right margin = 6 cm How is the difintion? Please help, my ...
0
votes
1answer
44 views

Remove gray chapter number boxes on chapter title page

I have successfully added a grey box (given minor revision) in the margin of each page with the number of the chapter using the code from "Show current chapter number on each page margin". I'm trying ...
0
votes
1answer
19 views

Edas submission Camera ready problem

I'm about to submit my PDF CR version for IEEEconf but I have got the following error PNG conversion problem (1) Array ( [0] => gm convert: "gs" "-q" "-dBATCH" "-dSAFER" "-dMaxBitmap=...
4
votes
2answers
137 views

Including large images in landscape formatting

I'm having issues including large images in landscape mode This is about as large as the image will render Changing the size makes the orientation switch Ideally I'd like to be able to have a ...
0
votes
0answers
18 views

How to prevent itemize from breaking page margins?

I'm using \begin{itemize} with some very long items, but they seem to ignore the standard page margins and give me bad box warnings. How do I prevent the list items from breaking from the margins of ...
0
votes
1answer
46 views

Set different margins with twoside in LaTeX

I am trying to set different margins for the first page of my document. As I am not sure about the content of the first page, the \afterpage command has been used to achieve the required effect. ...
0
votes
0answers
48 views

Margins for A4 with and without geometry package

I am trying to figure out the margins of the document class article. I know this layout figure: https://en.wikibooks.org/wiki/LaTeX/Page_Layout The article says that I can change the paper size to A4 ...
0
votes
0answers
38 views

Document margins with a4paper: documentclass vs. geometry

Using pdflatex, I would like to set an A4 article. I believed (from this answer) that it did not matter whether I use \documentclass[a4paper]{article} or \documentclass{article} \usepackage[...
0
votes
0answers
33 views

Make two margin notes in left and right of the sameline

I try to do someting like in Margin notes on both left and right? but with wrapfig (or another package which permits it). The goal is to get two margin notes witch overlap a little bit the main text ...
2
votes
1answer
53 views

Accessing #1 in the end part of a new environment declaration [duplicate]

I'm working to a document in memoir and I'm struggling trying to define a new environment which would allow me to place a figure in the main text and its caption in the outer margin. This is an ...
1
vote
1answer
25 views

Apply fancy page style using fancyhdr package on the first page only

my problem is that I need a fancy style in the first page and an empty style in the rest. Even though I used \thispagestyle{fancy} only in the first page, it didn't work. Here's my code: \...
4
votes
4answers
65 views

Aligned equations with comments/explanations

In many cases I want to write some aligned equation that goes through multiple lines and add a comment for some of the lines (I think if the comments are short enough then it's clearer than explaining ...
1
vote
1answer
49 views

Figures, texts and captions outside margins

I'm having problens in adjusting figures inside the expected space for the text, since they are getting outside the margins. The captions and some lines of text have the same problems. Here's my code:...
0
votes
0answers
30 views

Custom counter for oddside and evenside margins

When using the twoside in the article class, resetting the page counter creates an issue in regards to the odd and even side margins. Is it possible to declare a custom counter that article considers ...
1
vote
1answer
30 views

How to add figure in the left margin?

I found a post about adding figure to the right margin, which works pretty well. Add an image in the right margin However, I don't know the commands for adding a figure to the left margin. Can ...
2
votes
1answer
84 views

Margins in PDF document

I created a LaTeX document with a header and converted it to PDF with luatex. When I open the document with a PDFviewer (I tried Acrobat and pdf exchange editor) and try to print it, the PDF viewers ...
0
votes
1answer
25 views

Repeated section titles clipping / overflowing through page

So I am currently writing a report in Latex, I chose to use the "classicthesis" template in the Overleaf editor. The problem I have is that the repeated section titles (i.e. if I begin a section and ...
-1
votes
0answers
24 views

Position of math table [duplicate]

My table is too wide and a goes over the right edge of the page. There are generous margins though, so if I could shift it to the left, all of it would be included. When it comes to text there is no ...
1
vote
0answers
30 views

Marginnote Large Fonts are Misaligned from Text

I am still in the process of making a similar style kind of book to https://fac.ksu.edu.sa/sites/default/files/numerical_analysis_9th.pdf. This mostly includes having section numbers as well as ...
3
votes
2answers
42 views

Cropping white margins in document preview

I am working on a document using the book class, with the default font size of 10pt and default margins. \documentclass[oneside]{book} \usepackage{blindtext} \begin{document} \blindtext \end{...
0
votes
1answer
43 views

How to move section,subsection, etc. title entirely to page margin?

How to move section's, subsection's, etc. titles entirely to page margin? I want to have section's titles at margin and section text should start at the same height as section title. I'm working with ...
0
votes
1answer
75 views

ConTeXt: uniform handling of whitespace in margin and text

Why does whitespace handle differently in the margins than the text body? \setuppapersize[letter] \setupwhitespace[medium] \setuplayout [backspace=4.375in, width=3.625in, leftmargin=3....
4
votes
2answers
111 views

Overlapping body

I'm trying to keep body text inside its box but it overlaps the header. I tried using \voffset, \headsep and \headheight, but it seems they do not work as I expect \documentclass{article} \usepackage[...
1
vote
2answers
299 views

How to change margins for a table defined in tabularx environment?

I would like to move my table \documentclass[a4paper, 12pt]{article} \usepackage[top=2.5cm,bottom=2.5cm,left=3.5cm,right=2.5cm]{geometry} \usepackage{ltablex} \begin{document} \begin{tabularx}{\...
0
votes
0answers
46 views

recommended margins?

I have read why they tend to be large in the default, e.g., in Margin on a4 paper is too big , Why are default LaTeX margins so big? . alas, margins as wide as the defaults in latex are clearly not ...
0
votes
0answers
39 views

The counterpart of “adjustwidth” as “adjustheight”

Is there a counterpart/similar function like "adjustwidth" to width, as the "adjustheight" to height? What I hope to see is something like shifting a whole table upward above the top margin, since ...
1
vote
1answer
31 views

Missing number, treated as zero when using renewcommand

I am trying to temporarily get read of marginpars in my paper. I tried to simply \renewcommand{\marginpar}[]{} but I get: ! Missing number, treated as zero.<to be read again>} \renewcommand{\...
1
vote
1answer
23 views

Commutative diagramm (tikzcd) in margin

The following example gives me an error \documentclass[12pt,oneside]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage[a4paper, inner=...
1
vote
1answer
25 views

Send a particular figure to the back

I am writing a double-columned article. I am having a problem that one particular figure covers some of the text above and another figure across the column. See following picture: I did a lot of ...
1
vote
2answers
53 views

Figure position left

This is the code that I use to create a figure: \begin{figure}[H] \includegraphics[width=0.9\paperwidth]{img/Info.png} \caption{Info \label{overflow}} \end{figure} The problem is that the ...
1
vote
1answer
30 views

How can I make these \parbox margins wider in LaTeX

I have the below command, followed by the text that I want displayed. I've attached a display of the output. I would like the top middle text to have wider margins. I've tried tweaking the \parbox ...
1
vote
0answers
58 views

Mimicking Latex Style

I recently stumbled across the mathematics textbook Numerical Analysis 9th edition by Burden and Faires and I thoroughly enjoyed the style of it. I was able to find a link too here: https://fac.ksu....
0
votes
0answers
21 views

Move down the text 4mm in a b5paper document

How can I get the default options of a b5paper in geometry package? I want to modify some parameters like the distance from the top to the begining of the text and the distance from the bottom to the ...
0
votes
0answers
28 views

Translate the text 5mm downward

I have written a B5 LaTeX document using the following commands: \documentclass[b5paper,11pt,openright]{book} What I want to do is to move all the text 5mm downward so that the topmargin is 5mm ...
1
vote
1answer
43 views

Bad right margins in List of Tables and List of Figures

I have a huge problem with the right margin of my List of Figures and List of Tables. Some words ignore the right margin. Time periods, I've written like this (2071-2100) also don't appear in a ...
0
votes
1answer
28 views

Increasing left margin in itemize environment of beamer class

My question is like Changing left margin in itemize environment of beamer class except that I want to increase the left margin by maybe 15ex, while that question sought to suppress the left margin. ...
0
votes
2answers
47 views

Different margins for different section headings

I would like text with a large left margin, chapter titles using a normal left margin, and section titles halfway between the two. This code: \documentclass{memoir} \usepackage{lipsum} \...
0
votes
0answers
23 views

Making knit output fit into the light blue space

I'm working with Knit and I'd like R commands and outputs to fit nicely into the light blue box. Is there any LaTeX function to do this? I'm adding a MWE of the same problem with a different case: \...
2
votes
0answers
54 views

Does a two-sided book look ugly from the computer? Is it about margins? [closed]

I think it does. I believe that the main reason is that it's uncomfortable when you scroll down. Is there a way to keep the same margins in even and odd pages?
1
vote
2answers
82 views

How to set exact margins in KOMA-Script Report

I am creating a document using the KOMA-Script class scrreprt. It is to be handed in and the requirements specify the following page layout: A4 paper One-sided print Margins: left 3.5 cm (2.5cm ...
0
votes
0answers
13 views

Page layout in texmaker (especially margin)

I want to change the top margin for every page in texmaker since the top and bottom margins are very wide. How can I reduce it? Any help would be appreciated. I could not find a question on this topic,...
0
votes
0answers
33 views

Local fullwidth environment in symmetric document with margin

In a symmetric twoside document with 5cm margin on the outer side of each page, I want to create an enviroment where I can place locally a piece of text of full page width. Any solution that I have ...
1
vote
1answer
28 views

Bottom margin is different on even and odd page

I am trying to have an article class document with this requirements: Twoside Two columns with multicol except section and subsection title Header, footer and section title colorized according to the ...
1
vote
1answer
50 views

How does using \makebox allow arbitrary placement of things on a page?

What is it about using \makebox that makes it disregard text body borders / margins, where other boxes respect the margins / text width and friends? Allowing images outside of margin Letting graphics ...
1
vote
1answer
22 views

crop paper size to image size

I want a pdf file cropped to image size (modelo1.png) but top margin still there. \documentclass{standalone} \pagestyle{empty} \usepackage{graphicx} \usepackage[width=9cm, height=9cm,top=0cm]{...
0
votes
1answer
28 views

Title format is going beyond the pages

I am writing a short note with a title at the top in LaTeX. While it appears in the page, it goes beyond the top of the pages. Can you please inform me how to control (some command) so that the title ...