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
27 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
31 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
26 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
24 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
68 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
34 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
74 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
50 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
17 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
26 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
21 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
27 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
55 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
32 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
45 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
12 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
25 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 ...
0
votes
1answer
34 views

How does LaTex calculate \linewidth in a twocolumn document?

I want to calculate the ideal size of figures that I export from R and include in LaTeX documents (so the text size of the figure labels is in a known proportion to the font size of the resulting ...
1
vote
1answer
67 views

Convert B5 to A4

For my thesis I am trying to convert my file from B5 to A4 without incurring incredible errors. Having said that, having as a template the one posted below (and attached), which parts should I change? ...
1
vote
1answer
57 views

Why is the output not in landscape as specified in the call of geometry?

Why is this code not producing a landscape pdf page when compiled with LaTeX->dvips->ps2pdf? Checking the resulting ps file shows that it is not in landscape either. \documentclass{article} \...
0
votes
1answer
39 views

TikZ does not accept intersection names other than `intersection-1` and `intersection-2`

Here is my MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes.geometric} \usetikzlibrary{intersections} \begin{document} \begin{figure} \begin{tikzpicture}[scale=3] \draw[name path=...
0
votes
0answers
26 views

\vbox badness helvetica 12pt and 1.5 spacing

My university asks for 1.5 spacings, and at least 2cm left and right. I'd like to use arial and a header as stated below. Now, I get \vbox badness and I read this means pages are badly defined. But ...
0
votes
1answer
36 views

How to modify the length of “headtoprule” when using \newgeometry in pst-doc class

everybody, I have a little problem modifying the margins using the 'pst-doc' class. The default margins look like this: But, by modifying the margins using this MWE: \documentclass[11pt,english,...
1
vote
0answers
20 views

correctly set page size for KOMA single A3 page in an A4 report

I've a problem with a single A3 page in an A4 report document. The problem is the position of the content that is placed in an A4 area (red line in the image) at the top-left corner of the A3 page. Hi ...
1
vote
1answer
37 views

How to fit pdf page in custom page size in the mid document

In the mid document i want to insert a pdf page into a custom page size. The pdf page size is 432pt x 177pt and want to fit it in the center of a page 300pt x 300pt \documentclass{article} \usepackage{...
0
votes
1answer
30 views

I want to set full page instead of using two columns?

I am writing a solution manual which I have already completed. I want the normal page to write the preface, acknowledgement and dedication just as the page on which contents are written without ...
1
vote
1answer
40 views

Problems with page layout dimensions in the memoir class

Recently, when defining the layout geometry for my doctoral thesis, I faced the following problem: the dimensions informed by me, which I will call virtual dimensions, do not correspond to the ...
0
votes
1answer
35 views

Represent the binding offset next to the page margin as a shaded region

I am using the bindingoffset command of the geometry package to shift the page margin in order to compensate for the actual binding. Is there any way to represent this offset from bindingoffset as a ...
4
votes
3answers
142 views

tcolorbox vs. TikZ vs. geometry: How to put a proper grid below a tcolorbox

On a DINA4 (210 × 297 [mm]) paper I want to create the following: I need ca. 2cm margins to the left and the right; in the example the vertical margins becomes 2.5cm. I need a tcolorbox with a ...
3
votes
1answer
61 views

how to add background color for top and bottom geometry page?

I am trying to create a document and somehow I want it to be in color, but it has been difficult for me to try to color the top and bottom, for all pages in general \documentclass[letterpaper,12pt,...
0
votes
0answers
42 views

\newgeometry for twoside report

I have my preload.tex as \usepackage{amsmath} \usepackage{adjustbox} % uses graphicx \usepackage{import} \usepackage[T1]{fontenc} \usepackage[math]{iwona} %nice font \usepackage[top=1.8cm,bottom=1.8cm,...
0
votes
1answer
69 views

How to use callouts behind the text With Latex like this?

How to use callouts behind the text?
1
vote
1answer
75 views

How do I set a paper size other than A4 in the kaobook package?

It seems like it should be easy enough, seeing how the kao.sty file comes with this... % Set the default page layout \RequirePackage[ a4paper, bottom=27.4mm, inner=24.8mm, textwidth=...
2
votes
1answer
46 views

crop marks not drawn on colored pages with geometry package

I have created a document where some pages have a background color. I would like the pages to have crop marks, using the "showcrop" option of the package geometry (I do not want to use the &...
1
vote
1answer
35 views

How to set page margin of 9“ by 6”

I am writing solution manual of matric mathematics book. To design this book in latex I am using this geometry. \documentclass[10pt,a4paper,twoside]{report} \usepackage[twocolumn]{geometry} \...
0
votes
1answer
41 views

A3 Page within A4 document - broken layout (koma&geometry)

I'm currently writing my master thesis. I have a large class diagramm which I want to add as A3 page within the A4 documents. Unfortanetly the layout of my documents seems to break using the commands: ...
-1
votes
3answers
253 views

How do you make this graph with Tikz

I have this grpah, how do you graph with tikz code?
1
vote
2answers
32 views

Set value of \geometry keys from a macro

I am trying to set parameters of the geometry package via macros. For example \def\xxx{false} \geometry{twoside=\xxx} However the above command, nor \expandafter\geometry{twoside=\xxx} seem to work; ...
0
votes
1answer
109 views

Resizing mid document followup

This is a follow up to this, and is based on this. Code: \documentclass[12pt]{article} \usepackage{float} \usepackage[american,siunitx]{circuitikz} \usepackage[margin=1in]{geometry} \begin{document}...
0
votes
2answers
30 views

How can I calculate the expression like (1cm - fontsize)?

I want the page number to be 1cm from the upper edge of the sheet. How can i do this? I tried to use the expression (1cm - \normalsize), but, as I understand it, it just won’t work. \documentclass[...
2
votes
3answers
95 views

exam/tcolorbx: Calculate the header height then pass it to geometry

For the following, I need to make the two approaches work in order to pass the exact header height to geometry package. I would be happy if other approaches are proposed. Using savebox \...
0
votes
0answers
38 views

Unfilled grey area for fncychap and bjornstrup option

I use fncychap and the option Bjornstrup in the following MWE: \documentclass[pdftex,10pt,b5paper,twoside]{book} \usepackage[lmargin=25mm,rmargin=25mm,tmargin=27mm,bmargin=30mm]{geometry} \usepackage[...
0
votes
1answer
34 views

How can I achieve a similar look to the image inside (three axis and a solid)?

I would want to draw something like this, but I have no idea how, so any help would be greatly appreciated! Thanks!
0
votes
1answer
24 views

Rotating the entire page at which a large table exists

I am trying to typeset a table with very long paragraphs. Due to the nature of the work, the table must not be divided into smaller ones. I want the following to be satisfied The page on which the ...
2
votes
1answer
35 views

TikZ, geometry: Gap over tikzpicture

I choose width=18cm, height=26cm in geometry.sty. If I set the origin at the page center and positionate a node at (-0.5\textwidth, 0.5\textheight) I get a gap over the tikzpicture. How to get rid ...
1
vote
1answer
53 views

How to center page numbers in KOMAScript scrbook document with custom margins?

I want to make heavy use of margins (Tufte-style) but I don't want to use Tufte-LaTeX because I got the impression that in the long run, it is better to use KOMAScript classes. I used the package ...
0
votes
2answers
74 views

Page margins and distance from the border

I have to write an official document following some precise instructions: top margin: 3; bottom margin: 2.5; left margin 2.5; right margin: 2.5; header distance from border: 1.25; footer ...
1
vote
1answer
676 views

How can I draw using LaTeX? [closed]

I'm writing a paper and I'm kind of new to LaTeX. I wanted to know how these kinds of figures are made. Are they made in LaTeX? If yes, then how?
1
vote
1answer
229 views

Galilean spacetime

I'm trying to draw a picture of Galilean spacetime, like this one from Penrose's book "the road to reality". I was able to draw the "planes" one stacked over another, but I didn't manage to draw ...
0
votes
0answers
40 views

Changing margins with geometry package

I am using the geometry package to change my margins, but it does not seem to work. I tried using \usepackage[margin=1in]{geometry}, but it didn't work when I changed to \usepackage[left=1.5in,right=...

1
2 3 4 5
18