These functions create a unit object describing the width or height of a string.
stringWidth(string) stringHeight(string)
string
A character vector.
A unit object.
Paul Murrell
unit and grobWidth
unit
grobWidth