Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

latexml::number(3pm) [debian man page]

LaTeXML::Number(3pm)					User Contributed Perl Documentation				      LaTeXML::Number(3pm)

NAME
"LaTeXML::Number" - representation of numbers, dimensions, skips and glue. DESCRIPTION
This module defines various dimension and number-like data objects "LaTeXML::Number" represents numbers, "LaTeXML::Float" represents floating-point numbers, "LaTeXML::Dimension" represents dimensions, "LaTeXML::MuDimension" represents math dimensions, "LaTeXML::Glue" represents glue (skips), "LaTeXML::MuGlue" represents math glue, "LaTeXML::Pair" represents pairs of numbers "LaTeXML::Pairlist" represents list of pairs. Common methods The following methods apply to all objects. "@tokens = $object->unlist;" Return a list of the tokens making up this $object. "$string = $object->toString;" Return a string representing $object. "$string = $object->ptValue;" Return a value representing $object without the measurement unit (pt) with limited decimal places. Numerics methods These methods apply to the various numeric objects "$n = $object->valueOf;" Return the value in scaled points (ignoring shrink and stretch, if any). "$n = $object->smaller($other);" Return $object or $other, whichever is smaller "$n = $object->larger($other);" Return $object or $other, whichever is larger "$n = $object->absolute;" Return an object representing the absolute value of the $object. "$n = $object->sign;" Return an integer: -1 for negatives, 0 for 0 and 1 for positives "$n = $object->negate;" Return an object representing the negative of the $object. "$n = $object->add($other);" Return an object representing the sum of $object and $other "$n = $object->subtract($other);" Return an object representing the difference between $object and $other "$n = $object->multiply($n);" Return an object representing the product of $object and $n (a regular number). AUTHOR
Bruce Miller <bruce.miller@nist.gov> COPYRIGHT
Public domain software, produced as part of work done by the United States Government & not subject to copyright in the US. perl v5.10.1 2009-06-11 LaTeXML::Number(3pm)

Check Out this Related Man Page

LaTeXML::Token(3pm)					User Contributed Perl Documentation				       LaTeXML::Token(3pm)

NAME
"LaTeXML::Token" - representation of a token, and "LaTeXML::Tokens", representing lists of tokens. DESCRIPTION
This module defines Tokens ("LaTeXML::Token", "LaTeXML::Tokens") that get created during tokenization and expansion. A "LaTeXML::Token" represents a TeX token which is a pair of a character or string and a category code. A "LaTeXML::Tokens" is a list of tokens (and also implements the API of a LaTeXML::Mouth so that tokens can be read from a list). Common methods The following methods apply to all objects. "@tokens = $object->unlist;" Return a list of the tokens making up this $object. "$string = $object->toString;" Return a string representing $object. Token methods The following methods are specific to "LaTeXML::Token". "$string = $token->getCSName;" Return the string or character part of the $token; for the special category codes, returns the standard string (eg. "T_BEGIN-"getCSName> returns "{"). "$string = $token->getString;" Return the string or character part of the $token. "$code = $token->getCharcode;" Return the character code of the character part of the $token, or 256 if it is a control sequence. "$code = $token->getCatcode;" Return the catcode of the $token. Tokens methods The following methods are specific to "LaTeXML::Tokens". "$tokenscopy = $tokens->clone;" Return a shallow copy of the $tokens. This is useful before reading from a "LaTeXML::Tokens". "$token = $tokens->readToken;" Returns (and remove) the next token from $tokens. This is part of the public API of LaTeXML::Mouth so that a "LaTeXML::Tokens" can serve as a LaTeXML::Mouth. AUTHOR
Bruce Miller <bruce.miller@nist.gov> COPYRIGHT
Public domain software, produced as part of work done by the United States Government & not subject to copyright in the US. perl v5.10.1 2009-06-11 LaTeXML::Token(3pm)
Man Page