Validate a Justification
Utility functions for determining whether a justification specification is valid and for resolving a single justification value from a combination of character and numeric values.
1 2 3
A justification either as a character value,
A numeric horizontal justification
A numeric vertical justification
These functions may be useful within a
when writing a new grob class.
A numeric representation of the justification (e.g.,
"left" becomes 0,
"right" becomes 1, etc, ...).
An error is given if the justification is not valid.