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},...
288
questions
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 ...
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,
...
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{...
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.
...
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 ...
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 ...
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\...
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 ...
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,...
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}
\...
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 ...
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 ...
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 ...
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 ...
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 ...