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
2 votes
1 answer
16 views

\newgeometry for a single page not section

My top margin in the whole document is 1 inch, but I want it to be 2 inches only for the pages that are the beginning of a new section. I start each new section on a new page. If For instance, my ...
  • 41
1 vote
1 answer
33 views

How to horizontally center an A4 paper inside an A3 paper?

I'd like to embed an A4 paper inside an A3 paper in such a way that the A4 paper be horizontally centered inside the A3 paper. (The relative vertical alignment is immaterial.) I tried to use the ...
  • 10.7k
-1 votes
0 answers
31 views

I need help with finding the LaTeX code to this image [closed]

here is an image to a problem and I need to know what the code is
  • 1
1 vote
0 answers
32 views

Changing page geometry from A4Portrait to A3Portrait in the middle of the document

I found this code for defining a A3Landscape environment here on StackExchange https://tex.stackexchange.com/a/431435/278762: \makeatletter % like \newgeometry, but also allows change of ...
0 votes
0 answers
23 views

Reledmac - Different margins for text and apparatus?

I am typesetting a critical edition with Reledmac. Since I'm using the side margins for some comments, I have used the Geometry package to free up a good amount of space on both sides. Of course there'...
0 votes
0 answers
54 views

Apply layout arguments set by \geometry (geometry) to \includepdf[ (pdfpages)

I am a newcomer to LaTeX and have already produced a few documents with satisfactory quality for me. Now I have decided to write my thesis in LaTeX. For this purpose, I use a template from Overleaf (...
  • 1
0 votes
2 answers
59 views

How can I add background color to the front cover of a memoir? [closed]

I am trying to create a customized front cover for my memoir document using TikZ. I would like to add background color to the first page. This is my MWE: \documentclass[12pt,a4paper,oneside]{memoir} \...
  • 956
3 votes
1 answer
90 views

tikzpagenodes gives bad output on the arxiv

I'm using tikzpagenodes to detect text boundaries around my page (I use it in a more complex way than drawing this frame, but let's simply draw a frame for now): My issue is that on the arXiv, the ...
  • 5,507
1 vote
0 answers
28 views

Inserting a command in a def causes a bug [duplicate]

When I execute the following command, it works: \makeatletter\CROP@center\makeatother But, when I include this command in a \def, as shown below, it no longer works: \def\...
  • 6,446
0 votes
1 answer
37 views

Drawing a bleeding margin on the exterior side of each page

I am writing a double-paged document. I would like to add a bleeding colored area on the exterior of each page after some page. I know how to add the bleeding area on the left of the pages or on the ...
  • 6,446
0 votes
0 answers
25 views

Margin in LaTeX-Report alternating / Page number not centered

I'm just preparing a LaTeX document for a research paper and have two problems with the formatting: I'd like to have a margin of 4cm from the left and the top and of 2cm from the right and the bottom....
0 votes
1 answer
51 views

How can I adjust memoir to work within org-mode?

In lieu of typing bare-bones LaTeX code, and for other advantages irrelevant to this question, I am using the memoir class from within Emacs org-mode, with larger fonts for using the output initially ...
  • 385
1 vote
1 answer
41 views

Using hvlines in NiceTabularX causes the last column to add tabcolsep

I think this is a bug in nicematrix. Is it possible to patch the package to get the desired result? (i.e., the letter l in Fadeel should align with text margin) \documentclass[11pt]{book} \...
0 votes
1 answer
33 views

Changing the margins of the achemso template

The margin sizes provided by the achemso template are larger than what I need. I'd like to have leeway to change the margins as I desire, but using the geometry package leads to a clash for the ...
1 vote
1 answer
42 views

How to show custom frame for every page?

I want to get an easy way to see the frames for main text, margins, and header and footer. It is easy to achieve this using showframe option in geometry package. However, this option shows the frame ...
1 vote
1 answer
65 views

Scaling an \includepdf onto a Page with a Different Geometry

UPDATED Consider the code (which I compile with xelatex) \documentclass[12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0in,vmargin=0in,paperwidth=5.625in,paperheight=8.5in]{geometry} \...
  • 7,272
1 vote
1 answer
16 views

beamer: How to rescale/change the size of the default zoom level (100%)

When creating a beamer presentation with default geometry settings, the resulting slides are relatively tiny on high-resolution screens. How do you properly rescale the entire presentation such that a ...
4 votes
2 answers
218 views

How to Fill the Surface I Have on this Sphere?

I have this sphere with manually draw surface (with arc), very beginner method. I want to fill it with color, tell me how like this: my MWE: \documentclass[border=5mm]{standalone} \usepackage{tikz} \...
3 votes
1 answer
110 views

Trying to Entirely Fill a 5.5 x 8.5 Book Cover with Color

I am trying to entirely fill a 5.5'' x 8.5'' book cover with color. But, there is a vertical white strip, which for some reason, I have not been able to fill. Consider the code \documentclass[12pt]{...
  • 7,272
0 votes
1 answer
28 views

vspace*{1in} + geometry with 1in margin = 2-5/32" margin

For the first page in my document (book class) I need to set the title 2" from the top margin. Using Overleaf with XeLaTeX, the following MWE produces output that is 2-5/32" from the top ...
0 votes
0 answers
62 views

Building page size with custom column

How to solve the error Dimension too large. \end{tcolorbox}? \documentclass{article} \usepackage[margin=5mm,papersize={1189mm,1682mm}, landscape]{geometry} \usepackage[balancingshow]{multicol} %\...
  • 3
0 votes
1 answer
67 views

A marginnote in an equation is not typeset in a Hebrew document

A description of the problem by way of a minimal working example I saved the following LaTeX code in the file ~/Test.tex. \documentclass{article} \usepackage[hmarginratio=1:4]{geometry} \usepackage[...
  • 10.7k
3 votes
1 answer
132 views

How to cover the entire page area with grid?

I'm missing something, but the grid in my example doesn't want to cover the entire page area. There are unwanted margins on the top. \documentclass[]{article} \usepackage{tikz} \usepackage[a4paper, ...
  • 5,296
0 votes
0 answers
40 views

Enforce Strict Top and Bottom Margins

I understand why it is difficult to enforce the left and right margins in LaTeX and there are lots of helpful answers here about stopping text from spilling over into the right margin. I have also ...
2 votes
1 answer
76 views

Papersize: page as long as document

Is it possible to have a document in which the paper size expands as long as the document goes and only breaks to the next page on \newpage or similar command? Example of usage A simple example of ...
  • 101
1 vote
1 answer
64 views

how to force break of long lines

I noticed that some long lines does not break as expected. For example test the following: \documentclass[12pt,twoside]{article} \usepackage[a4paper,inner=1.5cm,outer=1.5cm]{geometry} \begin{document}...
0 votes
0 answers
20 views

How to set geometry pack to standard after title page

I'm using \usepackage[a4paper]{geometry} for my whole document but want to adjust the geometry of the title page. I have seen this solution here. My problem is that I don't know what values I have to ...
0 votes
0 answers
31 views

Unable to put name on top of two columns || change color borders of left column

I am interested to make a two columns resume. I took sample from deedy, but was unable to add colors to it; I searched and found link (Two columns with different background color and height of whole ...
3 votes
2 answers
96 views

Pspicture to Cover the Entire Page

I am working on a book whose geometrical page dimensions (W x H) are 4" x 6". For one page, I would like to perfectly display a 4" x 6" pspicture. Consider the following code: \...
  • 7,272
0 votes
1 answer
48 views

Having Trouble Extending Dotfill in the Usual Way with Book Class

Consider the code: \documentclass[10pt]{book} \usepackage[showframe,margin=.3in,paperwidth=4in,paperheight=6in]{geometry} \textheight=5.25in \usepackage[frame,noinfo,center]{crop} \usepackage{tocloft}...
  • 7,272
0 votes
2 answers
50 views

Is there a way to view the page layout in the output of a document?

I'm wrestling with geometry right now, trying to increase the width of the body, without success. It would be very useful to be able to see the page layout (lines/boxes indicating edges of the body, ...
3 votes
1 answer
53 views

Replace old paper layout package with geometry settings

I have an old package that sets up a Swedish paper format (S5) with a page layout with margins and such. From what I understand it only sets the mediabox correctly only with pdflatex. To me this looks ...
  • 938
0 votes
3 answers
57 views

Create arrows (without arrowheads) and write inside text-boxes

I can't think of a decent way to ask this question, so here's an image. Please feel free to modify the title, post or the tags. I would like to use this repetitively where I write something ("...
0 votes
0 answers
20 views

Top margin variation does not affect title position

The idea behind the memoir-based setup below is that the title should be confined in the setting of the \newgeometry, while the image should span the whole width of the title page sitting at its ...
  • 2,947
0 votes
1 answer
31 views

Cannot control geometry settings to give different margins for front cover and inside a book

%------------------------------------------------------------------------------- % \documentclass[a4,english,11pt]{book} %-------------------------------------------------------------------------------...
0 votes
1 answer
28 views

Print stapling guide marks within bindingoffset

I want to print guidelines for stapling (actually, string holes) at the left edge of the right hand page. I've tried to use "textpos" package, but this gives marks at the left margin, but ...
1 vote
1 answer
70 views

On Suitable Margins, Text Dimensions, and Font Size for Foolscap Octavo

I have been asked to produce a geometrically small book. Tentatively, I am considering a Foolscap Octavo book size; that is, dimensions 4.25'' x 6.75''. However, I am not familiar with working on such ...
  • 7,272
0 votes
0 answers
111 views

Margin Imposition : IEEE RA-L submission

In IEEE RA-L submission, their site says "Please observe the margins to avoid having the document returned for reformatting" US Letter first page Top 60 Left 48 Right 48 Bottom 43 pt US ...
  • 107
0 votes
0 answers
32 views

How to span header and footer across the width of document using fancyhdr [duplicate]

I need to create an A4 document which has a header and footer which spans the whole width of the page. I would like to use geometry, fancyhrd and tikzpicture packages. I would like to include the ...
  • 41
0 votes
0 answers
55 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
76 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
20 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
33 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.9k
0 votes
0 answers
26 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
33 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
1 answer
141 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
60 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
22 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
35 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} % ...
  • 270

1
2 3 4 5
21