de.dante.extex.typesetter.type.noad.util
Class MathSpacing

java.lang.Object
  extended byde.dante.extex.typesetter.type.noad.util.MathSpacing

public final class MathSpacing
extends java.lang.Object

Thus utility class contains some constants which describe the spacing between elements in math typesetting.

The Muskip Parameter \thinmuskip

The muskip parameter \thinmuskip determines the amount of spacing to be inserted where a thin skip is required.

The Muskip Parameter \medmuskip

The muskip parameter \medmuskip determines the amount of spacing to be inserted where a medium skip is required.

The Muskip Parameter \thickmuskip

The muskip parameter \thickmuskip determines the amount of spacing to be inserted where a thick skip is required.

Version:
$Revision: 1.5 $
Author:
Gerd Neugebauer
See Also:
"TTP [764]"

Field Summary
static MathSpacing BIN
          The field BIN contains the spacing class for binary operators.
static MathSpacing CLOSE
          The field CLOSE contains the spacing class for closing.
static MathSpacing INNER
          The field INNER contains the spacing class for inner math.
static MathSpacing OP
          The field OP contains the spacing class for operators.
static MathSpacing OPEN
          The field OPEN contains the spacing class for opening.
static MathSpacing ORD
          The field ORD contains the spacing class for ordinary characters.
static MathSpacing PUNCT
          The field PUNCT contains the spacing class for punctation marks.
static MathSpacing REL
          The field REL contains the spacing class for relation symbols.
static MathSpacing UNDEF
          The field UNDEF contains the undefined spacing class.
 
Method Summary
 void addClearance(MathSpacing previous, NodeList list, MathContext mathContext)
          Add some spacing to a list of nodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BIN

public static final MathSpacing BIN
The field BIN contains the spacing class for binary operators.


CLOSE

public static final MathSpacing CLOSE
The field CLOSE contains the spacing class for closing.


INNER

public static final MathSpacing INNER
The field INNER contains the spacing class for inner math.


OP

public static final MathSpacing OP
The field OP contains the spacing class for operators.


OPEN

public static final MathSpacing OPEN
The field OPEN contains the spacing class for opening.


ORD

public static final MathSpacing ORD
The field ORD contains the spacing class for ordinary characters.


PUNCT

public static final MathSpacing PUNCT
The field PUNCT contains the spacing class for punctation marks.


REL

public static final MathSpacing REL
The field REL contains the spacing class for relation symbols.


UNDEF

public static final MathSpacing UNDEF
The field UNDEF contains the undefined spacing class.

Method Detail

addClearance

public void addClearance(MathSpacing previous,
                         NodeList list,
                         MathContext mathContext)
                  throws TypesetterException
Add some spacing to a list of nodes.

Parameters:
previous - the previous spacing class
list - the list to add the spacing to
mathContext - the math context
Throws:
TypesetterException - in case of an error
See Also:
"TTP [766]"