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
1answer
39 views

Italicized characters violating margins, even with microtype option [protrusion=false]

Pretty self-explanatory. I'm dealing with a gov't agency which uses automated checks for uploaded documents. I was going in circles trying to find margin violations. I expected microtype to be able ...
0
votes
1answer
35 views

Restoregeometry causes text to run of page

Currently, I am working on a package for an association. I am trying to achieve the following: the geometry of the first page should be different from all the following pages. There are some questions ...
0
votes
0answers
34 views

Producing custom shaped PDF format (like A4,A5 but custom)

In the preamble, I can set the format of the PDF file via the geometry package as I want (here 5cmx20cm). \documentclass[11pt,twoside,german]{article} \usepackage[T1]{fontenc} \usepackage[sfdefault,...
0
votes
0answers
23 views

Inconsistent margin around equation with geometry package setup

Problem Following a precedent question, I realize that my thesis spacing problems are due to different packages in different condition. This time, it seems that the geometry package—or more precisely ...
0
votes
0answers
21 views

Setting margins to a A4Paper

Im writing a paper for school and I am using the geometry class to set the left and right margins. \documentclass[a4paper,10pt]{article} \usepackage{geometry} \geometry{ a4paper, ...
1
vote
0answers
31 views

How does this `Underfull \vbox (badness 10000)` happen? [duplicate]

Perhaps this is a silly question. I got several Underfull \vbox (badness 10000) in my document, and to find the reason, I simplified the code all the way to \documentclass{book} \usepackage{geometry} \...
1
vote
1answer
31 views

`geometry` strangely affect the behavior of `ragged2e`

Look at this example: %! TEX program = xelatex \documentclass{article} \usepackage[scheme=plain]{ctex} \ctexset{linestretch=0pt} \xeCJKsetup{CJKglue={},CJKecglue={},RubberPunctSkip=false,CheckSingle} ...
1
vote
1answer
41 views

Reflection page using xcoffins

I am missing something when it comes to creating a page that mirrors this page (reflect this page over the y-axis/vertical fold) Here is my xcoffins code: %\documentclass[10pt]{article} \...
1
vote
1answer
28 views

Crop package, geometry and memoir leads to option clash

I need the cam option of the crop package (not provided by memoir's trimmed sizes), but when I put memoir, geometry, and crop together, I get an option clash warning. Is there away to circumvent this ...
0
votes
2answers
51 views

\afterpage{} not working for \newgeometry and \restoregeometry

My goal is to have a different geometry for the first page compared to the rest of the document. The only way I found to do this is to use the \afterpage{} command. MWE (note the different headheights)...
3
votes
1answer
36 views

Change the inner margins according to the page count

One of the Amazon -- KDP requirements for print books is that the inner margins be determined by the page count of the book, so that larger books have more gutter -- more specifically, according to ...
0
votes
1answer
74 views

Drawing Hexagonal lattice with paths marked with dark black and its midedges

I am facing difficulties in drawing the following diagram in latex :- I need to draw it in the same orientation but bold edges and mid points of my choice.
0
votes
0answers
34 views

LuaLaTeX ignoring newgeometry command

In using the newgeometry command in LuaLaTeX, the command does not appear to have effect. \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{luacode, lipsum} \begin{document} \...
0
votes
0answers
47 views

Stacking boxes side-by-side with geometry and tcolorbox packages

I have been editing a CV with tcolorbox and geometry packages, I wanted to stack side-by-side two boxes below a top box but when I run the code the top box sits on top of the first page alone and the ...
0
votes
1answer
31 views

Extending margin such that final entry of printbibliography fits on the page

I have such an annoying issue. My final entry of the bibliography does not fit on the same page. I tried the following in order to increase the margin at bottom of page, but somehow the text is not ...
1
vote
1answer
140 views

Exam layout with geometry and tcolorbox

Here are several questions: 1- How to make the usage of \tcboxfit in the first raster row not distort the layout as shown below? 2- How to precisely calculate the dimensions summation passed to ...
0
votes
1answer
61 views

Using coffin class to set-up page geometry

I have a specific page geometry that I would like to create for my odd pages using the coffin class. I have been playing around with it, but I am not understanding the documentation for connecting ...
1
vote
1answer
128 views

Desired page Geometry

I would like help setting up the geometry of a page that looks like this: Specifications: page geometry is 8 in by 8 in images on odd page need to be no larger than 2 inches wide paragraph text ...
0
votes
1answer
50 views

Top margin is greater than specified in geometry

My assignment requires me to have top and bottom margins of 2cm, and left and right of 3cm. Left and right perfectly work, but when using the geometry package as seen below, my top and bottom margins ...
1
vote
1answer
38 views

Start new page with each section with new page geometry

I would like to start each section on a new page and new geometry. For each section on a new page, \newcommand{\sectionbreak}{\clearpage} is used but I can't change the page geometry. Normally, 2.5 ...
1
vote
0answers
29 views

exam/geometry: First footer is shifted below when setting geometry using \AtBeginDocument

This answer does the job for placing the header right. However, the first footer is unknowingly shifted way much down. So, why does \AtBeginDocument{\settototalheight\headerTotalHeight{\headerContents}...
1
vote
1answer
27 views

Where does this blank page come from?

This LaTeX document should have one (or two, now I'm using \lipsum) pages of A4 portrait, followed by one in A4 landscape. However, there's a blank landscape page before the one with the content, and ...
2
votes
0answers
66 views

What is the difference between \usepackage[margin=1in]{geometry} and \usepackage{geometry}, \geometry{margin= 1in}?

I would like to know the difference between this: \documentclass{article} \usepackage[margin=1in]{geometry} and: \documentclass{article} \usepackage{geometry} \geometry{margin=1in}
4
votes
1answer
105 views

tcolorbox: error with \settototalheight when calculating the header height before passing it to the geometry package

Following up this answer, I would like to know why the following doesn't compile and gives this error ! Undefined control sequence. \tcb@startbox ...x }{\tcb@w@upper }\tcb@lua@color {tcbcolupper}\...
0
votes
0answers
14 views

Chapter title outside text area

I am trying to reproduce trees, maps, and theorems with paracol. At the moment I am trying to figure out how to set the chapter title outside the text area like here. I don't think my MWE with a ...
1
vote
1answer
45 views

Test not wrapping in wrapfig

Working on a book writing project for a friend. I am using the wrapfig environment to wrap my text around the figure as I have done in the past, but there is something in the geometry of the page that ...
1
vote
0answers
32 views

Changing NotesTeX page layout

I came across Aditya's beautiful NotesTeX template, to which I wish to change the page layout a bit. The NotesTeX.sty file includes a geometry package command that sets up the page layout. What I want ...
0
votes
0answers
39 views

Load the geometry package without having it change the document margins

I am using \documentclass{book} along with the libertine and libertinust1math packages. I would like to use the command \phantom, which is in the geometry package (as seen in this answer). However, as ...
0
votes
1answer
28 views

Different typeblocksize in the same document with memoir

I'm writing a document with memoir class in which the table of contents has a different typeblock size than the rest of the document. I know that geometry package can do what I want with \newgeometry{....
0
votes
1answer
31 views

Whitespace through empty figure environment

I am trying to alter my documents bottom margin for a single page. I have looked at all sorts of posts concerned with the geometry package and so on and have not found a solution for my needs. (See ...
0
votes
1answer
35 views

Raise page number on first page of chapter with fancyhdr

I am using the packages geometry and fancyhdr together. I have the standard page layouts plain (footer with centered pager number) on the first page of a chapter and body (no footer and page number in ...
1
vote
1answer
35 views

Scaling up AMSBOOK -class based documents fails

I have found impossible to scale up documents created by AMSBOOK -documentclass. Bottom on this question is a minimalistic TeX -file. You may find the text familiar. If the first two lines are \...
15
votes
2answers
229 views

Is it geometry or pgfpages bug?

With \usepackage[showframe]{geometry} inserted in 2 on 1 pgfpages layout produce an unexpected result. I have updated latex last week, before that this problem did not appear \documentclass{article} \...
0
votes
1answer
52 views

\newgeometry does not apply the right margins

I developed the following code for my document: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[german]{babel} \usepackage[headsepline,footsepline]{scrlayer-scrpage} \...
1
vote
1answer
46 views

Interaction between newgeometry and fancyhdr

To optically center the dedication in my thesis, I have to use newgeometry for that page. On the following page the page number is now missing and fancyhdr gives the following warning: Package ...
1
vote
2answers
39 views

latex: changing bottom margin for a single page

I wanted to change the page margin for the first page in a latex document. More or less it has worked out. However, the bottom margin is creating a problem. If I change the bottom margin of the first ...
1
vote
0answers
36 views

Option `headwidth=textwithmargin` of `scrlayer-scrpage` package for asymmetric page layouts

In the following example I am trying to extend the width of the header and the footer of the KOMA-Script class scrbook to include the width of the margin column: \documentclass{scrbook} \usepackage{...
1
vote
2answers
81 views

Filling a polygon with many vertices using a loop

I have a polygon with many vertices. I first created the coordinates by using \foreach \i in {1,...,\n} { \coordinate (\i) at (\x,\y); \coordinate (p\i) at (\z,\t); } There are a series of ...
3
votes
0answers
44 views

Does the \setlength have any feature not found in geometry package ؟ [closed]

Do we need to use \setlength if we use the geometry package? Does the \setlength have any feature not found in geometry package ؟
3
votes
2answers
84 views

How to add the scale at one side of a triangle?

I want to draw the following picture: But I don't know how to align it with the two dashed lines. \documentclass[margin=10pt]{standalone} \usepackage{tkz-euclide} \usetikzlibrary{calc} \begin{...
0
votes
2answers
56 views

Bottom margin of first page different than that of other pages

I have a problem that has been discussed before, but none of the solutions given in the answers I've found worked for me. The problem is that the bottom margin of the first page is different than the ...
0
votes
1answer
72 views

set columnsep in geometry and multicols separately

Inside a two column document, I am using the multicols environment in order to save space on small questions. However, the width of columnsep that I am using at page level is apparently the same that ...
2
votes
1answer
31 views

Vertically centre header

I have a document with this preamble: \documentclass[12pt, b5paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % ... \usepackage{geometry} \geometry{ vcentering=True, margin=...
2
votes
0answers
27 views

Geometry page numbering problem

I've just started using LaTeX and I'm having a problem writing an article for school. My problem is that in the output pdf, only the first page is numbered, while the other pages have no number ...
1
vote
0answers
31 views

Add geometry options in class result an “Unused global option(s)” warning

This small example cause a warning Unused global option(s):[showframe] although the option is passed to geometry package \documentclass[showframe]{article} \usepackage{geometry} \begin{document} ...
4
votes
1answer
68 views

Why is the geometry package messing my margins up?

I want to write a document making use of as much of the page as I can. The code I am using is this (disclaimer: I took the sample text from here): \documentclass[12pt, oneside, a4paper]{memoir} \...
0
votes
0answers
40 views

ps2pdf does not preserve dimensions

I am using packages geometry and crop in a .tex file. Then, I convert it to .ps (using dvips) and .pdf (using ps2pdf). The problem is that in the .dvi and .ps files all areas (margins, heights and ...
1
vote
0answers
54 views

H2020 template + good LaTex practices

Dear fellow LaTex experts, do you see any redundant or conflicting commands, or bad practices? (E.g. wrt package loading order? Or, it should be possible to remove a4paper from geometry (since it is a ...
0
votes
0answers
13 views

geometry: margins different when printed

I'm sure this is printer/driver related, just wanted to make sure the code below produces on A4 page size margins (top, bottom, left, right) of 15 mm (not including any footers). When I print it, it ...
0
votes
0answers
36 views

geometry+fancyhdr: position of foot/head, keeping fixed margins

I'd like to have margins (top, bottom, left, right) all equal to 15 mm (not including any footers or headers). I'd like the foot/header to be both halfways between main text and end of page, so that ...

1
2 3 4 5
18