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

Oversized table at centre of page [closed]

I have a table that's taller than the write-able height of the page (so, total height minus margins). The default behaviour of latex appears to be to start the page at the top margin, and then let it ...
0
votes
0answers
14 views

Get more space in margin

I'm trying to get my bottom margin to be smaller in a one-page document. I've tried using geometry, but even if I use \usepackage[noheadfoot=true,left=1in,right=1in,top=1in,bottom=0in]{geometry} or \...
0
votes
0answers
37 views

Bottom space in LaTeX template

I have been trying to remove space from bottom of the document in LaTeX. I have used following command for the purpose. But It does not work. \usepackage[top=0.2in, bottom=0.1mm, left=0.3in, right=0....
1
vote
2answers
31 views

Package gmutils gives an error

For a standard package gmutils, this minimal example: \documentclass{article} \usepackage{gmutils} \begin{document} That's all! \end{document} gives an error: ! Undefined control sequence. \...
0
votes
1answer
39 views

Why negative \vspace skips less space than specified in LaTeX

I have code like this: \documentclass{article} \usepackage[a4paper,left=0pt, right=0pt, top=50pt, bottom=0pt]{geometry} \usepackage{show frame} \begin{document} \vspace*{-50pt} Hello! \end{document} ...
1
vote
0answers
22 views

I can't create some custom size pages in XeLaTeX

In the mid document i want to insert a pdf page into a custom page size, compiling with XeLaTeX. I also want to be able to configure the margins of the pages so that the content adapts to the newpage ...
1
vote
1answer
22 views

\newgeometry not applying to the last page of a subfile, but only in main document

I'm working on a two-sided document which collates a number of files using the subfiles package, some of which require wider margins for margin notes. However, the \newgeometry command consistently ...
0
votes
2answers
40 views

First page margin different from others

I am finishing up paper formatting for final submission to IEEE conference for which I need to adjust the margins of other pages slightly different from page 1. The conference recommends the following ...
1
vote
1answer
44 views

How to make exam instructions attached to the end of only the first page header?

I need to fix following code to make the instructions attached to the end of the first page header so that the exam body on the first page is pushed down instead of pushing the header up. First page ...
1
vote
0answers
26 views

hyperref in bxjsarticle alters page dimensions and text area (TeXLive 2021)

I find the presence of hyperref in a bxjsarticle document with flowfram causes effects in TeXLive 2021 that I did not see in TeXLive 2019. I'm hoping to find a workaround, to retain hyperref without ...
1
vote
1answer
32 views

switching from twocolumn to onecolumn in LaTeX without pagebreak using package geometry

I am writing an article in a journal using a class file (WileyNJD-v2.cls) which uses geometry but I want to have a enumerated list over one column which starts at the place of the twocolumn (after ...
1
vote
1answer
38 views

How to create a vertical bar inside the right margin on only part of a page

\documentclass[english]{book} %------------------------------------------------------------------------------------ % % \usepackage[fleqn]{amsmath} % \usepackage{amsthm,amssymb} % \usepackage{tikz} % ...
3
votes
1answer
80 views

Why is geometry default vmarginratio 2:3?

I have just noticed that the geometry package default ratio between top and bottom margins is 2:3 rather than 1:1 (i.e., vmarginratio=2:3). Can anybody explain what’s the reason for this choice of ...
0
votes
0answers
38 views

newgeometry command is not working

Here is the code I have: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[a4paper, vmargin=1in, top=1in, bottom = 1in]{geometry} \usepackage{amsmath,amsfonts,amssymb} \usepackage{...
0
votes
1answer
32 views

Difference between noheadfoot option in the Geometry Package and \pagestyle{empty}

I am quite new to LaTeX and have been playing around with different packages. I would like to do away with headers and footers in my document and I realised that noheadfoot from the Geometry Package ...
0
votes
0answers
18 views

Getting a blank page at the start of the document after using Geometry, how can I remove it?

I need the document to start like this: Cover (which is an image) Blank page Repeat cover Blank page ... But I get a blank page before the first cover. Here is a short working example: Main.tex %...
1
vote
1answer
60 views

geometry - Footnotes immediately after text

The package geometry makes it very easy to define how much space should separe the text from the footnotes: \usepackage{geometry} \geometry{footnotesep=2em} However the setting is effective only when ...
0
votes
1answer
27 views

How to use \footskip space when available?

Consider having multiple page styles (using the fancyhdr package) in your document, some of these styles do not have a footer at all. When having multiple page styles how can one use the footskip ...
1
vote
2answers
51 views

Wrong position of page number post landscape page by KOMA

I construct a enviroment named "landscapepage" by typearea to insert landscape pages in my article. Everything is all right except that page numbers post those inserted landscape pages are ...
0
votes
1answer
49 views

Geometry of landscape page by “typearea”

I insert some landscape pages in my article with the package typearea. Then I find that the text body at landscape pages are two small, too much horizontal margin spaces are wasted. Please see the ...
0
votes
1answer
23 views

Make space between header rule and top of page and footer rule and bottom of page equal

I am writing a book document with a rule used in both the header and footer. I want the distance from the top of the text to the rule in the header to be equal to the distance from the bottom of the ...
2
votes
1answer
27 views

How to Fix a Different First Page Margin Under the Letter Class?

I would like to make a simple letter with the following margin: left=1in, top=1in, right=1in, bottom=1in. Here is the MWE: \documentclass[a4paper, 12pt]{letter} \usepackage[reset, a4paper, left=1in, ...
0
votes
0answers
25 views

Page body exceeds page bottom with geometry package

In some circumstances, a tabular overflows/exceeds the page bottom that has been set with the geometry package. Originally, I've had the problem with a longtable and bunch of different packages, ...
1
vote
1answer
29 views

How to put the current date in the footer of every page

My document class is scrartcl and I defined the pagemargins with geometry as follows \documentclass[11pt]{scrartcl} \usepackage[left=2cm, right=1cm, bottom=2cm, a4paper, twoside]{geometry} So the ...
0
votes
1answer
73 views

Create a template with a fixed-width page, header and footer

I want to compile a tcolorbox environment for each fixed-width page with a header and footer. If I use the geometry package, the height page must be fixed. For standalone class, the height page can be ...
1
vote
3answers
25 views

how to manipulate textwidth of footnote?

I am using custom margins so I can include figures in the right margin and references in the footer. I would like the footer to span the linewidth of the text body and the margin. Here is my minimal ...
5
votes
3answers
75 views

Making an Illustrated Book with Image bleed and Non-Overlapping Text

I am trying to create an illustrated book with Latex. What makes my goal perhaps a bit non-standard, I think, is that I would like the images to have "bleed". Bleed, as you may already have ...
0
votes
0answers
20 views

How can I print margin sizes fixed by geometry package other than native dimensions

The native dimensions e.g., \textwidth, \topmargin can be printed by \printlength{\topmargin} like command using printlen package. Even they are available from layout or layouts package from the ...
0
votes
2answers
64 views

Drawing a configuration of topological lines and points [duplicate]

So I was wondering if there is a tool / similar to draw topological lines instead of straight lines on latex with points at their intersections? I was particularly looking to create this given image ...
0
votes
1answer
30 views

Table on the same page as Chapter Title

I am writing my thesis and being new to latex, I am having problem placing my table in the same page as the chapter title page. One of my appendix only contains tables with no text, but the table ...
0
votes
1answer
43 views

Can I use `regular polygon` wthout using `\node`?

For instance, I can execute this command: \filldraw[fill=blue,draw=black,opacity=0.3] (0,0) circle (2cm); But I want something for regular polygons as well, something like this: \filldraw[fill=blue,...
0
votes
1answer
25 views

How can I fix the spacing/add spacing between fancyhdr and document? (with MWE)

I am trying to fix the spacing between my header (using fancyhdr) and the body text of my paper. I am using MacTeX / XeLaTeX. When a section title begins a page, it looks like this: On normal pages, ...
0
votes
3answers
67 views

Drawing 3 hexagons on top of one another with additional lines

Is there a way to draw this figure so that it's not incredibly messy? I would like the two inner hexagons have their vertices lying exactly on the intersection points of some of the diagonals, just ...
0
votes
0answers
35 views

Using geometry with scrbook offsets page numbering

I am trying to create a template for a bachelor thesis using scrbook right now. The university demands that the documents margins are as follow: left = 50mm right = 20mm top = 20mm bottom = 20mm When ...
0
votes
0answers
35 views

Geometry package: changing \paperwidth and \paperheight inside the document

The geometry package documentation (§5.1) says very clearly that options paperwidth and paperheight cannot be changed with \newgeometry but only with \geometry, which is used in the preamble. How can ...
1
vote
0answers
24 views

Footnote out of the page leads to a huge overfull \vbox

Consider the following example (it may require TeX Live 2021): \documentclass{article} \usepackage[T1]{fontenc} \usepackage{minimalist} \geometry{ papersize={7in,10in}, total={40em,60em}, ...
1
vote
4answers
141 views

Margin differences in class a4paper and geometry a4paper

I am currently writing a paper whose class settings are the following. \documentclass[12pt, a4paper]{report} Soon I will need to print it as a twoside document. When I add the twoside option the ...
0
votes
0answers
19 views

`textwidth` as box width going beyond text area

Context This is my first time creating a latex class file, and also an title page. Problem When creating a box with \makebox[\textwidth]{} I would expect the box size to be inside the page frame. But ...
0
votes
0answers
48 views

Errors with commands (academic document)

I am using Texworks for a paper, and I am having issues with some specific commands, which throw some errors when loading the packages. First Error: ! Package xkeyval Error: `Optionen' undefined in ...
3
votes
3answers
106 views

Scale from A5 to A4: `mag` option of geometry package breaks output dimensions

I composed my thesis in A5 format, which is the final publishing format, however for review I need to print it in A4. This is a common problem, I have seen here a various times. However, I have some ...
1
vote
0answers
38 views

How does the user set geometry in a class that loads fancyhdr?

In my class, I defined the header style with fancyhdr. This causes trouble when the user wishes to modify the geometry settings, since geometry configuration should happen before fancyhdr. Below is an ...
0
votes
0answers
31 views

Landscape page has different dimensions than portrait

My question is duplicate of this. How to produce landscape page the same size like a portrait one? \documentclass[a4paper, 12pt]{article} \usepackage{pdflscape} \begin{document} \begin{landscape} ...
0
votes
2answers
52 views

How to add a full colored page in scrbook when using geometry?

I have designed a cover for a document that has a totally black background. See MWE 1: \documentclass{article} % PACKAGES LOADING \usepackage{xcolor} \pagenumbering{gobble} \pagecolor[rgb]{0,0,0} \...
0
votes
1answer
20 views

Warning while using geometry Tufte book style - (Over-specification in `v'-direction)

I try to adjust the page layout of my tufte-book document using the geometry package. A warning appears while I change the vertical layout, maybe its due to a missing field in my geometry declaration? ...
1
vote
3answers
33 views

Redefined \cleardoublepage breaks line spacing

I redefined the \cleardoublepage to show This page is intentionally left blank at the center of the page as follows: \RequirePackage{xcolor} \RequirePackage{geometry} \newcommand{\blinkpagetext}{This ...
1
vote
1answer
55 views

Probably a copyrighted question…about LaTeX Companion layout

Can I get the layout & font of LaTeX Companion book? I saw chapter 3 on LaTeX website and I like the layout. Also I have noticed that the page size is 7.33 x 9.21 in (in pdf). I don't have the ...
1
vote
1answer
75 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
46 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
38 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
27 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 ...

1
2 3 4 5
19