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
37 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
42 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
73 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
84 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
45 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
29 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
40 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
30 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
52 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
31 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
53 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
37 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
184 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
106 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
89 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
100 views

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

How to use callouts behind the text?
1
vote
1answer
147 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
58 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
43 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
61 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
264 views

How do you make this graph with Tikz

I have this grpah, how do you graph with tikz code?
1
vote
2answers
35 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
115 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
32 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
127 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
51 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
36 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
29 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
38 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
62 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
124 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
677 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
242 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
55 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=...
0
votes
0answers
20 views

How do we get unlimited pageheight? [duplicate]

I would like to set a page that has a height of 6 meters. The following code fails. \documentclass{article} \usepackage[paperheight=600cm]{geometry} \begin{document} \end{document} The error message ...
1
vote
1answer
56 views

tufte-book: I can't display a figure in lanscape properly

I need to display a figure in landscape mode in a tufte-book latex document. Yet, I cannot display it properly. It seems the margin is placed below. For e.g., try \documentclass{tufte-book} \...
0
votes
0answers
15 views

How to block placing things below bottom margin

I have a problem as in the picture below. LateX is sometimes placing things below the bottom margin. Is there a way to block that. I understand this is a problem of widow and orphans management. In ...
2
votes
1answer
47 views

How can I leave every page half-blank at the bottom – with footnotes still at the very bottom?

I want every page of my document to be half-empty at the bottom, so I have plenty of space for annotations without sacrificing horizontal space. However, I still want footnotes to appear at the very ...
0
votes
0answers
22 views

How to print the margin ratio being used by geometry?

I am trying to access a parameter used by package geometry, shown below it is one inch for a4paper, but it could be different for example, in c4paper. I could not find a native command that holds ...
0
votes
1answer
161 views

How to use just one column page in documents?

I am writing in latex using this geometry \documentclass[landscape,twocolumn,letterpaper]{report} \usepackage[landscape,twocolumn]{geometry} Now in the middle of documents I need to used normal ...
0
votes
0answers
23 views

Text layout with precise dimensions

Geometry does not seem to produce what I need and goes for the default values. The text is 18 by 14 cm in this case, but not anywhere near to 18 by 11 cm. \documentclass[12pt,oneside]{memoir} \...
0
votes
0answers
15 views

Can't reduce top after reach a certain level

I'd like to change the geometry to fit a longtable into one page. It seems that the top stops to shrink after reaching a certain level. No matter I put top to be 3mm or 6mm, the output is the same and ...
0
votes
0answers
46 views

Geometry package not working on my other pages

I am having problems with the geometry package. The pre-set package is only working on my first page, and not on the second. The code in the beginning is as follows: \documentclass[10pt, a4paper]{...
0
votes
1answer
50 views

How Do I Get TikZ Graphics While Keeping Alternating Page Margins in Book documentclass?

I'm trying to typeset a book in which the only content on every page is a TikZ diagram. I want the diagram to fill all of the available page space, so I'm using custom margins via the geometry package....
0
votes
1answer
99 views

Problem with header and footer for different margins

I wanted to have all document with geometry parameters as follow: \usepackage[top=1.5cm, bottom=2cm, left=2.5cm, right=1.25cm, includehead,includefoot, footskip=5mm,headsep=5mm]{geometry} But the ...
0
votes
2answers
145 views

How to access geometry length?

Is there a keyword to access each of the lengths of the geometry package? I know \textwidth and \pagewidth but is there a way to access the left (interior) margin? Of course, this size depends if we ...
2
votes
2answers
80 views

How to choose the top and bottom margin with amsart for a specific MWE

In my long code, I have used for amsart the package geometry with lot of difficulty. After many attemps, with the parameters left=5cm,right=1cm,headsep=10pt, a4paper I have corrected the right left ...
0
votes
1answer
43 views

Geometry : unable to change page size

I am trying to work on a paper with specific size : 240mm x 160 mm. To generate my paper I am using pdflatex from texlive. I used to do this : \usepackage{ifpdf} \ifpdf \pdfpageheight=240mm \...
0
votes
1answer
69 views

How to modify the total width in a tufte-book using includemp?

I'am working on a tufte-book document class and I want to change the size of the page. As the page are smaller, I want to fix the total width of the text (including the marginal notes). The ...
2
votes
0answers
47 views

inner/outer equivalent for top/bottom in landscape, two-sided document

I want to create a document in landscape and bind it on the long side, therefore I want to use different margins for top and bottom margins on odd/even pages, but I only found the inner and outer ...

1
2
3 4 5
18