LaTeX forum ⇒ LaTeX Beginner's GuidePoints to cm

Questions and answers about the LaTeX Beginner's Guide
topsquark
Posts: 71
Joined: Wed Oct 05, 2022 10:30 pm

Points to cm

Postby topsquark » Sat Aug 19, 2023 5:56 pm

I suppose many of my questions probably belong in this forum.

Anyway, what is the conversion factor between pt and cm? It's close to 28, but that doesn't seem to be exact.

Thanks!

-Dan

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
rais
Posts: 394
Joined: Sun Nov 16, 2014 8:51 pm

Points to cm

Postby rais » Sat Aug 19, 2023 9:57 pm

1 in = 2.54 cm = 72.27 pt

KR
Rainer

topsquark
Posts: 71
Joined: Wed Oct 05, 2022 10:30 pm

Points to cm

Postby topsquark » Sun Aug 20, 2023 3:23 am

rais wrote:1 in = 2.54 cm = 72.27 pt

KR
Rainer

Thank you!

Do you know happen to know where the unit pt is used? Is it a typesetting unit of some kind?

-Dan

rais
Posts: 394
Joined: Sun Nov 16, 2014 8:51 pm

Points to cm

Postby rais » Sun Aug 20, 2023 1:40 pm

Yes, a point is the smallest typographic unit of measure.
The ratio of 72.27 pt to 1 in is what (La)TeX uses to adhere to the American Point System, AFAIK.
Perhaps I should've asked you where your pt is coming from :roll:
A PostScript point would be 1/72 of an inch, which is 1 bp (big point) in (La)TeX terms.
To complete the confusion, outside (La)TeX a PostScript point also is given as 1 pt.

OTOH, you could have asked (La)TeX what 1 cm is in pt, because when you ask (La)TeX about a dimension, it will be given in pt, no matter which unit was used to set it:
\documentclass{article}
\newlength\foo
\setlength\foo{1cm}
\begin{document}
1 cm = \the\foo
\end{document}

KR
Rainer


Return to “LaTeX Beginner's Guide”

Who is online

Users browsing this forum: No registered users and 2 guests