TeXLayout

References
public sealed class TeXLayout
Collates a bunch of settings used for setting up and breaking TeX bodies.

Properties

LineSpace

#
Additional vertical space between lines.
public double LineSpace { get; }

LineWidth

#
Gets the line-width. At this point, the TeXSettings do not allow variable line-widths.
public double LineWidth { get; }

ParagraphSpace

#
Additional vertical space between paragraphs.
public double ParagraphSpace { get; }

StretchLimit

#
Gets the cutoff for when stretching becomes illegal. A value of 1.0 means the glue stretching is obeyed to the letter.
public double StretchLimit { get; }

StretchPunctuation

#
Lines ending with a punctuation mark will be stretched to fill a slightly wider space.
public bool StretchPunctuation { get; }

Methods

Create

#
Create default TeX settings for a specific line-width.
public static TeXLayout Create(
lineWidth,
lineSpace = 0,
paragraphSpace = 0
)

WithLineWidth

#
public TeXLayout WithLineWidth(
newWidth
)

WithoutPunctuationStretching

#
public TeXLayout WithoutPunctuationStretching()

WithPunctuationStretching

#
public TeXLayout WithPunctuationStretching()

WithStretchLimit

#
public TeXLayout WithStretchLimit(
newLimit
)

WithVerticalSpacing

#
public TeXLayout WithVerticalSpacing(
newLineSpace,
newParagraphSpace
)