# Tagged Questions

47 views

### Is 1238pt = 1157dd an exact definition for the Didot point in Tex?

After having read the answers to What are the various units (ex, em, in, pt, bp, dd, pc) expressed in mm? and some related questions, I’ve realized that one of my basic assumptions about Tex was wrong:...
66 views

### The shortcuts for measurement units: cm and dm

I have to write a math book and I'm using often the following measurement units: centimeter (cm), decimeter (dm). Can you provide me the shortcut which will output cm and dm. For meter(m) I've found ...
18 views

### Unit used in beamerposter usepackage and textblock

\documentclass{beamer} \usepackage[orientation=portrait, size=custom, width=60, height=90, scale=1.4]{beamerposter} \usepackage[absolute,overlay]{textpos} \usetheme{Madrid} \begin{document} \begin{...
43 views

### eps figure fitting not exactly inside the \textwidth

There is a *.eps figure of size exactly 6.5inch by 6.5inch (no white borders). This figure needs to be placed exactly inside the document, which has a \textwidth = 6.5". Logically the *.eps should ...
81 views

### How to print various type-related metrics

In the answer by @Johan_E to Which measurement units should one use in LaTeX?, there are useful charts showing the size, in points, of 1em, the width of an M, 1ex, and the height of an x. How can I ...
882 views

### What value TeX uses as its minimal unit

TeX uses scaled point as its minimal unit. At least it's said so in the TeXbook: TeX represents all dimensions internally as an integer multiple of the tiny units called sp. 65536 sp = 2^{16} ...
1k views

### Why does a TeX point differ from a Desktop Publishing point?

From this answer to Why does PDFLaTeX and XeLaTeX generates 11.955 font size for 12pt documentclass option?, I found out that PDF and TeX have different ideas about the size of the point (pt). A TeX ...
487 views

### mathtools with mu = Illegal unit?

I'm trying to change medmuskip while using mathtools: \documentclass{article} \usepackage{mathtools} \setlength{\medmuskip}{0mu} \begin{document} \end{document} But this results in an error: ! ...
55 views

### What are the unit of measurement in Tikz? [duplicate]

I want to know what are the units of measurement (of length) in tikz are available. I know that pt, in, mm like units are available , but what more are allowed in tikz? I work sometimes with qss ...
551 views

### Is there an ex unit equivalent for the capital 'X' in LaTeX

In LaTeX, the ex unit represents the height of a lowercase 'x' in the current font. Is there a length in LaTeX that represents the height of a capital 'X'?
236 views

### Set length to the line height of a particular font

How to define new length using : \newlength{...} \setlength{...}{...} and equal to the line height of a particular font (for example \tiny\ttfamily) Note : I want a solution which does not involve ...
190 views

### Cutting corners - how to delete 1 pt (0.3515 mm) or so

There is no way to reformulate the sentence. When I for example delete the letter "i" within the sentence, I'm good, everything fits perfectly. So I was thinking about cutting the corners of blank ...
344 views

### How to print a length accurately and with user-controlled rounding?

Tried the printlen package, but it seems to not understand what 2.5in means: \documentclass{minimal} \usepackage{printlen} \uselengthunit{in} \begin{document} \newlength{\advertwidth} \setlength{...
2k views

### How do I convert pt/in/cm/mm to em/ex as they are defined at a given point in the document?

I am using various macros that I have fine-tuned with units like pt and cm. I use those macros normally in certain places (say, in main body text or in footnote text). To properly generalize those ...
4k views

### Where do the values of 1em and 1ex come from?

In my answer to “Which measurement units should one use in LaTeX?” I explore the values of 1em and 1ex for different fonts using both TFM fonts and the font mechanisms of XeLaTeX that uses non-TFM ...
1k views

### Which unit of measurement for textwidth?

Which unit of measurement should I use to specify \textwidth? I used to specify \textheight in cm but read in some doc that one should always use multiples of \baselineskip. Indeed, the output ...
5k views

### Nominal values for \parindent and other paragraph metrics

In memoir, when I run \documentclass{memoir} \begin{document} \showthe\parindent \end{document} I get: 17.62482 pt My questions are : Why that value? This number seems to capture something ...
348 views

### How to add a unit to a command argument?

Currently I set up a box of given length #1 and width #2 like this: \newcommand{\mybox}[2]{ This is a box of #1 by #2 centimeters: \framebox{\hbox to #1cm {\vbox to #2cm}} } % Usage: \mybox{5}{...
11k 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 ...
2k views

### Conversion pt to mm or cm

Is there any way how to convert pt to mm or cm in plain TeX?
608 views

### Measuring the distance from text to the top of the page

How can I obtain a measurement from the baseline of any line of text in a document to top of the body of text on a page?
20k views

### Setting a document in MS Word-12pt (12bp)

Warning If you're looking for advice how to make your document look like it's been written in Word, this is most likely not the question you're looking for. This question is mostly of theoretical ...
719 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} \multido{\dx=0sp+1000sp}{100}{\rule{0.01\...
363 views

### What unit should we use when working with (La)TeX and PSTricks to minimize conversion error?

I want to minimize conversion error when working with PSTricks and (La)TeX. The conversion error really affects the accuracy of bounding box, the thickness of LaTeX's \fbox and the thickness of ...
1k views

### Globally redefining 1 pt to 1/72 in (PostScript point) and other similar changes

Introduction TeX point (1 pt in TeX) equals 1/72.27 in (= 2540/7227 mm ≈ 0.35145980351 mm). Quoting part of Traditional American point system section from Wikipedia's Point (typography) entry: In ...
6k views

### Latex commands for a specific page format [closed]

I am writing a report for which my University has given the following guidelines (Clearly, it was intended for use with Microsoft Windows). Project reports should be typed only on one side of the ...