Questions tagged [geometry]

{geometry} is a package that allows to change the margins of (whole) pages and, conversely, the width and height of the textblock and its positioning on the page.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

geometry's includehead doesn't work properly with multiline header

I am programming a class (based on koma-script article) which includes a changing header, so sometimes a multiline header is possible. With this setting I cannot fix the top distance of 2cm. The ...
0 votes
1 answer
54 views

Latex Package Get Document Geometry For Use In Package [closed]

Is there a way to retrieve the geometry of a .tex file from the .sty file? I would like to automatically be able to pull in the following: Page Width Page Height Top Margin Bottom Margin Right Margin ...
0 votes
0 answers
16 views

Contents imported from csv file goes beyond the page below

I want to create a one-word Q&A document. I imported the contents from a .csv file which has 104 rows, the contents go below the page and not to the next page. How do I rectify it? \documentclass[...
0 votes
0 answers
23 views

Increase the bottom margin of a specific page with footers

I'm using geometry package in the following code. At the moment, in a page without footnotes, the margins are all 15mm, which is what I expect. However, in a page with footnotes, sometimes the bottom ...
  • 18.5k
0 votes
0 answers
16 views

Changing margin used \addtolength with a document class "Book" applied only to header

I'm using a documentclass "book" (\documentclass[11pt,a4paper,twoside]{book}) and I want to increase the margin to be able to reduce the text width. I've tried geometry but when using \...
  • 1
1 vote
1 answer
42 views

Large tables force page numbers into awkward locations

I am trying to create a large table in landscape mode, but using the geometry package changes where the page numbers go. The result is a visually appealing table, but awkwardly placed page number. ...
1 vote
1 answer
22 views

Manyfoot margins, conflict with \newgeometry

I need one part of a book to have wider margins than the rest. (I know that this is non-standard, but this part is a translation of a text that has large marginal notes.) Furthermore, this part of the ...
0 votes
0 answers
33 views

Question about adapting the Elegant Book template for page layout with crop marks

I am tryin to adapt the Elegant Book template for my book. I have made some changes, but I am having problems adapting the template for the following: The page layout as required by the publisher, ...
  • 1
0 votes
1 answer
39 views

Empty Margin inside of text body

I am trying to mimic a common textbook/study guide typesetting where every page's body (not header nor footer) have a "Notes" area on the outside margin. I have been looking at geometry, but ...
0 votes
0 answers
21 views

Changing the margins in the middle of a document using geometry [duplicate]

I have a specific question about changing the margins for part of a book using the geometry package. I am using the memoir class. (I know that memoir has its own controls for the page layout, but ...
0 votes
0 answers
25 views

Why \restoregeometry change the front of the Document?

I am working on the following environment: \usepackage{minitoc} \usepackage{subcaption} \usepackage{longtable} \captionsetup[sub]{font=scriptsize,labelfont={bf,bf}} \usepackage[utf8]{inputenc} % ...
  • 260
0 votes
0 answers
65 views

65-75 characters per line is easier for me to read but side margins are large

I have a document that has 1.8" left and right margins allowing me to adhere to the 65-75 characters per line rule which is considered to be the optimal line length for the human eye to scan. ...
4 votes
2 answers
154 views

TikZ drawing with Geometry package

I have the following test document: \documentclass[11pt,a4paper,landscape]{article} \usepackage[ left=0.500cm, right=0.500cm, top=1.00cm, bottom=0.800cm, ]{geometry} % turning on ...
  • 515
2 votes
1 answer
104 views

How many lines do you usually have on a page?

from what I read 75-80 characters per line should be the optimal for the human eye to scan. Leslie Lamport makes a mention about this: https://haroldpboas.gitlab.io/courses/math696/LaTeX-customizing-...
2 votes
1 answer
41 views

Why does highlighting stop working when I introduce hyphenation and text including an equals sign?

I'm using soul's \texthl in combination with \texttt to render inline code that can break at arbitrary hyphenation points when it reaches the end of a line. To simulate the "verbatim" aspect ...
  • 1,460
0 votes
0 answers
20 views

Importing geometry package messes up line breaking behavior of \texthl

It looks like uncommenting line 6 of the code below suppresses the line breaking behavior of \texthl \documentclass[a4paper, 11pt]{article} \usepackage{parskip} \usepackage{fontspec} \usepackage{...
  • 1,460
0 votes
0 answers
24 views

How can I drag my box made with \rule

First of all english isn't my first language so it may sound weird. I made a box with the help of a question asked by someone else and it won't go acrossed the whole document. the code I used is \...
0 votes
0 answers
45 views

Complex geometry of a 3-dimensional body

Is it possible to draw such a picture in LaTeX?
  • 165
0 votes
2 answers
33 views

Margins around a pdfpages produced document

I have a beamer presentation I want to squeeze into a 2 in 1 A4paper document, but with margins around as beamer frames come against the up and down paper borders. I tried unfortunatly this : \...
  • 16.5k
0 votes
1 answer
56 views

Working with geometry and fontspec packages under the bookcover package

Problem Description The following code from page 30-31 of the bookcover package documentation can run only under pdflatex as suggested by one of the comments in it: \documentclass[ coverwidth=150mm, ...
  • 492
0 votes
1 answer
37 views

Bottom margin for a page with footnotes

I'm using geometry package in the following code. At the moment, in a page without footnotes, the margins are all 15mm, which is what I expect. However, in a page with footnotes, e.g., Page 3, we ...
  • 18.5k
0 votes
1 answer
34 views

Conventional headsep in academic proposal

In the pdf generated by the following code, from Page 2, the first line overlaps with the header. Does anyone know if there is any conventional measures for headheight and headsep on an A4 paper (for ...
  • 18.5k
0 votes
1 answer
38 views

Geometry Package and Some Other Page Dimension Specifications

I wish to know if the geometry package currently support the following page dimension settings: That is setting up the following: 2=3 (to be set at 1in each); 5=6 (to be set at 4.6mm each), and 1=4 (...
  • 492
0 votes
0 answers
34 views

What is the standard formatting for figures being in the left margin? (Or column?)

I've noticed that a lot of math textbooks have a small right margin and a large left margin, so that they can put figures, along with captions and notes in the left margin. I'm wondering what the ...
0 votes
1 answer
73 views

Setting a fixed space between header text and head rule AND also between footer text and foot rule

Problem Description I wish to set a fixed space between header/footer text and the headrule/footrule. I have gone through Setting same distance between header rule, footer rule and text and it is not ...
  • 492
-1 votes
1 answer
32 views

How can I use onecolumn and twocolmn text in different pages in the same document?

I am trying to use onecolumn and twocolumn, from the geometry package in the same document simultaneously (that is, different styles in different pages). Is there any way to achieve that?
3 votes
2 answers
189 views

Draw random geometric graph with TikZ (connect close random nodes)

I want to generate a random geometric graph in TikZ. A certain amount of nodes are thrown randomly in a square, and each pair is connected if their distance is at most some fixed number r. I am able ...
  • 297
1 vote
1 answer
31 views

How to fix margin in report using latex in overleaf

I am trying to write a thesis taken from one of the overleaf templates on the internet. When I write it margin is not working properly. I need to keep margins, left= 40 mm, right= 40 mm, top= 15 ...
  • 11
1 vote
1 answer
44 views

Set space between body text and header/footer in memoir class

I want to be able to change the vertical space between where the body text ends and where the footer starts, while fixing the margins to be 20mm. \documentclass[12pt, a4paper]{memoir} \usepackage{...
1 vote
4 answers
227 views

All margins should be at least 15 mm (not including any footers or headers)

I'm writing an important proposal, and here is the required formatting: Page limit: 20 pages The minimum font size allowed is 11 points The reference font for the body text of proposals is Times New ...
  • 18.5k
1 vote
1 answer
44 views

How to use the spread option for a tcolorbox together with the crop package?

When I use a spreading tcolorbox together with the geometry and crop packages, tcolorbox ignores the page offsets given by crop. This does not happen with non-spreading tcolorboxes as shown in my MWE. ...
0 votes
1 answer
21 views

Custom headers/footers and filler text position on "blank" left-hand page

What I want: The title page of my report has custom margins to comply with my document's formatting guidelines. I use the package geometry for that, with the command \newgeometry{} for the title page. ...
  • 103
1 vote
1 answer
34 views

Problem with Positioning of Page Number after \newgeometry

I am using \usepackage{fancyhdr} for my headings and the positioning of the page numbering. I am reporting several graphs on one page and since I want to make these graphs big enough, I have used \...
  • 57
0 votes
0 answers
36 views

Titlepage bleed in KOMA-Script with Crop

My document is using the KOMA-Script scrartcl class. I wish to add a bleed around every page for printing using the crop package. I'm also using geometry for the titlepage only (as my institution ...
2 votes
1 answer
42 views

Column set to `\textwidth` is wider than general text on the page

In the following example, I'm dumping some lorem ipsum text into the output to have some sense of the \textwidth. Then I create a simple table, and set its first column equal to \textwidth. \...
  • 1,460
0 votes
1 answer
41 views

Multiline header forcing the headrule downwards

I am having problems with multiline headers, they are forcing the headrule downwards depending on the number of lines occupied by the header title. I want my headrule to be fixed such that it does not ...
  • 492
0 votes
0 answers
23 views

changing margins on overleaf

How I want to make these all four margins small. Now, these are two long, and text is too inside the page. How can I correct this ?
  • 131
1 vote
2 answers
34 views

with large footnotes, and paperback format, reset the footnote counter at each page doesn't work perfectly

I want to reset the footnote counter on each page. This is very simple. Many packages exist. I prefer for my part to use tex : \makeatletter \@addtoreset{footnote}{page} \makeatother Unfortunately, ...
0 votes
1 answer
22 views

Modify Table of Content and Summary geometry

I am currently writing a report, quite a long one actualy. However I have a limit on the number of pages I can write. I have a grand total of 21 pages including the summary, the table of contents (TOC)...
0 votes
2 answers
47 views

The geometry package is stretching my quoteblock

I am having trouble understanding how to fix this. I have a latex command for a block-quote, that I found somewhere else on this site. The sentence I want to quote, however, is stretched on two lines. ...
0 votes
1 answer
60 views

Calculate length between marginpar and page edge

This is about calculating and saving a LaTeX3 dim to pass as a parameter when loading a package. If it matters I'm using This is LuaHBTeX, Version 1.15.0 (MiKTeX 22.3) LaTeX2e <2022-06-01> patch ...
  • 153
0 votes
1 answer
40 views

How to change orientation of a latitude circle on a sphere?

I have a sphere, a disk that goes through the equator, and a latitude circle above the equator that is colored red. I would like to rotate that red circle so that it intersects the equator disk. How ...
0 votes
0 answers
26 views

changing geometry without using newgeometry

I'm using a template which I don't exactly know how it works. In the document I to create a space for notes on the side of all the document, so I used \geometry{outer=200pt, marginparsep=20pt, ...
1 vote
0 answers
28 views

Change page size on command line

Is it possible to build a given LaTeX document with a different page size? Best would be to somehow "override" the page size on command line when calling pdflatex. Second best would be a ...
2 votes
2 answers
245 views

How are the command names on the side in CTAN docs typeset

Trying to figure out how they place the command names on the left margin on package docs on CTAN, e.g. I have tried using marginpar, but my text is not properly aligned. Minimal example: \...
  • 367
0 votes
0 answers
49 views

adjust the margin to be 1"

I am working on my dissertation, I am using a custom document class you can find it here I am trying to make the margin 1" from each side. I tried to use geometry but didn't work \usepackage[...
  • 85
0 votes
1 answer
39 views

Remove far left bleed on geometry and TikZ (overlay)

I am getting some sort of undesirable left bleed despite my attempts to eradicate it when I try to use geometry together with TikZ: \documentclass{article} \usepackage{tikz} \pagestyle{empty} \...
  • 3,487
0 votes
1 answer
27 views

Center text when in oneside but add binding offset in twoside

I wish to be able to switch between a centred pdf layout and offset layout for printing and binding. Using the "oneside" and "twoside" document class options seems to be best for ...
  • 181
0 votes
0 answers
40 views

newgeometry + restoregeometry creates empty pages before and after the page of interest

I have a long table on one page, for which I tried to use newgeometry before \begin{table} and restoregeometry after \end{table}. This creates an empty page before the page of interest, and another ...
0 votes
1 answer
59 views

Centering a text while using wrapfigure

I would like to ask why it is not possible to center a text/equation just after using a wrapfigure that allows to create a customized box. For instance, I would like to avoid to obtain this ...
  • 391

1
2 3 4 5
21