Skip to main content

Questions tagged [dimensions]

{dimensions} is used for questions addressing issues related with measurements in TeX. This tag can be used with specific tags like {height}, {units},...

1 vote
0 answers
22 views

Rounding dimensions to specific decimal places [duplicate]

In How to typeout dimensions in mm?, a custom command is suggested to typeset dimensions in a given unit. Sometimes, it is desirable to typeset the length to one or two decimal places I want an output ...
Al-Motasem Aldaoudeyeh's user avatar
2 votes
0 answers
38 views

Printing out the page size and margins

I am trying to print out the values of the parameters related to the paper dimensions and margins: \documentclass[12pt, a4paper]{report} \usepackage[ width=150mm, top=25mm, bottom=25mm, ...
raf's user avatar
  • 785
1 vote
1 answer
54 views

Shape around empty box in every page

I want to leave an empty box of fixed dimensions in the upper right corner of every page. Something of the kind that you obtain with the following code: \documentclass[oneside,12pt]{book} \usepackage{...
brad's user avatar
  • 527
1 vote
1 answer
32 views

Units of "minimum size" when drawing a named rectangle in TikZ

When drawing a rectangle using \node and minimum width/height, the size of the resulting rectangle is different from one drawn with \draw … rectangle …. I need the \node so I can refer to it by name. ...
Peter Frings's user avatar
0 votes
0 answers
41 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
0 votes
1 answer
61 views

Can't seem to be able to draw very small TikZ shapes?

I'm trying to draw small labels fitting circles, or at least proportional to them. But I just can't seem to make them smaller than this for some reason: I get that there might be a physical limit to ...
psygo's user avatar
  • 438
5 votes
1 answer
108 views

Font encoding affects \box_wd:N calculation

I have written a simple function to calculate the width of a line of text and display it using tikz: \documentclass{article} %\usepackage{mathpazo} \usepackage{domitian} \usepackage[T1]{fontenc} %\let\...
Ted Black's user avatar
  • 495
0 votes
0 answers
73 views

\includegraphics Dimension Too Large

I was trying to insert a .pdf image in my Latex Document and I was getting the dimension too large error. But I found out that Latex automatically resizes the image to the max it can support. After ...
Rishi Suman's user avatar
3 votes
2 answers
120 views

Problem with alignment with wrapfigure

I have this compilable MWE: \documentclass[a4paper,12pt]{article} \usepackage[italian]{babel} \usepackage[utf8]{inputenc} \usepackage{mathtools,amssymb} \usepackage[top=2.5cm,bottom=2.2cm,left=1.5cm,...
Sebastiano's user avatar
  • 56.7k
0 votes
1 answer
48 views

tikz - custom page dimensions, background image & centered text

I have an image (983x983 pixels) that I want to use as the background of my standalone document. I then want to add text on top of it, centered. When I do \documentclass[border=0pt]{standalone} \...
ituriel's user avatar
  • 79
3 votes
2 answers
449 views

How to scale \includegraphics to exact width and height?

I have an image foo.jpg. I would like to scale it into a box of an exact size, say 100pt wide by 200pt high. I may want to scale the axes independently, or I may want to preserve the aspect ratio and ...
Taylor R Campbell's user avatar
2 votes
3 answers
270 views

How to set the exact width and height of tikzpicture with pgfplots?

The pgfplots axis environment has options width and height to specify the approximate width and height of the picture drawn, but the resulting box is not exactly as wide or high as specified—it may be ...
Taylor R Campbell's user avatar
0 votes
1 answer
43 views

Locally adjust a dimension written into aux

I am writing some code that makes use of a dimension (termed \shape below) that gets adjusted several times over the course of the code. The value \shape has by the time the code is finished is what ...
Noah J's user avatar
  • 515
3 votes
2 answers
260 views

Default units in expl3

So I have produced code, which I think is kind of a hack, but it seems to work so far in my testing. I have setup a new expl3 function that sets a dimen variable. If the input for the dimen expression ...
User23456234's user avatar
  • 1,888
0 votes
0 answers
12 views

Different Behaviors of Dimensions of a Graphics Object and Pic

I am trying to create a plot with tikz (using PlotNeuralNet), and I would like to make an included image of the same dimension for the height of the cube (a representation of convolutional layers) I ...
sr__'s user avatar
  • 1

15 30 50 per page
1
2 3 4 5
20