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(double width = 0, double shrink = 0, double stretch = 0)
width (double = 0)
shrink (double = 0)
stretch (double = 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

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

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