Skip to main content

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
22 views

Why scrlttr2 does not exhaust bottom of page?

I have the following file test.tex: \documentclass[a4paper,10pt,version=last]{scrlttr2}%,fontsize=10pt \usepackage{fontspec}% for lualatex \usepackage{geometry} \usepackage[latin]{babel} % for ...
user2609605's user avatar
1 vote
1 answer
38 views

error setting margins with geometry

I have what should be a simple question -- I am trying to set margins in my document to 1in all around. My full preamble is below. I'm rendering to pdf using the Texifier program, which I like because ...
user318234's user avatar
0 votes
0 answers
25 views

enlarge multiple pages / vertical equivalent of addmargin

Is there a command to enlarge multiple pages, similar to \enlargethispage{}? I use KOMA classes: a vertical equivalent to \begin{addmargin} could be useful if it exists. Ex. \enlargepage{2cm} pages ...
likethevegetable's user avatar
0 votes
1 answer
31 views

How to place header in the corners of the page and align text with the left of the page

I'm trying to replicate the pagestyle of Griffiths's book: What I curently have is this (the text is in spanish, ignore it) I need help to place the headers at the corners of every page and to place ...
Peluche's user avatar
  • 613
0 votes
1 answer
71 views

geometry errors

I can't seem to get rid of these errors, sorry for the long preamble but I can't figure out what is causing it, have tried deleting some and it goes awaybut I need them all for my overall document. ...
Paul A's user avatar
  • 1,117
1 vote
1 answer
37 views

Crop package for books, with content aligned to inner margin

I am trying to use the crop package on a book document, but I would like to have a bleed area and crop marks only for the top, bottom, and outer part, not the inner one. \documentclass{book}% \...
Federico Pirani's user avatar
0 votes
0 answers
23 views

How do i add chapter numbers in table of contents like chapter 1 introduction

How do I add chapter numbers to the table of contents, like chapter 1 introduction? I'm using the geometry package. It shows "1 introduction" i want to show it like "Chapter 1 ...
Sajed ahmad's user avatar
0 votes
1 answer
32 views

Set a fixed width for footer/header with fancyhdr

I'm using the geometry package for settings like textwidth and margins. fancyhdr uses the initial text geometry setting. Through my document I also change the geometry of the text layout (i.e. not the ...
telephone's user avatar
  • 127
0 votes
1 answer
29 views

Adjust right side text margin and header section alignment [duplicate]

I'm using Rmarkdown to produce a landscape pdf document with xelatex. For my YAML header I'm using output: pdf_document: latex_engine: xelatex keep_tex: true includes: in_header: '...
PhDavey's user avatar
  • 103
0 votes
1 answer
30 views

Problem in changing paper size in tufte-book

I am using a tufte-book class. I printed some pages from my pdf document, and I noticed a wider space above and below the text, than the one I see when I display the pdf on a reader. I think this ...
captfr's user avatar
  • 3
0 votes
0 answers
48 views

Stacked 3D Pyramid - Modify

Sorry to come back to an old post. I was reviewing this discussion: Stacked 3D Pyramid And trying to work on Guilherme's answer, where he adds shading. Following on this, I was trying to do something ...
Fernando's user avatar
0 votes
0 answers
34 views

Geometry package page dimensions do not scale properly

I am trying to create a latex document on overleaf web editor, there are fixed requirements for the dimensions of the document and when I use the geometry package and set those dimensions and then ...
jones871's user avatar
1 vote
0 answers
32 views

Package geometry changes the layout also without options

This Load the geometry package without having it change the document margins has no answers. I must ask the same. I was trying to change the margins just a bit, but when I load \usepackage{geometry} ...
user9137's user avatar
  • 207
0 votes
0 answers
23 views

Shifting the "Contents" heading to ensure that the distance between the top of the paper and the "Contents" heading is 2.5cm

In this minimum working example, I am trying to shift the "Contents" heading to ensure that the distance between the top of the paper and the "Contents" heading is 2.5cm. I want to ...
Abdulhafeez Ayinde Abdulsalam's user avatar
0 votes
0 answers
42 views

Changing margins of a page without closing it in an enviroment

my thesis needs to change margins if i have to put an image on the side of the page; however, i can't use geometry package (since it has a \clearpage both at \newgeometry and \restoregeometry); ...
Khalni's user avatar
  • 1
3 votes
2 answers
158 views

How to position tables in overlap?

I look forward to creating the following illustration: My code: %%% code replaced in the edit. EDIT: Based on the answer from @JohnKormylo, I modified my code as below: \documentclass{article} \...
arilwan's user avatar
  • 389
0 votes
0 answers
71 views

Convert JPG images to PDF [duplicate]

I have multiple jpg files and I want to create a PDF with one image per page without any margin. Until now I used something like this and was enough because all images were the same size. \...
Cent's user avatar
  • 1
1 vote
0 answers
45 views

What causes much emptiness at the right side of codeblocks?

I am trying to fill the codeblocks to almost all page as symmetrical as possible but something off with regular text and codeblocks placement to the page: Snippets from my code: \documentclass[12pt]{...
dev0023's user avatar
  • 11
1 vote
1 answer
39 views

Change beamer size after loading a beamertemplate

I am writing the code for a beamer template. I have two different templates for the frametitle, one of them makes the frame a little asymmetric. Hence, I set the text margin left and the text margin ...
totallyimmersed9's user avatar
0 votes
1 answer
57 views

How do i make it so that my figure automatically conforms to geometry margins via some command or other method?

(Read before replying:) I will not replace the second picture with another example image, the point of this post is to show the problem that i faced when trying to use a real image. i have the ...
Ferrius Undermine's user avatar
1 vote
1 answer
274 views

This required file could not be found: geometry.sty

I am trying to set up LaTeX on my PC using TeXworks. I'm trying to run the ejc-sample.tex template from the Electronic Journal of Combinatorics: https://www.combinatorics.org/ojs/index.php/eljc/about/...
George Brown's user avatar
2 votes
2 answers
228 views

Put a picture on a full page

I want to include a picture, so that it covers 100% of the page. From edge to edge, no white spaces, just the picture. I use A4 paper (European style) and the picture has also A4 format, so that ...
montarenbici's user avatar
1 vote
1 answer
220 views

“ Infinite shrinkage found in 'page'.” in AGU template in LaTeX?

The AGU provide us the template for submitting papers, in which, there are a si_template_2019.tex for supporting information within the file. But, when run it, we can get an error ! LaTeX mark Error: ...
Y. zeng's user avatar
  • 1,883
1 vote
0 answers
132 views

What is the best paper size for thesis, which should be printed out as a book?

recently I have been preparing to write my thesis in latex. Which is the best paper size according to your point of view for a thesis, that should be later printed as a book? If possible please ...
Ronghua Xu's user avatar
1 vote
0 answers
83 views

Shaping the text area rather than the paragraph

I would like to be able to define a text area shape for a given page. In effect, the text in the text area (or lists, equations, etc) would be shifted around as if the margins of the page were changed ...
humble_hacker's user avatar
2 votes
1 answer
79 views

Package geometry error using Beamer and TeXworks

I am trying to create a beamer presentation using TeXworks. I have done this several times before in Overleaf, but for several reasons I am trying to learn to use a local LaTeX distribution. I'm ...
RobinsonWM's user avatar
0 votes
1 answer
26 views

Page layout is traversing using geometry package

I wanted to add 1.25 inch gap on left margin. \documentclass[12pt]{book} \usepackage[utf8]{inputenc} \usepackage{blindtext} \usepackage[a4paper]{geometry} \geometry{ a4paper, left=1.25 in, top=1 ...
Duck_duck_go's user avatar
0 votes
2 answers
51 views

Combining pdfpages (signature mode) with geometry (showcrop)

I am laying out a book using LuaLaTeX and memoir, to be printed on a page of width 145mm and height 235mm. This all works very well. (I have a sample document, using some public-domain text, but it's ...
inklesspen's user avatar
0 votes
1 answer
78 views

Convex hexagon with circle inscribed in

I am trying to draw a convex hexagon with a circle inscribed in it using tikz but I am having trouble. (Like the one shown above) The hexagon doesn't have to be a regular hexagon though.
H.C's user avatar
  • 1
1 vote
1 answer
78 views

Enlarging the whole PDF book by 20%

I'm using the krantz book template (https://www.overleaf.com/latex/templates/krantz-book-template/vfrsjggghjcd) in writing a pdf, the code is below: \documentclass[krantz1,ChapterTOCs]{krantz} \...
Ho-Oh's user avatar
  • 111
0 votes
0 answers
65 views

How to avoid cut corners of pictures in a collage?

I am working on a picture gallery of three colums and randomly rotated pictures: \usepackage[left=2.5cm,right=2.5cm,top=2cm,bottom=2.5cm]{geometry} \usepackage[ngerman]{babel} \usepackage[utf8]{...
mario1000's user avatar
  • 174
0 votes
0 answers
29 views

Additional question to "Intended random rotation of figures "

Several days ago I asked a question about random rotation of figures and the user "Skillmon" provided an excellent answer: Intended random rotation of figures Now I would like to go one step ...
mario1000's user avatar
  • 174
5 votes
1 answer
277 views

Intended random rotation of figures

I wanted to do add some graphics to a document in a way that are rotated randomly. For this this purpose I tried the following code \documentclass[ngerman,german,14pt,twoside,openany]{scrbook} \...
mario1000's user avatar
  • 174
1 vote
0 answers
111 views

Unknown option leads to error with babel and geometry

Consider the following example: \documentclass[logo height = 2\baselineskip]{article} \usepackage[french]{babel} \usepackage{geometry} \begin{document} Text in case of empty. \end{document} I am ...
Jinwen's user avatar
  • 8,538
1 vote
1 answer
74 views

Setting margins using geometry package

How can I change the four margins differently using the geometry package ? Currently I have got {\geometry{ paperwidth=21cm, paperheight=21cm textwidth=20cm, textheight=20cm}}
Veak's user avatar
  • 1
0 votes
1 answer
53 views

Translate geometry to memoir

How would I go about in translating this geometry to memoir? \usepackage[ paperheight=242mm, paperwidth=165mm, top=26mm, inner=22.5mm, outer=22.5mm, headheight=10mm, headsep=8mm, ...
Fredrik P's user avatar
  • 1,418
1 vote
0 answers
91 views

Setting paper sizes with new commands

I made a style file chil.sty residing in some library path with the following page sizes. \RequirePackage{geometry} \newcommand{\aluminpg} {\geometry{paperwidth=13cm,paperheight=21cm}} \newcommand{...
Veak's user avatar
  • 1
2 votes
1 answer
80 views

Template for a photo book, geometry non consistent

I'm creating a template for a photo book using minipage to insert a picture in each page. The problem I have is that I cannot get consistent margin using the geometry package. My gut is that the ...
boredcollie's user avatar
2 votes
2 answers
87 views

Table structure garbled during migration

I am writing my thesis now. I tried to accommodate a one-page table from my publication to my thesis which belongs to different classes and column structures. The publication was using \documentclass[...
Bukaida's user avatar
  • 617
0 votes
0 answers
44 views

Alignment of figures

I am struggeling with the following problem: I want to add some pictures to a report in a 2 column geometry. I am using the following code: \documentclass[ngerman,german,14pt,twoside,openany]{scrbook} ...
mario1000's user avatar
  • 174
6 votes
2 answers
224 views

Using expl3 to load geometry parameters from a file

expl3 has defeated me again so I'm relying on the kindness of strangers again. I think the underlying problem is more about splitting input rather than the file reading. Context: I want to load the ...
Doc Octal's user avatar
  • 369
0 votes
0 answers
28 views

A5 paper with customised margins [duplicate]

I would like to create a leaflet in DIN A5 with customised page margins using article. However using a5paper as an argument of the documentclass does not have any effect on the output (still being DIN ...
R. Patrick's user avatar
5 votes
3 answers
631 views

Change text width for parts of the page

Is it possible to change text width in the middle of a page? If I use \newgeometry and \restoregeometry this forces a page break. The package changepage and the command \adjustwidth work for the MWE ...
Haim's user avatar
  • 487
0 votes
0 answers
62 views

Why does a `tcolorbox` code listing box using `listing above text` not keep the output with the code?

I'm trying to use a tcolorbox to list code above output in a document with 2 geometries. My attempt is failing utterly and I can't figure out why. Here's the problem: The box is being split into two, ...
cfr's user avatar
  • 199k
0 votes
1 answer
52 views

Tikz:How to achieve the effect in the picture aesthetically?

what i want to achieve: my code: \documentclass{article} \usepackage{tikz} \begin{document} \centering \begin{tikzpicture}[thick] \draw (-1,0) rectangle (16,10); \draw (10,...
Barry Alen's user avatar
1 vote
1 answer
57 views

Box with a line in the centre

How can I do this for box multiplication in LaTeX?
riya 's user avatar
  • 11
-1 votes
1 answer
68 views

How to draw a (standing up) test tube filled with water to height h [duplicate]

can someone help me with the latex code for a test tube that consists of a cylinder and a hemisphere and is filled with a liquid to height h? I am trying to write a solution for a question that asks ...
riya 's user avatar
  • 11
-1 votes
1 answer
37 views

Wrong padding on alternating pages

In the header of my LaTeX thesis I used the following command: \usepackage[left=3cm,right=2cm,top=2.5cm,bottom=2.5cm]{geometry} But it seems to me that LaTeX is completely ignoring it. Why doesn'...
Tymo Tymo's user avatar
0 votes
1 answer
36 views

Despite layout change (without geometry package) `multicols` still use former textwidth

For testing purposes, I'm trying to reproduce my geometry/layout without using geometry package (It is only loaded to use the showframe option). So far, it works fine. But in my main document I use a ...
lukeflo's user avatar
  • 1,575
0 votes
2 answers
43 views

Custom width for chapter

In my current LaTeX project, I want to have a wide margin next to my text to add notes there. But the problem is that the chapter heading looks a bit "too short". Especially with long ...
Jim Ye's user avatar
  • 85

1
2 3 4 5
23