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

learn more… | top users | synonyms

1
vote
1answer
77 views

Crop A4 to specific paper size

I want to send a document to a publisher. The publisher prints books with the dimensions of the pages being 16.5cm x 23.5cm. Thus I am now layouting the final document with the help of the crop ...
70
votes
2answers
29k views

No room for a new \dimen

I have this error message: ! No room for a new \dimen . \ch@ck ...\else \errmessage {No room for a new #3} \fi which I can not find a cure for.
7
votes
4answers
171 views

How to interpret the page layout in LaTeX using layout package?

I have used package layout to generate the page layout figure for both article and amsart class. It's quite curious that although different in values, the patterns for those two layouts are quite the ...
6
votes
3answers
65 views

How can I determine the height and depth of a “multi-line” `\ooalign`?

How can I determine the height and depth of a "multi-line" \ooalign? \ooalign{\relax\cr% \noalign{\vskip-2ex}X\cr% \noalign{\vskip+2ex}\cr% \noalign{\vskip+1ex}X\cr% ...
3
votes
1answer
72 views

Change height of a box, recalculate rubber lengths

I'm using \setbox and \usebox to define a box, measure its default dimensions and render it later. During rendering, sometimes there is more vertical space available than measured initially, and I'd ...
3
votes
1answer
64 views

Fermi--Dirac in pgfplots, dimension too lage

I'm trying to draw a plot of the Fermi-Dirac distribution, for which I'd like to show a few lines of varied temperate (T). My code works for this, except for zero temperature, it results in a ...
48
votes
4answers
6k views

Dimensioning of a technical drawing in TikZ

Is there is an easy way to mark dimensions in a technical drawing with TikZ? Is there a library or something? Edit I am using XeLaTeX. Update I chose Martin's answer because it serves me well ...
3
votes
1answer
26 views

Computation of size in titlespacing

Consider the following example: \documentclass[11pt,a4paper]{book} \usepackage{lipsum} \usepackage{titlesec} \newlength{\textsize} \makeatletter \setlength{\textsize}{\f@size pt} \makeatother ...
3
votes
1answer
41 views

How to configure complex options for graphics groups in LyX

I have a document with several images from a few different sources. I'd like to indicate different formatting options for each source. I understand I can use graphics groups for this, but I don't know ...
0
votes
0answers
57 views

The commands \wd, \tp and \ht in TikZ/PGF

What does these commands, \wd, \tp and \ht stand for? I assumed that they are from TikZ and PGF, because I haven't seen them elsewhere. I think the \wd stands for "width" and the \ht stands for ...
4
votes
1answer
66 views

How to know the *best* figure dimensions

How do I know which dimensions are best for the figures I want to include in my book? I know about \textwidth, \linewidth, etc. but is there an automatic way to adjust the figures in an appropriate ...
8
votes
1answer
77 views

Is it possible to adjust the “quantization” of allowable skip lengths?

In plain TeX and derivative formats, the concept of stretchable/shrinkable length, AKA a glue or a skip or a rubber length exists, in general defined as <dimen> plus <stretch-dimen> minus ...
2
votes
1answer
85 views

How can I print a length in centimeters? [duplicate]

(I am a new to LaTeX.) I'm trying to print a length in centimeters. Here is my code: \documentclass{article} \begin{document} \newdimen\mylength \mylength=1in \the\mylength \end{document} And here ...
1
vote
3answers
89 views

Multirow and rotated column headers

I want to typeset a table with rotatetd column headers (so far it works) stretching over multiple rows. The problem seems to be that multirow does not adjust the tables row heights, thus I have to do ...
8
votes
1answer
341 views

Why am I getting a division by zero error?

I was experimenting with the answer I got to an earlier questions of mine: A better notation to denote arcs for an American high school textbook I wrote a new command as \documentclass{article} ...
33
votes
1answer
1k views

What do different \fontdimen<num> mean

I know that \fontdimen<num> returns some dimensions associated with the current font. What are they?
6
votes
1answer
158 views

How can I readjust TikZ's dimension variables to fit mid-document dimension change?

Question How can I readjust TikZ's dimension variables to fit a mid-document dimension change as in this example and using the TikZ drawing from here. Problem TikZ coordinates are not where they ...
3
votes
0answers
83 views

Tikz: Error “dimension too large” when decorating arc [closed]

I'm drawing circles with arrows on in 3D. To do this I'm using decorations, and drawing the circles in halves so that I could change the colours later and draw an arrow penetrating them while keeping ...
4
votes
2answers
181 views

Convert dimension to integer number of mm

I'm using \zsavepos to record the position of a box on the page and then writing the position to the box. It works fine but the functions I've got give measurements in mm to quite a few decimal places ...
6
votes
2answers
187 views

TeX/LaTeX: Macro for getting a length as number

I would like to write a macro getlengthin to get a length or dimen as floating point number in a specified unit. Here is what I have created so far: \documentclass{article} ...
12
votes
1answer
653 views

How does PDF or PDF Viewer define a rounding rule for stroke thickness?

I defined a sequence of line segments of different thickness each as follows. \documentclass{article} \usepackage{multido} \parindent=0sp \begin{document} ...
6
votes
1answer
339 views

How to declare variable sizes in tikz to let LaTeX decide how to fill the page

LaTeX sometimes does some tricks to fill lines to the end, to fill pages up to the bottom and to prevent pages only containing a single line of text. When I create some tikzpictures there are ...
3
votes
1answer
57 views

Read graphics dimensions

I'm putting sets of graphics (i.e. figures and graphs) aligned in sets of rows using caption and subcaption packages. As figures and graphs doesn't have same with/height ratio the captions in rows are ...
13
votes
1answer
13k views

Image from \includegraphics showing in wrong image size

When I use the following to embed an image: \begin{figure}[htb] \centering \includegraphics{my_image} \caption{blaaa} \label{fig:blaaa} \end{figure} whereas my_image is a JPG file, the ...
6
votes
1answer
776 views

bigfoot - Dimension too large (I can't work with sizes bigger than about 19 feet.) [closed]

My MWE is below. I can produce the following output in nonstopmode... ... but I see these errors in the log: ! Dimension too large. \FN@normaloutput ...\tw@ \fi \fi \ifdim \FN@vsize ...
6
votes
3answers
4k views

Error: “Dimension too large…” when plotting EXPONENTIALS with TikZ

Despite having read answers to 4-5 relate questions, I still can't get why my code does not compile. Here it is: \documentclass[11pt,twoside]{book} \usepackage[paperheight=24cm, paperwidth=35cm, ...
4
votes
1answer
365 views

Resize figures that are too high or too wide in LyX?

I would like to know how to define a preamble in Lyx to resize the width and the height if the figure is too wide or high. I've already tried this: \usepackage{graphicx} % Determine if the image is ...
4
votes
1answer
2k views

Background image from tikzpicture does not fit the whole page

For a poster, I would like to have an image fill the whole page. This image is supposed to be drawn within a tikz environment as my other content. However, graphicx seems to fail at rescaling when the ...
3
votes
1answer
358 views

Maximizing page usage for a table

I'm printing a table enclosing 4 other data tables, one per page, and would like to maximize the space available by reducing the margins as much as possible. I still need the page number, but wonder ...
2
votes
1answer
1k views

how to get the size of a \pgfdeclareimage

Basically I want to use a TikZ node to frame a pgfimage, so later on, I will add more and connect them as I see fit. I have this: \pgfdeclareimage[width=10em]{image1}{images/image1} ...
35
votes
1answer
8k views

What are the possible dimensions / sizes / units LaTeX understands?

I know there are different ways of expressing sizes or dimensions in LaTeX such as points (pt), inches (in) and ex. As some commands, such as \hspace understand all of them, I would like to have a ...
0
votes
0answers
28 views

Lines with `shorten >` don't count towards image size [duplicate]

I use the technique mentioned here to extend a line through two points: using shorten > and shorten < with negative values. However, the part of the lines that is generated by theses shorten ...
2
votes
1answer
430 views

Avoid figures encroaching on page numbers with LyX

I'm using LyX and have figures in floats and wraps but some of them are too high on the page when converted to PDF and overlap with page numbers. Is there a way to avoid this and respect the text ...
3
votes
0answers
211 views

LyX enlarging inserted images

I have a problem with inserting images in my thesis that I write with LyX. Images in exported pdf are always larger than they actually are. Here is what it looks like in the editor, that's the real ...
3
votes
1answer
922 views

Setting image size in html output of tex4ht

I have a complex document which I'm trying to convert to html with tex4ht and TeXLive under Ubuntu, but I'm not able to coherently control the image size of jpg and eps images. In html output, jpg ...
4
votes
1answer
476 views

How to make CircuitTikZ symbols smaller

Is there a way to make symbols of the CircuitTikz package smaller (like ports). Using small/tiny as argument doesn't help.
5
votes
1answer
178 views

Adjusting box height to the document bottom

I made a command that prints a gray rectangle in my document. I can use this command typing: \notes{100}, where 100 is the vertical size of the box. \newcommand{\notes}[1]{ ...
5
votes
1answer
2k views

Big table with rotated column labels using booktabs

I'm trying to get a big table to fit into my document using the booktabs package, but it is too wide. An example of a couple of rows of the table is given below. I'm using the ...
4
votes
1answer
323 views

How to make a symbol adjust its size globally and locally

In the following code I have created a bullseye symbol. What I want to do is to allow its size to change dynamically both globally (document class option say 10pt, 11pt or 12pt) or locally by using ...
3
votes
1answer
130 views

Change part of table column size

I would like to know if there is a way, that I can resize part of a column, while keeping the rest the same size. Such that I would get this: Column ___| ___| ___| _______| _______| _______| I ...
3
votes
3answers
204 views

Size of circle path vs. circle node in \pgfdeclareshape?

I'm trying to "overload" a rectangle node as a custom shape, such that it has a circle on its south west corner. In the MWE below, I use \circsize to set the size of the circle - and for testing ...
4
votes
1answer
3k views

Varying edge thickness

A couple of months back, I had asked a question regarding an elegant way of drawing a somewhat sophisticated graph. Thanks to the community I received tremendous help. To avoid repeating the whole ...
5
votes
2answers
125 views

ConTeXt TABLEs, how to automatically fit table size with text with \setupTABLE

When I type something like \bTABLE \bTR\bTD abc\eTD\bTD abcdefg\eTD\eTR \bTR\bTD 123456789\eTD\bTD 1234\eTD\eTR \eTABLE in ConTeXt, it automatically sets the column widths to fit the text contained ...
6
votes
2answers
857 views

Reduce vertical size of tikz plot

The following code generates a color mapped plot. I would like to reduce the vertical size however, and cannot figure out how. Can anyone give me a hint? \documentclass[a4paper,twocolumn]{article} ...
6
votes
2answers
4k views

How to set equal size of cells in tabular environment when \multicolumn extend the size of above cell?

The code example is shown as follows: \documentclass{article} \usepackage{latexsym} \usepackage{bm} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsmath} \begin{document} \begin{center} ...
7
votes
1answer
854 views

Automatic width setting in LyX

Is there any preference setting so that LyX automatically adjusts images width to \linewidth when they are added, instead of doing so by hand whenever a new image is inserted?
6
votes
1answer
208 views

Use dimensions \totalheight \depth for inline TikZ drawing

I want to use the current text's dimensional properties for constructing an inline TikZ image, such as an icon. The properties I have in mind for use are \height \depth \totalheight as described ...
7
votes
1answer
457 views

Custom TikZ node with svg path not clipped

I would like to make a custom node shape with a small picture (on north east) using the svg directive of TikZ, because the picture comes from a svg path. As you can see with this simple code, the ...
10
votes
2answers
216 views

Auto-Range for size of figures?

Is it possible to give figures a "range" for their size? For example from .3\textwidth to .5\textwidth or 5cm +- 10% or 5 cm +- 0.1\textwidth. You give a range for all images and TeX chooses the ...
43
votes
2answers
41k views

How to change the size of nodes?

How is it possible to change the size of a node, for example: \begin{tikzpicture} \draw node[fill,circle]{} (0,0);% \end{tikzpicture} How to make the circle smaller or larger?