TeXGlue

References
public sealed class TeXGlue : ITeXElement
Provides a double-precision implementation of TeX-style line-breaking glue in accordance with Donald Knuth and Michael Plass' seminal 1981 paper 'Breaking Paragraphs into Lines'.

Constructors

TeXGlue

#
public TeXGlue(
width = 0,
shrink = 0,
stretch = 0
)

Fields

Aleph0

#
public const double Aleph0 = 1.7976931348623157E+308

Aleph1

#
public const double Aleph1 = Infinity

Properties

CanShrink

#
public bool CanShrink { get; }

CanStretch

#
public bool CanStretch { get; }

InfiniteStretchClass

#
Gets the infinity aleph class for the stretchability. This is either -1 for finitely stretchable, or 0 for Aleph0 or 1 for Aleph1
public int InfiniteStretchClass { get; }

MaximumWidth

#
public double MaximumWidth { get; }

MinimumWidth

#
public double MinimumWidth { get; }

Shrink

#
public double Shrink { get; }

Stretch

#
public double Stretch { get; }

Type

#
public TeXType Type { get; }
Type

Width

#
public double Width { get; }

Methods

ToString

#
public override string ToString()
Object.ToString