TeXPenalty

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

Constructors

TeXPenalty

#
public TeXPenalty(long demerits = 0, double width = 0, bool hyphenation = false)
demerits (long = 0)
width (double = 0)
hyphenation (bool = 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