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

settypeblocksize does not change the textwidth

I'm new on using the memoir documentclass and I've been trying to implement a page layout with a large side margin, so I can have margin notes and margin figures, but I've been trying to create an ...
user avatar
0 votes
0 answers
15 views

Align CV personal details in two columns

I'm trying to reproduce the structure of a CV I found online. I'm using the article class something like: \documentclass[10pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{...
user avatar
  • 439
0 votes
1 answer
44 views

Page numbering disappear when using together (1) fancyhdr and (2) geometry packages

[ORIGINAL QUESTION: How to insert the page numbering with reledmac and reledpar?] I am writing a book in two languages, with facing pages, by using several packages, as the matrita package, the ...
user avatar
  • 149
0 votes
0 answers
16 views

Margins are not correct with \geometry{ ... } and \documentclass{Thesis}

\documentclass[a4paper, 11.5pt, oneside]{Thesis} %ECS Thesis style by Steve Gunn %Set margins \usepackage{geometry} \geometry{ a4paper, top=20mm, left=20mm, bottom=20mm, right=...
user avatar
0 votes
0 answers
34 views

Page margin using geometry package not working

\documentclass[a4paper,12pt,numbered,print,customfont,oneside]{Classes/PhDThesisPSnPDF} \usepackage{tikz} %\voffset=0.2in \usepackage{geometry} \geometry{a4paper,left=40mm,right=20mm,top=30mm,...
user avatar
3 votes
1 answer
49 views

How to make sure texts of the same size on different pages are at the same distance from the page top if it's mixed with images and text of other size

There's just THIS TEXT NEEDS TO BE ALIGNED text on one page of my book that's preceded by some vspace value. There's also some WITH THIS TEXT text on another page that's preceded by some vspace value, ...
user avatar
0 votes
1 answer
40 views

Overlapped text - begingroup+usepackage{wrapfig} and usepackga{geometry}

I noticed that if I use begingroup+usepackage{wrapfig} and usepackga{geometry} I got overlapped text, instead if I use only begingroup+usepackage{wrapfig} the text is ok (see figures below please). ...
user avatar
0 votes
2 answers
40 views

Adjustwidth in two-column layout?

Is it possible to change the outer margin of a two-column layout mid-document? You see that in the following, it's always the left margin that's increased. However, I'd like to inrease the left margin ...
user avatar
  • 1,475
2 votes
1 answer
35 views

Let float run into outer margin

I think there have been some questions regarding this, but I haven't found a solution so far. The figures in my (twocolumn) document are too small. Therefore, I thought about letting them run into the ...
user avatar
  • 1,475
1 vote
1 answer
78 views

Is there an English manual for the geometry package?

I use texdoc to get package manuals. For the geometry package I have tried: `texdoc geometry` which returned `geometry-de.pdf` `texdoc geometry-en` which returned `geometry-de.pdf` `texdoc geometry-...
user avatar
  • 25.2k
1 vote
1 answer
83 views

Different margins for every odd page

I would like to have every second page of my rather large document have different margins, top and bottom. Left and right are fine, I have to split up an A4 script into two landscape A5 pages each, ...
user avatar
  • 31
1 vote
0 answers
41 views

unwanted gap between paper border and hbox

I am creating the title page for my thesis, and I need this red rectangle right next to the top margin, but the following code generates a (very) small gap between the top of the box and the paper ...
user avatar
0 votes
1 answer
37 views

Why do prosodic marks in babel-latin package cause some words to go past textwidth?

I am trying to copy a book in written in Latin using babel-latin package in Classic Latin variant. This package provides shorthands for prosodic marks if one loads the language with the ...
user avatar
  • 747
1 vote
1 answer
32 views

How do I change spacing between marginnote and body in twosided document?

By default in a twosided document the marginnotes appear in the outer margins of every page. The spacing between the body and the margin note varies from even to odd pages. What is the reasons for ...
user avatar
1 vote
1 answer
46 views

How to reset document geometry on floating full page image

For my thesis I want some images to use a full-page without creating a page break at the insert AND changing the page document geometry of only the image page. I have found that \begin{figure}[p] ...
user avatar
0 votes
1 answer
45 views

How to make tcolorbox with minted Python take up the entire document by shrinking whitespace?

I want to make a tcolorbox with minted Python code similar to this answer, including the size/aspect-ratio of the box, but with an additional requirement. I would like the rendered tcolorbox to take ...
user avatar
  • 148
0 votes
2 answers
49 views

Recovering default margin behaviour using `geometry`

I am wondering, for a document from class article with the following setup: \documentclass[a4paper,11pt,oneside]{article} What values should one input into fields top, right, bottom and left (in ...
user avatar
2 votes
3 answers
236 views

Heron's Problem draw

I'm trying to draw the following picture about Heron's Problem I don't know how to draw angles and dotted lines. Here is my incomplete code. \documentclass{standalone} \usepackage[T1]{fontenc} \...
user avatar
  • 252
1 vote
1 answer
34 views

I am not getting a custom page size in memoir class. What is wrong?

\documentclass{memoir} \usepackage[pageheight= 94mm, pagewidth=195mm]{geometry} \stockwidth\paperwidth \stockheight\paperheight \usepackage{tikz} \usepackage[utf8]{inputenc} \newcommand\PlaceText[3]{% ...
user avatar
  • 6,187
0 votes
0 answers
54 views

how does geometry package convert all lengths in landscape mode?

landscape in documentclass doesn't make the paper landscaped. That's why I had to use geometry package. Portrait mode: \documentclass{article} % \usepackage[landscape]{geometry} \usepackage{layout} ...
user avatar
0 votes
0 answers
30 views

\restoregeometry does not immediately restore the geometry on the next page [duplicate]

The minimal working example below demonstrates a wrong placement of the page number on the first page after the appearance of the environment myenv. How can this be prevented? \documentclass{scrartcl} ...
user avatar
1 vote
1 answer
32 views

First page number misplaced when using subfile and loadgeometry

In a document (memoir class), I need to have a title page with large margins compared to the rest of the document. To do that, I use \savegeometry/\loadgeometry. However, if I include this title using ...
user avatar
  • 5,043
0 votes
0 answers
19 views

Remove margin paragraphs from the paper

I have a document that includes no margin paragraphs (\marginpar{..}), and therefore there is no need to give any area on the paper for the marginparsep and marginparwidth lengths. To achieve that, ...
user avatar
  • 298
0 votes
0 answers
31 views

Maple and Latex graphics geometry

hello to all the community, I have a query, I am writing a geometry book at school level, I have been using latex and it is going well for me, the only complication I have is regarding the graphics, I ...
user avatar
  • 1
0 votes
1 answer
48 views

Changing some options in \newgeometry while retaining all others by default

I have a document whose preamble says something in this style: \RequirePackage[a=3,b=7]{geometry} Later in the document I want to temporarily change one parameter, i.e., in pseudocode: \newgeometry{...
user avatar
0 votes
1 answer
53 views

A3 paper landscape in A4 portrait document with same margins

I want to have some A3 landscape pages in my A4 portrait document. These should have the same margins as the A4 pages. I tried the solution of A3 Paper landscape in A4 portrait document with same ...
user avatar
  • 1
2 votes
1 answer
72 views

A Simple Alternative to Geometry for Changing textwidth within a Document for a Single Page Only

The following code produces three pages of output, wherein the textwidth of each page is 6 inches. \documentclass{book} \oddsidemargin -8pt \evensidemargin -15pt \topmargin -25pt \headheight 25pt \...
user avatar
  • 4,799
0 votes
0 answers
47 views

Geometry for standalone class

When using article class, one can specify arbitrary page size using geometry package. But in standalone class, I can only specify the width using the varwidth option. I tried using geometry package ...
user avatar
  • 2,345
1 vote
1 answer
48 views

How to get the location information of the layout generated by showframe

For example \documentclass{article}% use option titlepage to get the title on a page of its own. \usepackage{blindtext} \usepackage{showframe} \renewcommand*\ShowFrameColor{\color{blue}} \title{The ...
user avatar
  • 149
0 votes
1 answer
59 views

Adjust page margins: Text body always below chapter area [duplicate]

How can the page margins be adjusted such that chapter headline (always at the top of a page) is above the main text body. As a consequence, the chapter space is left blank on pages without chapter ...
user avatar
  • 2,037
0 votes
0 answers
22 views

After one landscape page, I do not get a proper portrait (fullpage)

In my document (exam) I want one page in landscape - which works perfectly. Now, the following pages are reduced to a quadratic format (notice that page number is about 8cm too high). What can I do? I ...
user avatar
1 vote
1 answer
34 views

Printing envelopes for mailing with beamer presentation class

I was able to print several U.S. #10 business letter envelopes 4⅛”×9½” (10.4cm×24.1cm) for mailing with more or less the code I have included below, but the beamer documentclass does not seem to ...
user avatar
-1 votes
1 answer
89 views

Highlighting of TikZ figure

I'm looking for a way to highlight a particular area in a TikZ figure I generated. To be more specific, I have a TikZ figure that illustrates there are two octahedral. After I have shown this figure ...
user avatar
  • 1
1 vote
0 answers
37 views

Continued minipage geometry

I need to motivate certain definition, and to do that I used minipage environment for the motivation part. However when the length of the motivation is more the section doesn't continue to next page ...
user avatar
  • 619
0 votes
1 answer
32 views

Messed up header / geometry - header line above text instead of below

I've messed something up in fancy header / geometry settings and I'm getting header line above the header text. Where is the mistake and how can I get the default behaviour of displaying the header ...
user avatar
  • 227
2 votes
2 answers
166 views

How to get a page without white border?

It want a PDF (or PNG) output of a Latex document on one long page, trimmed without the white borders, in minimal runtime. The preview and standalone packages have this built in in some way and I ...
user avatar
1 vote
1 answer
60 views

Error messages when compiling with make4ht and using biblatex and geometry

Using biblatex and geometry leads to error when compiling with make4ht. The example document is: \documentclass{article} \usepackage{biblatex} \usepackage{geometry} \begin{document} Test \end{document}...
user avatar
  • 656
1 vote
1 answer
152 views

Adjust header and footer width

Here's the MWE: \documentclass[a4paper,twoside=true,11pt,openright]{book} % packages: \usepackage{blindtext} \usepackage{geometry} \usepackage{fancyhdr} \pagestyle{fancy} \addtolength{\...
user avatar
0 votes
0 answers
85 views

how to remove the horizontal line at the top of the page after a title page

I am running into a problem. I used https://www.latextemplates.com/template/masters-doctoral-thesis for my thesis. Everything is fine until my supervisor asks me to remove the horizontal line on page ...
user avatar
0 votes
0 answers
28 views

headheight, top, headsep [geometry]

I have a problem with the geometry package. Please refer to the following PDF that my code currently compiles: https://altosharepdf.com/share/b1132475db2a3d0342a04f6b0fa422b9 My problem is about ...
user avatar
1 vote
2 answers
40 views

Can't get listings to behave at line endings despite use of breaklines parameter

I'm having trouble with getting listings to behave at line endings and respect the page margins. Consider the following code: \documentclass{article} \usepackage{listings} \usepackage[showframe,margin=...
user avatar
  • 1,372
0 votes
2 answers
94 views

Box around every page body

I am defining page margins with geometry, adding a footer and header. I want the body of the text (not the footer or header) to be enclosed in a box (every page). This is a similar question to What is ...
user avatar
  • 474
20 votes
8 answers
2k views

Drawing rotated triangles inside triangles

How do I draw rotated triangles inside a triangle as shown above? I already know how to draw one triangle; But I'm not able to draw this specific figure. I found a similar example from https://...
user avatar
2 votes
1 answer
75 views

LaTeX table is outside the specified text area

My thesis requires a specific sized text area of 150mm x 220mm which I have set using \usepackage[a4paper, total={150mm, 220mm}]{geometry} in my preamble and that seems to be working fine for the text,...
user avatar
3 votes
3 answers
458 views

How do I draw an anticlepsydra in LaTeX?

I'd like to approach the sphere's volume by Cavalieri's principle, and so I want to give the students an anticlepsydra's drawing, to guide them to the sphere's formula. Something like this: The ...
user avatar
1 vote
2 answers
66 views

Multi line header does not play well with geometry headsep parameter

I would like to use the geometry package alongside fancyhdr. To control the distance between header and main text in my article documentclass, this question recommends use of the headsep parameter: \...
user avatar
  • 1,372
1 vote
1 answer
98 views

Auto wrap inline math mode

I have this situation: How you can see, the two math string exceed the page geometry. The document class that I use is MastersDoctoralThesis and it is available here. There is a method to auto-wrap ...
user avatar
1 vote
1 answer
41 views

How to make body width smaller than the width of the head and foot?

I'm trying to make the width of the "body" smaller, while keeping the head and the foot untouched. This is what I'm doing: \documentclass{article} \usepackage{geometry} \geometry{paperwidth=...
user avatar
  • 10.1k
0 votes
2 answers
82 views

Expand the page height to the tcolorbox height

Each tcolorbox must be put on each page for presentation. Some page is overflowed when the tcoloxbox's contents are beyonded height. How can the page height expand in this situation. This is my MWE, ...
user avatar
2 votes
1 answer
73 views

How can I get b6paper instead of a default letterpaper using the geometry package?

I'm working on a memoir that I need to have a B6 paper size, but everytime I compile with latexmk it generates a PDF preview with a letter sized paper. Here's what I have: \documentclass[10pt, ...
user avatar

1
2 3 4 5
20