TeXPenalty

References
public sealed class TeXPenalty : ITeXElement
A penalty element in the TeX glue-box model.

Constructors

TeXPenalty

#
public TeXPenalty(
demerits = 0,
width = 0,
hyphenation = false
)

Properties

CantBreak

#
public bool CantBreak { get; }

Demerits

#
public long Demerits { get; }

Hyphenation

#
public bool Hyphenation { get; }

MustBreak

#
public bool MustBreak { get; }

Type

#
public TeXType Type { get; }
Type

Width

#
public double Width { get; }

Methods

ToString

#
public override string ToString()
Object.ToString