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.

Filter by
Sorted by
Tagged with
1
vote
2answers
17 views

how to fit this tree within the default margins?

i have the following code and wish it to fit the default margins without making he page vertical, is it possible to do this? \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{forest} \...
1
vote
2answers
66 views

tabularx is breaking page formatting for some reason

I am in the process of writing my PhD thesis in chemistry and I seem to be having a problem with the table/tabularx instances. I have a lot of tables and I also have several longtables (which seem to ...
1
vote
1answer
25 views

How to make an A4 publication fit in a letter document for ArXiv

I have written a paper in A4 format (Springer Journal style) and need to submit it to ArXiv. However, ArXiv messes up with the margins of the file for some reason. According to their FAQ, it is ...
1
vote
1answer
14 views

How to Remove `\marginparwidth` for Pages without Margin Notes?

In regular LaTeX, how could I remove the space reserved for sidenotes on pages that don't have any margin notes? Issue: Just trying to use the extra space if possible. I am trying to do this with ...
0
votes
0answers
16 views

\addtolength is causing registered symbol to go beyond the margin

I am having a little but painful problem that is the registered trademark symbol in my thesis is going beyond the right margin (see the figure). I have noticed that if I do not use \addtolength ...
1
vote
1answer
42 views

Underfull \hbox (badness 10000) in paragraph at lines 75--76 [duplicate]

I understand this type of error occurs as a result of line stretching beyond the region. What is the best way to fix it? LaTeX file (lines) 75 A \emph{trajectory} is a representation of a portion ...
0
votes
1answer
22 views

output of the \usepackage{showframe} command

I'm using a twoside document and want to check my binding clearance. What does this output represent?
0
votes
2answers
28 views

Adjusting page width/margins in paracol

I can't seem to find an appropriate option in the paracol documentation, but I was wondering if there is a way to easily adjust the margins using the paracol package or if I have to do some external ...
1
vote
1answer
42 views

Some page content goes beyond the page borders

I'we created such file: \documentclass[a5paper]{report} %\usepackage[showframe, margin=1cm]{geometry} \usepackage[pdftex,colorlinks=true,allcolors=blue]{hyperref} \begin{document} \paragraph{...
0
votes
0answers
24 views

Different header heights on different pages

I'm writing solutions for math contest and I have some troubles with margins. In one file I want to have more than one solution, but every solution should start on a new page. The first page of each ...
0
votes
1answer
18 views

Move changes-comment/remark boxes to the left

tl;dr Using the changes package - how can I move comment/remark boxes to the other side of the page? Minimal (working) example (based on PlosONE template): \documentclass[10pt,letterpaper]{article} \...
0
votes
1answer
46 views

big \tableofcontents - bottom margin not working

When creating the table of contents via: \tableofcontents The bottom margin is not working (see screenshot). The other margins seem to work. Do you have any ideas what could went wrong? Example to ...
0
votes
2answers
46 views

Reducing white/empty space on page

I'm writing a thesis in Texmaker and use the documentclass "scrreprt". For designing a page I use the following code: \documentclass[fontsize=11pt,paper=a4,DIV=10,BCOR=12mm,oneside,toc=listof,toc=...
0
votes
0answers
16 views

Getting rid of space around flashcards in the flashcard class

Consider the sample document given in the (chapter 3) of the documentation of the flashcards class. When printing those flashcards I don't want to spend extra time also cutting of the extra white ...
4
votes
1answer
60 views

Draw a horizontal line from the left margin to the end of centered text

I would like to draw a horizontal line from the left margin of the current page to the end of a centered text. For example, if I write "Hello, world!" as centered text, I would like a line spanning up ...
0
votes
1answer
23 views

Query left margin of page

Obviously, TeX does know the horizontal position of the paragraphs on the paper. It is what geometry calls left. How can I access it? I suspect there is (or one can define) a simple length register, ...
0
votes
0answers
37 views

remove chapter margin

I'm using this ChapterFrame: Chapter Title in rotated vertical box at the margin YOU SHOULD COMPILE THREE TIMES BEFORE TO SEE THE MARGINS ! I add the chapter frame under the first three chapters... ...
0
votes
0answers
24 views

Wall Street Research Report Format

I am trying to find a format that closely resembles the wall street equity research layout. Basically, I need in a given page, horizontally cut, about 3/4 of the page for the main writing and 1/4 of ...
1
vote
1answer
31 views

Margins, forest package, text on page and node centering

I'm trying to draw a figure describing a timeline and would like help with 2 aspects of it 1) I'm trying to add some notes to a forest made in LaTeX. I have modified margins and resize boxes in order ...
0
votes
0answers
18 views

Subsection out of margin in LYX

I have a title of a subsection which is out of the margin of my document as can be seen below figure. Can someone help if i can use maybe some kind of ert whichi will be inline with my content?
5
votes
2answers
45 views

Shift children and subtrees horizontally in forest

I am trying to draw a tree diagram with forest package. In order to have the diagram fitting within the page margins, I moved down the subtree of NastranBulkData object, as you can see from the image. ...
3
votes
2answers
40 views

Standard alternative to 'addmargin' environment

I have an old .tex file in Koma-Script in which I use the practical environment addmargin. Now I have copied part of my old LaTeX code in a new file that is not Komma-Script. Therefore the addmargin ...
1
vote
1answer
20 views

Description with Vbox Seems to Ignore Margins

I have searched a few times, and have not found anything on here which fixes my issue. Essentially, I am using the geometry package with a margin of 0.75in; however, when I use the vbox with a ...
2
votes
1answer
25 views

Different inner margins with tikzposter

Is there a way to create different margins on different edges with tikzposter? More precisely, I would like to have a bigger distance from the left edge of the poster to the text than on the right. ...
1
vote
0answers
36 views

caption and longtable forcing text out of margin [duplicate]

Consider this example \documentclass{report} \usepackage{graphicx} \usepackage{caption} \usepackage{longtable} \usepackage{lipsum} \begin{document} \begin{figure}[htbp] \centering \...
2
votes
1answer
41 views

Putting the links and email in left/right corners

How can I place the link in the left and the email in the right corner of the resume LinkedIn : https://www.linkedin.com/in/abc-934894159/ email: XXX@gmail.com I did this \documentclass[margin]{...
0
votes
1answer
42 views

Outside of margin Equation

I am working with Lyx and am trying to fit an equation in my margin as it is getting out side of the margin as can be seen in the below image. I have tried to use the multiline enviornment but it ...
1
vote
2answers
53 views

How to set margin between section number and section title in TOC?

I want to create a TOC, that will have equal margins between section numbers and section titles regardless of the number of digits in section number. I have an example of solution, but I want to use ...
2
votes
0answers
37 views

fbox of parbox of textwidth length is too wide

I was implementing the code found in this Q/A How to put a long piece of text in a box? to create a command for a paragraph text inside a framed box. However the box goes too far into the margin ...
0
votes
1answer
36 views

How to set margins, header and footer with fancy hdr?

This is a document template with header and footer, but I have no idea how to make a broken line and that the header look like this (all at the top is the header) Someone can help me?
0
votes
0answers
23 views

Problem with \usepackage[margin]{geometry} and \usepackage{todonotes}

I have problem with \usepackage[margin]{geometry} and \usepackage{todonotes}. The todo notes intrusion on margin. I want in my article using more wider margin. \documentclass{article} \usepackage{...
0
votes
1answer
31 views

setting different margins for Pylatex sections

I would like to set different margins for different sections of a Pylatex document (incl header, sections and subsections). I'm new to latex I am currently setting my geometry options as follows, ...
0
votes
2answers
51 views

How to reduce the margins when using book?

I do not want to specify the margins to use such as the following because I get uniform margins on odd and even pages. Instead I would like to set that I want to reduce the default margins by 30%. \...
1
vote
2answers
68 views

Drawing a colored rectangle containing margin

I want to draw a colored rectangle that contain left, top and bottom margins. Like this picture (border is not real). \Thanks :) \documentclass{book} \usepackage{showframe} \usepackage{tikz} \begin{...
1
vote
1answer
31 views

change position of caption with margincap

Currently it looks like that but i want the caption to be aligned with the top of the image and not the bottom. My Tex file looks like this: \documentclass [ captions=topbeside, oneside, ...
0
votes
1answer
29 views

Change distance to text before and after newenvironment

I cannot find a way to specify a minimum distance between the environment and the preceding / following text. Is there a way of setting a minimum for (A) and for (B) speciffically for my example ...
0
votes
0answers
21 views

is it possible to change margin sizes if a page contains a margin note or side note?

I am working on a textbook. I like the aesthetics of side notes when they are present on a page. I do not like the aesthetics of the large empty margin when no side note is present on a page. Is ...
0
votes
0answers
45 views

Why does Overleaf compile the Jacobs Landscape Poster template incorrectly?

I want to use the Jacobs Landscape Poster template to create a poster using beamerposter. I am able to successfully compile this template using Travis CI; as you can see, the only difference between ...
0
votes
1answer
21 views

Class file somehow not allowing multi-page deluxetable to fill each page

Working with a thesis class file, I find that my multi-page deluxetables are not permitted to fill the margins all the way, but instead fill only about half the height of the page, and maybe ~2/3 of ...
0
votes
1answer
51 views

how to create a table that repeats in every page with fixed size?

https://ibb.co/zH7L8kj I've uploaded the image, I have this table to be repeated for 30 pages the size is fixed as well. The page should have margins of 2.5 cm from the left/right and 2 cm on top/...
1
vote
1answer
35 views

Different page layout required for front matter and body matter

As per my requirement I want different text width and margin for single book. Please suggest me how to fix this. Here my code: \documentclass{book} \def\frontmatter{\setlength{\textwidth}{117mm} \...
3
votes
3answers
123 views

Longtable of size \textwidth exceeds right margin

I try to create a table with the longtable package that fits into the whole text width available. Here's my code: \documentclass{article} \usepackage{longtable} \usepackage{amsmath} \title{Raccolta ...
1
vote
1answer
41 views

Changes in left and right margins of the page

to write my master's thesis, I'm using overleaf. I want the odd page numbers to be on the right where the even page numbers should be on the left side of the page. However, based on my measurements, ...
1
vote
1answer
41 views

Reledmac / geometry: text going over bottom margin

I am struggling to have a text typeset within a specific frame. However, this is not the case. As you can see from the example I have attached, the text goes beyond the bottom margin. I'm not sure if ...
1
vote
2answers
51 views

How to add extra leftmargin only for the body in an environment?

How to add extra left-margin only for the body in an environment? The extra margin should be of same space as the environment-head occupies. For example, what I am getting is this: And what I want is ...
0
votes
1answer
62 views

Distance between top (or bottom) margin and header (or footer)

I am preparing a camera-ready book. My publisher has given me a stylesheet that is based on a Microsoft Word template. I am having trouble setting the exact measurements of the sheet with the geometry ...
0
votes
3answers
29 views

How to shrink a large table within the default margins?

I have this large table and wish to squash it to fit the default margins, is a solution please? \documentclass[12pt, a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
3
votes
2answers
59 views

Geometry per section level?

Is it possible to have different geometries on different section levels, assuming always that you can guarantee they are on different pages. It may sound weird, but let me illustrate with a case where ...
1
vote
2answers
43 views

addmargin - unwanted newline and indentation

I want to set a bibtex entry for a book on the copyright page. I try to set the margins to achieve a clean alignment and indentation independent on the actual text included. Unfortunately, addmargin ...
0
votes
0answers
27 views

Left sided margin in beamer

I'd like to ask you how the main text "(i) X'' weakly..." would be placed slightly more right side? I hope that the sentences (i) and (ii) start right below "The ..." in conjecture. Maybe it's easier ...