Rev 54810 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/grid/man/stringWidth.Rd% Part of the R package, http://www.R-project.org% Copyright 1995-2011 R Core Development Team% Distributed under GPL 2 or later\name{stringWidth}\alias{stringWidth}\alias{stringHeight}\title{Create a Unit Describing the Width and Height of a String or MathExpression}\description{These functions create a unit object describing the width or height ofa string.}\usage{stringWidth(string)stringHeight(string)}\arguments{\item{string}{A character vector or a language object (as used for\sQuote{\link{plotmath}} calls.}}\value{A \code{\link{unit}} object.}\author{Paul Murrell}\seealso{\code{\link{unit}} and\code{\link{grobWidth}}\code{strwidth} in the \pkg{graphics} package for more details of thetypographic concepts behind the computations.}\keyword{dplot}